Jump to content

Photo

How to update Python without 'python-updater'?

- - - - -

7 replies to this topic

#1
cafaia

cafaia

    Member

  • Members
  • PipPip
  • 23 posts

I have 'PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4"' in my 'emerge --info', but I have this in my 'eselect python list':

 

Available Python interpreters:
  [1]   python2.7 *
  [2]   python3.4
 
After of an 'eselect python set 2' what should I do to update python 2.7 to python 3.4 without 'python-updater'?


#2
cardinal

cardinal

    Advanced Member

  • Members
  • PipPipPip
  • 230 posts

http://www.funtoo.or...ter_Deprecation

 

My ~amd system:

 PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4"

Available Python interpreters:
  [1]   python2.7
  [2]   python3.4 *
 


  • Sandro likes this

#3
Tassie_Tux

Tassie_Tux

    Advanced Member

  • Members
  • PipPipPip
  • 49 posts
  • LocationHobart, Tasmania (Australia)

Try

 

eselect python list --python3

eselect python set --python3 X

 

where X is the number from eselect python list.



#4
cafaia

cafaia

    Member

  • Members
  • PipPip
  • 23 posts

Thank you all, I know that, what 'eselect python set 2' change to 'python3.4', but how I emerge all packages which depend on 'python'? Before I had the command 'python-updater' and now?



#5
Tassie_Tux

Tassie_Tux

    Advanced Member

  • Members
  • PipPipPip
  • 49 posts
  • LocationHobart, Tasmania (Australia)

Now instead of python-updater simply update your world set according to the last step in the instructions that cardinal posted above.  ;)



#6
cafaia

cafaia

    Member

  • Members
  • PipPip
  • 23 posts

I do 'eselect python set 2', so I have:

 

Available Python interpreters:
  [1]   python2.7
  [2]   python3.4 *
 
After I did 'emerge --update --deep --newuse --changed-use --with-bdeps=y @world' and nothing went reinstalled, is this correct?


#7
Tassie_Tux

Tassie_Tux

    Advanced Member

  • Members
  • PipPipPip
  • 49 posts
  • LocationHobart, Tasmania (Australia)

Did you update portage as well? The guide http://www.funtoo.or...ter_Deprecation recommended this.

 

# emerge --ask --nodeps --oneshot sys-apps/portage

 

If emerge is not indicating updates or rebuilds then I would take that as 'all complete'.



#8
cafaia

cafaia

    Member

  • Members
  • PipPip
  • 23 posts

Then all complete! Nothing for update or rebuild!

Thank you very much!


  • Tassie_Tux likes this



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users