Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] updating old system. Circular dependencies
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
feiticeir0
Apprentice
Apprentice


Joined: 13 Jul 2005
Posts: 288
Location: Castelo Branco, Portugal

PostPosted: Fri Jul 15, 2011 8:43 am    Post subject: [SOLVED] updating old system. Circular dependencies Reply with quote

Hi all.

I've an old server with gentoo that hasn't received updates in a while...
Using this post update old system to 10.0 or 2008.1 i've managed to update portage, bash and python.
Now, i want to update the entire system, and i'm stuck with "circular dependencies":

Code:

emerge --update --deep --newuse world -av

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


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

Calculating dependencies... done!


[ebuild  N     ] virtual/ssh-0  USE="-minimal" 0 kB [0]
[ebuild     U  ] sys-apps/busybox-1.17.4 [1.8.2] USE="ipv6%* mdev%* pam -debug -make-symlinks -savedconfig (-selinux) -static" 0 kB [0]
[nomerge       ] virtual/ssh-0  USE="-minimal"  [0]
[ebuild     U  ]  net-misc/openssh-5.8_p1-r1 [4.7_p1-r3] USE="hpn* pam tcpd -X -X509 -kerberos -ldap -libedit (-selinux) -skey -static (-chroot%) (-smartcard%)" 1,108 kB [0]
[ebuild     U  ]   sys-apps/shadow-4.1.4.3 [4.0.18.1-r1] USE="cracklib nls pam -audit% (-selinux) -skey (-nousuid%)" 1,762 kB [0]
[nomerge       ] sys-apps/busybox-1.17.4 [1.8.2] USE="ipv6%* mdev%* pam -debug -make-symlinks -savedconfig (-selinux) -static"  [0]
[ebuild     U  ]  sys-libs/pam-1.1.3 [0.99.9.0] USE="berkdb%* cracklib nls -audit -debug% (-selinux) -test -vim-syntax" 1,591 kB [0]
[ebuild  N     ]   sys-auth/pambase-20101024  USE="cracklib sha512 -consolekit -debug -gnome-keyring -minimal -mktemp -pam_krb5 -pam_ssh -passwdqc (-selinux)" 4 kB [0]
[ebuild     U  ] sys-fs/multipath-tools-0.4.8-r1 [0.4.7-r2] 157 kB [0]
[ebuild     U  ] net-fs/nfs-utils-1.2.3-r1 [1.1.0-r1] USE="ipv6%* nfsv3%* nfsv4%* tcpd -caps% -kerberos (-nonfsv4%)" 657 kB [0]
[ebuild  N     ] virtual/libc-0  0 kB [0]
[ebuild  N     ] virtual/dev-manager-0  0 kB [0]
[ebuild     U  ] sys-fs/e2fsprogs-1.41.12 [1.40.4] USE="nls (-static%)" 4,391 kB [0]
[ebuild  NS    ] sys-devel/gcc-4.4.5 [4.1.1-r3] USE="fortran mudflap nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -graphite -gtk (-hardened) (-libffi) (-multilib) -multislot -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla" 0 kB [0]
[nomerge       ] net-fs/nfs-utils-1.2.3-r1 [1.1.0-r1] USE="ipv6%* nfsv3%* nfsv4%* tcpd -caps% -kerberos (-nonfsv4%)"  [0]
[ebuild  N     ]  sys-libs/e2fsprogs-libs-1.41.12  USE="nls" 480 kB [0]
[nomerge       ] sys-apps/baselayout-2.0.2 [1.12.9] USE="-build (-bootstrap%) (-ldap%) (-static%) (-unicode%*)"  [?=>0]
[nomerge       ]  sys-apps/openrc-0.8.3-r1  USE="ncurses pam unicode -debug (-selinux)"  [0]
[ebuild     U  ]    sys-fs/udev-164-r2 [115-r1] USE="-build% -extras% (-selinux) -test%" 554 kB [0]
[ebuild     U  ]     sys-libs/glibc-2.12.2 [2.5] USE="nls -debug% -gd% -glibc-omitfp (-hardened) (-multilib) -profile (-selinux) -vanilla% (-build%) (-glibc-compat20%) (-nptl%*) (-nptlonly%*)" 0 kB [?=>0]
[blocks B      ]   <sys-fs/udev-133 ("<sys-fs/udev-133" is blocking sys-apps/openrc-0.8.3-r1)

Total: 15 packages (9 upgrades, 5 new, 1 in new slot), Size of downloads: 10,700 kB
Portage tree and overlays:
 [0] /usr/portage
 [?] indicates that the source repository could not be determined

 * Error: circular dependencies:

(sys-libs/glibc-2.12.2::gentoo, ebuild scheduled for merge) depends on
 (sys-devel/gcc-4.4.5::gentoo, ebuild scheduled for merge) (buildtime)
  (sys-libs/glibc-2.12.2::gentoo, ebuild scheduled for merge) (buildtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


I've tried to emerge gcc and glibc independently :
Code:

emerge --nodeps -1av gcc
emerge --nodeps -1av glibc


but no luck...

This is an important server 8O and i want to install it from scratch only if necessary....

Cheers,

Bruno Santos
_________________
Do It With Rhythm


Last edited by feiticeir0 on Fri Jul 15, 2011 1:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Fri Jul 15, 2011 9:45 am    Post subject: Reply with quote

gcc-4.4.5 needs at least 2.8 version of glibc. But glibc >= 2.11 needs at least 4.3 version of gcc.
glibc-2.11 ebuild has:
Code:
x86? ( >=sys-devel/gcc-4.3 )
amd64? ( >=sys-devel/binutils-2.19 >=sys-devel/gcc-4.3 )

lower versions don't, but I'm not sure if they don't require at least gcc-4.3 as well.

Try to emerge glibc-2.10 with gcc-4.1.1 then gcc-4.4.5 then glibc-2.12.
Back to top
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 866

PostPosted: Fri Jul 15, 2011 9:48 am    Post subject: Reply with quote

try to emerge a lower version of either one first and after that the later ones; you can check the versions in the ebuilds, eg like that:
Code:
grep gcc- /usr/portage/sys-libs/glibc/glibc-2.*.ebuild
grep glibc- /usr/portage/sys-devel/gcc/*.ebuild

you have glibc-2.5 and gcc-4.1.1-r3 installed, so eg the latest version of gcc you can install with your glibc is gcc-4.2.4-r1, which can in turn be used to install a version of glibc-2.13.
GOOD LUCK!
_________________
DUMM KLICKT GUT.
Back to top
View user's profile Send private message
feiticeir0
Apprentice
Apprentice


Joined: 13 Jul 2005
Posts: 288
Location: Castelo Branco, Portugal

PostPosted: Fri Jul 15, 2011 10:08 am    Post subject: Reply with quote

didn't think of it.... so blind with updating the server, never thought of doing it progressively! i've done that with python... - but gcc takes for ever to compile :) !

thank you both for the answers...

I'll try and post the luck !
Cheers
_________________
Do It With Rhythm
Back to top
View user's profile Send private message
feiticeir0
Apprentice
Apprentice


Joined: 13 Jul 2005
Posts: 288
Location: Castelo Branco, Portugal

PostPosted: Fri Jul 15, 2011 1:26 pm    Post subject: Reply with quote

Hi again.

Thank you all for the replys.

It's done.

I've emerged glibc-1.10.1-r1 (with gcc-4.1.1 - the installed version) with success. Next i've emerged gcc-4.4.5, again with success and next glibc-1.12.2 (latest stable version) and now i have the server fully updated.

Thank you all.

Cheers,

Bruno Santos
_________________
Do It With Rhythm
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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