| View previous topic :: View next topic |
| Author |
Message |
Joseph_sys Advocate

Joined: 08 Jun 2004 Posts: 2316 Location: Edmonton, AB
|
Posted: Sat Apr 21, 2012 5:51 am Post subject: having fun upgrading an old system (2-3-years old) |
|
|
I'm trying to upgrade an old system, not even sure how long ago it was upgraded the last time),
here is emerge info: | Code: | emerge --info
Portage 2.1.7.17 (default/linux/x86/10.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-i686-VIA_Eden_Processor_1200MHz-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 21 Apr 2012 05:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python: 2.6.2-r1
dev-util/ccache: 2.4-r7
dev-util/pkgconfig: 0.23
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc: 4.3.2-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6b
sys-devel/make: 3.81
sys-kernel/linux-headers: 2.6.27-r2
sys-libs/glibc: 2.9_p20081201-r2
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -mmmx -msse -msse2 -msse3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /usr/src/linux* /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=i686 -mmmx -msse -msse2 -msse3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://mirror.mdfnet.se/mirror/gentoo "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/voip"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl apache2 berkdb bzip2 cli cracklib crypt cups cxx dbus dri fam foomaticdb fortran gdbm gpm hal iconv ipv6 java jpeg lm_sensors modules mudflap mysql ncurses nls nptl nptlonly opengl openmp pam pcre png ppds pppd readline scanner session ssl startup-notification sysfs tcpd tetex tiff truetype type1 unicode usb x86 xorg xscreensaver 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vga vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON |
I think priority would be to upgrade it to "baselaout2" but I'm not sure if it will go smooth :-/
Any pointers how to proceed?
When I try to run: emerge -uDNav world I get | Code: | These are the packages that would be merged, in order:
Calculating dependencies -/usr/lib/portage/pym/portage/dep.py:947: DeprecationWarning: portage.dep.dep_getkey() is deprecated, use portage.dep.Atom.cp instead
DeprecationWarning)
/usr/lib/portage/pym/portage/dep.py:711: DeprecationWarning: portage.dep.dep_getcpv() is deprecated, use portage.dep.Atom.cpv instead
DeprecationWarning)
... done!
!!! All ebuilds that could satisfy ">=x11-misc/util-macros-1.15.0" have been masked.
!!! One of the following masked packages is required to complete your request:
- x11-misc/util-macros-1.17 (masked by: EAPI 4)
- x11-misc/util-macros-1.16.2 (masked by: EAPI 4)
- x11-misc/util-macros-1.16.1 (masked by: EAPI 4)
- x11-misc/util-macros-1.16.0 (masked by: EAPI 4)
- x11-misc/util-macros-1.15.0 (masked by: EAPI 4)
The current version of portage supports EAPI '3'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.
(dependency required by "x11-libs/libxcb-1.7" [ebuild])
(dependency required by "x11-libs/libX11-1.4.1" [ebuild])
(dependency required by "x11-libs/startup-notification-0.9" [installed])
(dependency required by "xfce-base/libxfcegui4-4.6.1-r1" [installed])
(dependency required by "media-gfx/ristretto-0.0.21" [installed])
(dependency required by "world" [argument])
|
_________________ #Joseph |
|
| Back to top |
|
 |
The Doctor l33t


Joined: 27 Jul 2010 Posts: 972
|
Posted: Sat Apr 21, 2012 5:58 am Post subject: |
|
|
With a laptop about 6-8 months out of date, the easiest thing was to unmerge just about everything, xorg, de, etc, and update the base system and then reinstall. Honestly, a full reinstall looks like it might be easier than an update if it has not been updated since baselayout 2.
That is just my opinion, I am sure you will get plenty more. _________________ First things first, but not necessarily in that order. |
|
| Back to top |
|
 |
Joseph_sys Advocate

Joined: 08 Jun 2004 Posts: 2316 Location: Edmonton, AB
|
Posted: Sat Apr 21, 2012 6:05 am Post subject: |
|
|
I'm trying to challenge myself :-/
right now "emerge portage" is running OK, we will see what will develop next  _________________ #Joseph |
|
| Back to top |
|
 |
Joseph_sys Advocate

Joined: 08 Jun 2004 Posts: 2316 Location: Edmonton, AB
|
Posted: Sat Apr 21, 2012 6:38 am Post subject: |
|
|
Should I try to upgrade "dev-lagn/perl" or go for baselaout2 first.
running: emerge -av dev-lang/perl gives me: | Code: | Calculating dependencies... done!
[ebuild U ] sys-devel/libperl-5.10.1 [5.8.8-r2] USE="(-berkdb%*) (-debug%) (-gdbm%*) (-ithreads%)" 0 kB
[ebuild U ] dev-lang/perl-5.12.4-r1 [5.8.8-r5] USE="berkdb gdbm -build -debug -doc -ithreads (-perlsuid%)" 12,069 kB
[ebuild U ] app-admin/perl-cleaner-2.7 [1.05] 6 kB
[blocks B ] <sys-devel/libperl-5.10.1 ("<sys-devel/libperl-5.10.1" is blocking dev-lang/perl-5.12.4-r1) |
I've unmerged "libperl-5.8.8" but I'm still getting block:
| Code: | emerge -avq dev-lang/perl
* IMPORTANT: 5 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
[ebuild N ] sys-devel/libperl-5.10.1-r1
[ebuild U ] dev-lang/perl-5.12.4-r1 [5.8.8-r5] USE="berkdb gdbm -build -debug -doc -ithreads (-perlsuid%)"
[ebuild U ] app-admin/perl-cleaner-2.7 [1.05]
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
dev-lang/perl:0
(dev-lang/perl-5.12.4-r1::gentoo, ebuild scheduled for merge) pulled in by
>=dev-lang/perl-5.10.1 required by (sys-devel/libperl-5.10.1-r1::gentoo, ebuild scheduled for merge)
(dev-lang/perl-5.8.8-r5::gentoo, installed) pulled in by
~dev-lang/perl-5.8.8 required by (virtual/perl-Digest-MD5-2.36::gentoo, installed)
(and 1 more with the same problem)
|
I'm tried to add to package.keywords:
>=dev-lang/perl-5.8.8 ~x86
>=dev-lang/perl-5.10.1 ~x86
but it doesn't help. _________________ #Joseph |
|
| Back to top |
|
 |
