Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Calculate
User Name
Calculate This forum is for the discussion of Calculate Linux.


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

Rep: Reputation: 25
Upgrading Python 2.7


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

1. Please update your Portage overlay and upgrade packages:

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

# eselect python list
Available Python interpreters:
  [1]   python2.6 *
  [2]   python2.7
  [3]   python3.1
Switch profile to 2.7, if required.
# 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.

# python-updater
4. Remove Python 2.6.

# emerge -ac
If you see an error like this:
* 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
You can do one of two actions:
# emerge -C =dev-lang/python-2.6.6-r2; revdep-rebuild
# emerge -C virtualbox-bin; emerge -ac; emerge virtualbox-bin


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 08:30 PM
upgrading python version from 2.3 to 2.4 in fc3 sailu_mvn Linux - Software 1 07-21-2006 12:09 AM
Upgrading python on FC2? Phaethar Fedora 0 08-18-2004 07:30 AM
Python Upgrading mobassir Linux - Software 2 08-06-2004 01:14 AM
Upgrading Python to newer version dopper Linux - Software 3 02-19-2004 12:10 PM > Forums > Linux Forums > Linux - Distributions > Calculate

All times are GMT -5. The time now is 02:57 PM.

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