LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 02:40 AM   #1
Lautre
Calculate Linux
 
Registered: Jun 2009
Location: Saint-Petersburg, Russia
Distribution: Calculate Linux
Posts: 102

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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Calculate

All times are GMT -5. The time now is 01:45 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration