LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Calculate
User Name
Password
Calculate This forum is for the discussion of Calculate Linux.

Notices

Reply
 
Search this Thread
Old 03-28-2011, 03:40 AM   #1
Lautre
Calculate Linux
 
Registered: Jun 2009
Location: Saint-Petersburg, Russia
Distribution: Calculate Linux
Posts: 92

Rep: Reputation: 25
Upgrading Python 2.7


Hello!

Calculate Linux is available for updating the language Python 2.7.
To update:

1. Please update your Portage overlay and upgrade packages:

Code:
# eix-sync
# emerge -uDNa world
2. Check the profile Python and the need to switch.

Code:
# eselect python list
Available Python interpreters:
  [1]   python2.6 *
  [2]   python2.7
  [3]   python3.1
Switch profile to 2.7, if required.
Code:
# eselect python set 2
# eselect python list
Available Python interpreters:
  [1]   python2.6
  [2]   python2.7 *
  [3]   python3.1
3. Reinstall packages, depending on the version of Python.

Code:
# python-updater
4. Remove Python 2.6.

Code:
# emerge -ac
If you see an error like this:
Code:
* In order to avoid breakage of link level dependencies, one or more
 * packages will not be removed. This can be solved by rebuilding the
 * packages that pulled them in.
 * 
 *   dev-lang/python-2.6.6-r2 pulled in by:
 *     app-emulation/virtualbox-bin-4.0.4 needs libpython2.6.so.1.0
You can do one of two actions:
Code:
# emerge -C =dev-lang/python-2.6.6-r2; revdep-rebuild
# emerge -C virtualbox-bin; emerge -ac; emerge virtualbox-bin
 
  


Reply

Tags
calculate, python, update


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading Python anjanesh Linux - General 1 10-12-2007 09:30 PM
upgrading python version from 2.3 to 2.4 in fc3 sailu_mvn Linux - Software 1 07-21-2006 01:09 AM
Upgrading python on FC2? Phaethar Fedora 0 08-18-2004 08:30 AM
Python Upgrading mobassir Linux - Software 2 08-06-2004 02:14 AM
Upgrading Python to newer version dopper Linux - Software 3 02-19-2004 01:10 PM


All times are GMT -5. The time now is 09:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration