First, i'm not an experienced user of gentoo, just started using it a
couple of months ago, I come from freebsd world which i find it to be
similar in many ways with the gentoo world. I have a really old server
on which I performed emerge --sync and after I had to eselect profile
set to hardened/linux/amd64.
After this i wanted to:
emerge -vp portage
!!! CONFIG_PROTECT is empty
These are the packages that would be merged, in order:
[ebuild N ] virtual/libffi-0 0 kB
[ebuild U ] app-admin/eselect-1.2.11 [1.0.12] USE="-bash-completion
-doc" 156 kB
[uninstall ] app-admin/eselect-news-20080320
[blocks b ] app-admin/eselect-news ("app-admin/eselect-news" is
blocking app-admin/eselect-1.2.11)
[ebuild N ] app-admin/eselect-python-20100321 6 kB
[ebuild NS ] dev-lang/python-2.6.6-r1 [2.4.4-r13, 2.5.4-r2]
USE="berkdb gdbm ncurses readline ssl threads (wide-unicode) xml -build
-doc -examples -ipv6 -sqlite -tk -wininst" 0 kB
[ebuild U ] sys-apps/portage-2.1.9.25 [2.1.6.13] USE="(ipc%*) -build
-doc -epydoc -python3% (-selinux)" LINGUAS="-pl" 0 kB
[blocks B ] >=dev-lang/python-2.6.6:2.6
(">=dev-lang/python-2.6.6:2.6" is blocking sys-apps/portage-2.1.6.13)
[blocks B ] <sys-apps/portage-2.1.9 ("<sys-apps/portage-2.1.9" is
blocking dev-lang/python-2.6.6-r1)
Total: 7 packages (3 upgrades, 3 new, 1 in new slot, 1 uninstall), Size
of downloads: 1,598 kB
Conflict: 3 blocks (2 unsatisfied)
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
('ebuild', '/', 'dev-lang/python-2.6.6-r1', 'merge') pulled in by
dev-lang/python:2.6 required by ('ebuild', '/',
'sys-apps/portage-2.1.9.25', 'merge')
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
This is my emerge --info:
!!! CONFIG_PROTECT is emptyPortage 2.1.6.13 (hardened/linux/amd64,
gcc-4.1.2, glibc-2.6.1-r0, 2.6.28-hardened-r9 x86_64)
================================================== ===============
System uname:
Linux-2.6.28-hardened-r9-x86_64-Intel-R-_Xeon-R-_CPU_E5520_@_2.27GHz-with-glibc2.2.5
Modules/python.o
-L. -lpython2.6 -lpthread -ldl -lutil -lm
running build
running build_ext
error: /ffi.h: No such file or directory
make: *** [sharedmods] Error 1
*
* ERROR: dev-lang/python-2.6.6-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 5556: Called _eapi2_src_compile
* ebuild.sh, line 634: Called die
* The specific snippet of code:
* emake || die "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call
stack if relevant.
* A complete build log is located at
'/var/tmp/portage/dev-lang/python-2.6.6-r1/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/dev-lang/python-2.6.6-r1/temp/environment'.
*
>>> Failed to emerge dev-lang/python-2.6.6-r1, Log file:
* "bsddb" module is out-of-date and no longer maintained inside
dev-lang/python. It has
* been additionally removed in Python 3. You should use external,
still maintained "bsddb3"
* module provided by dev-python/bsddb3 which supports both Python 2
and Python 3.
*
* ERROR: dev-lang/python-2.6.6-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 5556: Called _eapi2_src_compile
* ebuild.sh, line 634: Called die
* The specific snippet of code:
* emake || die "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call
stack if relevant.
* A complete build log is located at
'/var/tmp/portage/dev-lang/python-2.6.6-r1/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/dev-lang/python-2.6.6-r1/temp/environment'.
Is it possible to update this system? If yes please shed some light or
point me in the right direction.
Thank you,
Andrei
01-31-2011, 04:22 PM
David Abbott
emerge on really old tree
This may help;
http://blog.jolexa.net/2009/03/25/gentoo-tips-to-upgrade-your-really-old-installation/