Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Updating an old profile: Phyton, Portage and Eselect BLOCKED

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
BoBoeBoe
n00b
n00b
Posts: 69
Joined: Tue Feb 17, 2004 10:58 pm

Updating an old profile: Phyton, Portage and Eselect BLOCKED

  • Quote

Post by BoBoeBoe » Tue Dec 06, 2011 11:21 pm

I am trying to update an older Gentoo installation (previous 2008.0 profile), but I jump in the following blocked packages.

Code: Select all

emerge -p portage

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-arch/xz-utils-5.0.3  USE="nls threads -static-libs" 
[ebuild  N    ] dev-libs/libffi-3.0.10  USE="-debug -static-libs -test" 
[ebuild     U ] sys-devel/autoconf-wrapper-10-r1 [4-r3]
[ebuild     U ] app-misc/pax-utils-0.2.3 [0.1.17]
[ebuild  N    ] virtual/libffi-0 
[ebuild     U ] sys-devel/autoconf-2.68 [2.61-r1]
[ebuild     U ] sys-apps/sandbox-2.5 [1.2.18.1-r2] USE="(-multilib)" 
[ebuild     U ] app-admin/eselect-1.2.15 [1.0.11-r1]
[ebuild  N    ] app-admin/eselect-python-20100321 
[ebuild  NS   ] dev-lang/python-2.7.2-r3 [2.4.4-r13] USE="gdbm ipv6 ncurses readline ssl threads (wide-unicode) xml -berkdb -build -doc -examples -sqlite -tk -wininst" 
[ebuild     U ] sys-apps/portage-2.1.10.11 [2.1.6.11] USE="(ipc%*) less%* -python2% -python3%" 
[blocks B     ] <sys-apps/portage-2.1.9 ("<sys-apps/portage-2.1.9" is blocking dev-lang/python-2.7.2-r3)
[blocks B     ] app-admin/eselect-news ("app-admin/eselect-news" is blocking app-admin/eselect-1.2.15)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('ebuild', '/', 'dev-lang/python-2.7.2-r3', 'merge') pulled in by
    dev-lang/python:2.7 required by ('ebuild', '/', 'sys-apps/portage-2.1.10.11', 'merge')

  ('ebuild', '/', 'app-admin/eselect-1.2.15', 'merge') pulled in by
    >=app-admin/eselect-1.2 required by ('ebuild', '/', 'sys-apps/portage-2.1.10.11', 'merge')
    >=app-admin/eselect-1.2.3 required by ('ebuild', '/', 'app-admin/eselect-python-20100321', 'merge')


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked


!!! The following installed packages are masked:
- dev-lang/perl-5.8.8-r5 (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Torsten Veller <tove@gentoo.org> (06 Jan 2011)
# Next step to remove old perl and libperl versions.
.............
It looks like there is no easy way out, but since it is running on one of the Alix boxes a complete reinstall from scratch doesn't look very attractive.

Is there no way to upgrade the machine in a "decent" way?
Top
the_mgt
Apprentice
Apprentice
User avatar
Posts: 259
Joined: Fri Aug 05, 2005 1:23 pm
Location: Germany, near Hannover

  • Quote

Post by the_mgt » Wed Dec 07, 2011 8:13 am

Whoa, your python really is outdated -> dev-lang/python-2.7.2-r3 [2.4.4-r13]
You could try to merge a python 2.6 version as a temporary solution. Maybe this will satsify some of the packages now screaming for a 2.7 version.

Note that the following advices might lead to a non-working system, read up on portage's functions and maybe quickpkg your whole system set so you could reinstall some packages by just untaring them later, if portage really fails. (This is an ugly method, but since you are on a remote system, you might feel desperate later on.)

Comment out the USE flags you have in make.conf and /etc/portage/package.use. Check your mask/unmask/keyword files, maybe switch to the least demanding of all profiles available. This will decrease the amount of deps and strange loops your system has to handle while updating. Circular dependencies and other oddities might happen in such a huge update.

Start with system updates instead of a world update. You can also update some packages directly, instead of doing system/world updates. Like "emerge portage -uva". Finally, there is --nodeps option, which will emerge just the package without any dependencies. But this might lead to trouble if you force a new version of portage which then won't work due to missing deps :wink:
Citadel Groupware | Avahi Howto
Top
ultraincognito
Guru
Guru
User avatar
Posts: 346
Joined: Fri Jun 03, 2011 9:33 am
Location: Ukraine
Contact:
Contact ultraincognito
Website

  • Quote

Post by ultraincognito » Wed Dec 07, 2011 8:22 am

It looks like, different versions of python require different versions of eselect.
Exactly, you must install app-admin/eselect-python-20100321 and app-admin/eselect-1.2.15. If some programs need older version of eselect you can delete their with older eselect.
Top
Trog Dog
Apprentice
Apprentice
Posts: 282
Joined: Sat Aug 04, 2007 9:59 am

  • Quote

Post by Trog Dog » Wed Dec 07, 2011 10:56 am

[topic=856878]There's a whole sticky topic on how to update old systems[/topic] - could be a worthwhile read for you
CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
Top
BoBoeBoe
n00b
n00b
Posts: 69
Joined: Tue Feb 17, 2004 10:58 pm

  • Quote

Post by BoBoeBoe » Thu Dec 08, 2011 6:04 pm

Do I need to do something special to update phyton?

I did do an emerge of phyhton like ultraincognito suggested but ....:

Code: Select all

emerge -p app-admin/eselect-python-20100321
!!! 'app-admin/eselect-python-20100321' is not a valid package atom.
!!! Please check ebuild(5) for full details.
Top
ultraincognito
Guru
Guru
User avatar
Posts: 346
Joined: Fri Jun 03, 2011 9:33 am
Location: Ukraine
Contact:
Contact ultraincognito
Website

  • Quote

Post by ultraincognito » Thu Dec 08, 2011 7:27 pm

In general I suggest do the full reinstallation Gentoo but if not then you can install paludis and remove portage. In my opinion this is a good way for to outflank dependence from python. Furthermore paludis is a very good package manager.
Also I have yet another idea. Emerge portage with "python3" and without "python2".
Top
Trog Dog
Apprentice
Apprentice
Posts: 282
Joined: Sat Aug 04, 2007 9:59 am

  • Quote

Post by Trog Dog » Sat Dec 10, 2011 10:42 am

BoBoeBoe wrote:Do I need to do something special to update phyton?

I did do an emerge of phyhton like ultraincognito suggested but ....:

Code: Select all

emerge -p app-admin/eselect-python-20100321
!!! 'app-admin/eselect-python-20100321' is not a valid package atom.
!!! Please check ebuild(5) for full details.
if your going to specify a version you need to use =
emerge -p =app-admin/eselect-python-20100321
.................^


Edit: can't get bold tag to work
CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
Top
Post Reply

7 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic