| View previous topic :: View next topic |
| Author |
Message |
lcj n00b


Joined: 25 Apr 2004 Posts: 74 Location: Opole, Poland
|
Posted: Thu Mar 19, 2009 1:09 pm Post subject: [SOLVED] Upgrading old system - updating portage |
|
|
I've tried to upgrade 2006 system today, and it says:
| Code: |
old-system root # emerge portage
Calculating dependencies -
!!! All ebuilds that could satisfy ">=dev-lang/python-2.5" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-lang/python-2.5.4-r2 (masked by: required EAPI 1, supported EAPI 0)
- dev-lang/python-2.5.2-r7 (masked by: required EAPI 1, supported EAPI 0)
- dev-lang/python-2.5.2-r8 (masked by: required EAPI 1, supported EAPI 0)
- dev-lang/python-2.6-r5 (masked by: required EAPI 2, supported EAPI 0)
# Ali Polatel <hawking@gentoo.org> (05 Oct 2008)
# Masked until packages that don't work with it are fixed.
# see bug #230205 for more info
- dev-lang/python-2.6.1 (masked by: required EAPI 2, supported EAPI 0)
For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
(dependency required by "dev-python/pycrypto-2.0.1-r8" [ebuild])
|
I tried to upgrade to lower portage and python version, but then i run into EAPI 1 support.
Any way to upgrade ? _________________ --
Lukasz C. Jokiel via web
Last edited by lcj on Thu Mar 19, 2009 11:15 pm; edited 1 time in total |
|
| Back to top |
|
 |
lcj n00b


Joined: 25 Apr 2004 Posts: 74 Location: Opole, Poland
|
Posted: Thu Mar 19, 2009 1:12 pm Post subject: |
|
|
make.conf:
| Code: | # These settings were set by the catalyst build script that automatically built this stage
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
USE="mmx sse sse2 ssl acpi \
-java gd zlib png gif imlib imlib2 \
-opengl -cups \
apache2 vhosts \
examples iproute2 threads -postgress \
spamassassin noauthcram \
cgi \
-gpm xvid \
-xmms \
flash pear \
-ipv6 \
qmail imap \
-automount -samba \
clamav tools \
-truetype-fonts -type1-fonts -xv -mysql -postgresl -ldap -openldap \
-truetype -gtk -gtk2 -gnome -X -emacs -kde -qt -pcmcia -pda -arts -lirc"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/"
LINGUAS="pl en"
FEATURES="parallel-fetch"
CLEAN_DELAY="3"
EMERGE_WARNING_DELAY="2"
|
_________________ --
Lukasz C. Jokiel via web |
|
| Back to top |
|
 |
kallamej Administrator


Joined: 27 Jun 2003 Posts: 4785 Location: Gothenburg, Sweden
|
Posted: Thu Mar 19, 2009 10:21 pm Post subject: |
|
|
Generally, posting the output of emerge --info is better than just posting make.conf. Now we have no idea of what versions of portage and python you have installed now. Nor did you tell us which lower versions you tried.
So... did you try with portage-2.1.1-r2? Please also see this guide for reference. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net |
|
| Back to top |
|
 |
lcj n00b


Joined: 25 Apr 2004 Posts: 74 Location: Opole, Poland
|
Posted: Thu Mar 19, 2009 10:35 pm Post subject: |
|
|
| kallamej wrote: | Generally, posting the output of emerge --info is better than just posting make.conf. Now we have no idea of what versions of portage and python you have installed now. Nor did you tell us which lower versions you tried.
So... did you try with portage-2.1.1-r2? Please also see this guide for reference. |
You're right, my first time in 4 years this happened:
| Code: | Portage 2.1.2-r9 (default/linux/x86/2008.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Xeon(TM) CPU 3.20GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 19 Mar 2009 12:30:01 +0000
app-shells/bash: 3.1_p17
dev-lang/python: 2.4.3-r4
sys-apps/baselayout: 1.12.9
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="pl en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi apache2 berkdb bzip2 cgi clamav cli cracklib crypt dri examples flash fortran gd gdbm gif iconv imap imlib imlib2 iproute2 isdnlog midi mmx mudflap ncurses nls noauthcram nptl nptlonly openmp pam pcre pear perl png pppd python qmail readline reflection session spamassassin spl sse sse2 ssl sysfs tcpd threads tools unicode vhosts x86 xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
I got slightly older portage.
I'll give a shot with manual portage and post results. _________________ --
Lukasz C. Jokiel via web |
|
| Back to top |
|
 |
lcj n00b


Joined: 25 Apr 2004 Posts: 74 Location: Opole, Poland
|
Posted: Thu Mar 19, 2009 10:42 pm Post subject: |
|
|
portage-2.1.1-r2 asks for python-2.5, and recovering to 2.1.1 via guide results in:
| Code: |
emerge
Traceback (most recent call last):
File "/usr/bin/emerge", line 4049, in ?
emerge_main()
File "/usr/bin/emerge", line 3768, in emerge_main
settings, trees, mtimedb = load_emerge_config()
File "/usr/bin/emerge", line 3679, in load_emerge_config
trees = portage.create_trees(trees=trees, **kwargs)
File "/usr/lib/portage/pym/portage.py", line 6771, in create_trees
config_incrementals=portage_const.INCREMENTALS)
File "/usr/lib/portage/pym/portage.py", line 921, in __init__
addProfile(os.path.realpath(self.profile_path))
File "/usr/lib/portage/pym/portage.py", line 908, in addProfile
raise portage_exception.ParseError(
NameError: global name 'parents_file' is not defined
|
I recovered to 2.1.2 (but without -r9 patches) and emerge works again.
Still needs the 2.5 python tough  _________________ --
Lukasz C. Jokiel via web |
|
| Back to top |
|
 |
kallamej Administrator


Joined: 27 Jun 2003 Posts: 4785 Location: Gothenburg, Sweden
|
Posted: Thu Mar 19, 2009 11:01 pm Post subject: |
|
|
Seems to be latest stable pycrypto (-r8). However, portage itself only needs pyhton-2.4 so you could try to manually update to latest stable portage, or try emerge --nodeps portage so as to ignore the pycrypto dep. Alternatively, temporarily mask >=dev-python/pycrypto-2.0.1-r7 as portage depends on >=-r6. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net |
|
| Back to top |
|
 |
lcj n00b


Joined: 25 Apr 2004 Posts: 74 Location: Opole, Poland
|
Posted: Thu Mar 19, 2009 11:09 pm Post subject: |
|
|
The nodeps approach seem to work, with some error at the end of emerging portage. After python update poratege was re-emerged with no errors. Thanks kallamej! _________________ --
Lukasz C. Jokiel via web |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|