Trog Dog Apprentice

Joined: 04 Aug 2007 Posts: 282
|
|
| Back to top |
|
 |
Joseph_sys Advocate

Joined: 08 Jun 2004 Posts: 2316 Location: Edmonton, AB
|
Posted: Sat Apr 21, 2012 3:17 pm Post subject: |
|
|
It seems to me it will be easier to just re-install the system  _________________ #Joseph |
|
| Back to top |
|
 |
Clad in Sky l33t


Joined: 04 May 2007 Posts: 657 Location: Germany
|
Posted: Sat Apr 21, 2012 5:29 pm Post subject: |
|
|
Good choice.
I usually only update my gf's system once in about 6 months and every time I swear that in the future I will do it at least once a month because it is such a major pain in the backside.
I found that doing an emerge ... -pv and updating manually works best. But you have a baselayout, probably libpng, perl, python and several updates all in one - that might prove more hassle and work than setting up a new system. _________________ Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest |
|
| Back to top |
|
 |
Joseph_sys Advocate

Joined: 08 Jun 2004 Posts: 2316 Location: Edmonton, AB
|
Posted: Sat Apr 21, 2012 11:58 pm Post subject: |
|
|
| Clad in Sky wrote: | Good choice.
I usually only update my gf's system once in about 6 months and every time I swear that in the future I will do it at least once a month because it is such a major pain in the backside.
I found that doing an emerge ... -pv and updating manually works best. But you have a baselayout, probably libpng, perl, python and several updates all in one - that might prove more hassle and work than setting up a new system. |
My problem is I not sure in what order am I suppose to start upgrading: baselayout, perl or python. _________________ #Joseph |
|
| Back to top |
|
 |
Jaglover Advocate


Joined: 29 May 2005 Posts: 4063 Location: Saint Amant, Acadiana
|
Posted: Sun Apr 22, 2012 12:05 am Post subject: |
|
|
You'll find glibc/gcc upgrade is even more complicated. You cannot do at one swell swoop, you have to use intermediate versions which are [probably] not available in portage any more. _________________ Please learn how to denote units correctly! |
|
| Back to top |
|
 |
alexbuell Guru

Joined: 18 Jul 2002 Posts: 433 Location: "Hemp"shire, UK
|
Posted: Sun Apr 22, 2012 12:10 am Post subject: |
|
|
I had to do this a while back for an old box. Using revdep-rebuild and --keep-going I was able to get it updated. It just takes a lot of time to get it all updated.
Enjoy. _________________ Cheers,
Alex.
Linux - the best text adventure game ever. |
|
| Back to top |
|
 |
Joseph_sys Advocate

Joined: 08 Jun 2004 Posts: 2316 Location: Edmonton, AB
|
Posted: Sun Apr 22, 2012 4:58 am Post subject: |
|
|
I loaded (upgraded) a new kernel but my network interface eth0 was not recognized, based on Realtek r8169 driver.
So I booted from (latest x86) minimal-cd and the network interface is working OK; so something must have change in networking configuration.
I'm getting into a conclusion, that it will be too much time consuming to try to figure it out :-/ _________________ #Joseph |
|
| Back to top |
|
 |
Freeky n00b

Joined: 11 Mar 2011 Posts: 37 Location: Novosibirsk, Russia
|
Posted: Wed Apr 25, 2012 12:58 pm Post subject: |
|
|
I have the same ethernet card. Check this one at your kernel config:
|
|
| Back to top |
|
 |
Joseph_sys Advocate

Joined: 08 Jun 2004 Posts: 2316 Location: Edmonton, AB
|
Posted: Wed Apr 25, 2012 1:05 pm Post subject: |
|
|
| Freeky wrote: | I have the same ethernet card. Check this one at your kernel config:
|
I ended up reinstalling the system
I wish there was some simple way to upgrade older Gentoo systems. _________________ #Joseph |
|
| Back to top |
|
 |
pigeon768 l33t

Joined: 02 Jan 2006 Posts: 667
|
Posted: Wed Apr 25, 2012 4:45 pm Post subject: |
|
|
Your first priority is going to be getting portage up to date. To get portage up to date, it's likely that you'll need to get python relatively not-old. Upgrade one to the latest version possible, then upgrade the other to the latest version possible, rinse, repeat.
You'll have to do most things manually. _________________ My political bias. |
|
| Back to top |
|
 |
kopp Advocate


Joined: 09 Apr 2004 Posts: 2815 Location: Grenoble, France
|
Posted: Tue May 01, 2012 1:49 pm Post subject: |
|
|
I managed to do over a year old update several time (my old computer that i update only once in a while, it has seen less than 10 real updates since 2006.
It has often been a real PITA, i had to resort to using liveCD and chroot several times, because of uncompatible kernel and software (eg udev) but it is manageable...) Last update is becoming old, I should maybe look over it |
|
| Back to top |
|
 |
|