Re: [gentoo-user] Upgrade Portage 2004.0 to 2005.x fails
Denny Schierz wrote: >hi, > > > >i tested a lot of things, but nothing works, so i did the hardway and >replaced portage by hand, its seems, portage is working again. > >i saw, that 2006.x is out ;-) so i using the newest profile. > >cu denny > > > I'm still on 2005.1 I think. I need to chagne mine to I guess. My fiance just got in the hospital so it won't be any time soon though. I'll be planted beside her bed for a while, if not in it beside her. Only thing is, she has some kind of infection. They may not let me. :-( Glad that manual install worked. I used to keep a copy around for the longest, just in case. ;-) Dale :-) -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Upgrade Portage 2004.0 to 2005.x fails
hi, Am Montag, den 08.05.2006, 09:33 -0500 schrieb Johnson, Maurice E CTR NSWCDL-K74: > There are significant changes between 2004.0 and 2006.0 . > My first recomendation would be to upgrade the compiler as follows: > You don't necessarily need esearch if you don't already have it, but > just get the information needed here. (modify as needed) thanks for that script. At the moment, emerge is running and compile gcc. I hope that everything goes well. It is only a 400Mhz, so it takes a lot of time, to update 157 packages. the only thing i can do, is waiting :-) cu denny -- Sicherheit verständlich http://www.sides.de GnuPG Key http://pgpkeys.pca.dfn.de:11371/pks/lookup?op=get&search=0x2A5CE192AB7D3FE0 signature.asc Description: Dies ist ein digital signierter Nachrichtenteil
RE: [gentoo-user] Upgrade Portage 2004.0 to 2005.x fails
There are significant changes between 2004.0 and 2006.0 . My first recomendation would be to upgrade the compiler as follows: You don't necessarily need esearch if you don't already have it, but just get the information needed here. (modify as needed) #!/bin/bash OLD_VER=`esearch --nocolor -o "%vi\n" ^gcc$` NEW_VER=`esearch --nocolor -o "%va\n" ^gcc$` GCC_CONF_VER=`echo $NEW_VER|sed -e 's/-r[0-9]//g'` if [ "$OLD_VER" -eq "$NEW_VER" ] ; then echo "GCC up to date" exit 0 fi emerge -v =sys-devel/gcc-$NEW_VER gcc-config i686-pc-linux-gnu-$GCC_CONF_VER env-update source /etc/profile emerge --oneshot -v libtool emerge --oneshot sys-libs/libstdc++-v3 emerge -e system emerge -e world emerge -C =sys-devel/gcc-$OLD_VER /sbin/fix_libtool_files.sh $OLD_VER You'll also need to read the 2.4 to 2.6 kernel upgrade documents. There, you'll get an idea of what to expect with respect to your own system (i.e. udev etc.). You might also want to look at the articale on how to replace a running redhat system with Gentoo. Though you're trying to replace Gentoo with Gentoo, the concepts still apply. I notice you may also need to upgrade from ipchains to iptables. This is a conmpletely different topic all together. Research it before trying any quick fixes. -Original Message- From: Jeremy Olexa [mailto:[EMAIL PROTECTED] Sent: Mon 5/8/2006 9:45 AM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Upgrade Portage 2004.0 to 2005.x fails -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Teresa and Dale wrote: > Denny Schierz wrote: > >> hi, >> >> i have two very old gentoo boxes and i can't upgrade them. After a sync, >> the default profile 2004.0 was deleted and know i can't do anything with >> portage: > You may want to try emerge portage. I think I ran into this once before > and that fixed it. There is also a portage rescue tarbal somewhere that > you can put on to rescue it. I did that once before too but I can't > recall where it is right now. It's on the Gentoo site somewhere. > > Dale > :-) Any reason you don't want to upgrade them to the newest profile? I would just symlink the make.profile to the 2006.0 profile and then go from there following the appropriate install guides..maybe that will help? - -- Jeremy Olexa ([EMAIL PROTECTED]) Office: EE/CS 1-201 CS/IT Systems Staff University of Minnesota -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEX0uHFN7pD9kMi/URAoi6AJ494VeXIWfIfGhhQ3R8djt/jHbBrgCfcolV dN0/Nscm4s8AsPKW9iSGwgM= =baU3 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list <>
Re: [gentoo-user] Upgrade Portage 2004.0 to 2005.x fails
On 5/8/06, Denny Schierz <[EMAIL PROTECTED]> wrote: hi, i have two very old gentoo boxes and i can't upgrade them. After a sync, the default profile 2004.0 was deleted and know i can't do anything with portage: router x86 # emerge -n '>=sys-apps/portage-2.0.51' !!! 'str' object has no attribute 'insert' !!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does !!! not then please report this to bugs.gentoo.org and, if possible, a dev !!! on #gentoo (irc.freenode.org) Your command to update portage seem tricky and obscure to me. Why specify versions? If you have synced, it KNOWS the latest version and won't try to emerge the others... Why tell it to only emerge the latest with "-n" if you can simply update it with "-u"? And specially, why the heck put the whole ">=" stuff? Try simply "emerge -u portage"... If it still doesn't work, try it after "emerge-webrsync && emerge --sync && emerge --metadata && emerge -u portage", but I think the --metadata is done in the emerge --sync part anyway, so you can bypass that command ;) Is it possible to use portage from a new system, via quickpkg? I STRONGLY advice you to DON'T DO THAT. I can imagine a LOT of problems comming from this. If you really think you broke portage's profiles, simply do as it said: 'rm -Rf /usr/portage/profiles; emerge --sync', that should fix it. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Upgrade Portage 2004.0 to 2005.x fails
hi, Am Montag, den 08.05.2006, 08:20 -0500 schrieb Teresa and Dale: > You may want to try emerge portage. I think I ran into this once before > and that fixed it. There is also a portage rescue tarbal somewhere that > you can put on to rescue it. I did that once before too but I can't > recall where it is right now. It's on the Gentoo site somewhere. i tested a lot of things, but nothing works, so i did the hardway and replaced portage by hand, its seems, portage is working again. i saw, that 2006.x is out ;-) so i using the newest profile. cu denny -- Sicherheit verständlich http://www.sides.de GnuPG Key http://pgpkeys.pca.dfn.de:11371/pks/lookup?op=get&search=0x2A5CE192AB7D3FE0 signature.asc Description: Dies ist ein digital signierter Nachrichtenteil
Re: [gentoo-user] Upgrade Portage 2004.0 to 2005.x fails
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Teresa and Dale wrote: > Denny Schierz wrote: > >> hi, >> >> i have two very old gentoo boxes and i can't upgrade them. After a sync, >> the default profile 2004.0 was deleted and know i can't do anything with >> portage: > You may want to try emerge portage. I think I ran into this once before > and that fixed it. There is also a portage rescue tarbal somewhere that > you can put on to rescue it. I did that once before too but I can't > recall where it is right now. It's on the Gentoo site somewhere. > > Dale > :-) Any reason you don't want to upgrade them to the newest profile? I would just symlink the make.profile to the 2006.0 profile and then go from there following the appropriate install guides..maybe that will help? - -- Jeremy Olexa ([EMAIL PROTECTED]) Office: EE/CS 1-201 CS/IT Systems Staff University of Minnesota -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEX0uHFN7pD9kMi/URAoi6AJ494VeXIWfIfGhhQ3R8djt/jHbBrgCfcolV dN0/Nscm4s8AsPKW9iSGwgM= =baU3 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Upgrade Portage 2004.0 to 2005.x fails
Denny Schierz wrote: >hi, > >i have two very old gentoo boxes and i can't upgrade them. After a sync, >the default profile 2004.0 was deleted and know i can't do anything with >portage: > >router x86 # emerge -n '>=sys-apps/portage-2.0.51' >!!! 'str' object has no attribute 'insert' >!!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does >!!! not then please report this to bugs.gentoo.org and, if possible, a >dev >!!! on #gentoo (irc.freenode.org) > >Is it possible to use portage from a new system, via quickpkg? > >cu denny > > > You may want to try emerge portage. I think I ran into this once before and that fixed it. There is also a portage rescue tarbal somewhere that you can put on to rescue it. I did that once before too but I can't recall where it is right now. It's on the Gentoo site somewhere. Dale :-) -- gentoo-user@gentoo.org mailing list