Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: how to recover a portage that wasn't in use for very long time
Date: Wed, 13 May 2009 14:33:07
Message-Id: AE3AA204-D95F-4B32-85BA-0E630A0C621D@stellar.eclipse.co.uk
In Reply to: [gentoo-user] Re: how to recover a portage that wasn't in use for very long time by Alexey Luchko
1 On 13 May 2009, at 11:03, Alexey Luchko wrote:
2
3 > Alexey Luchko wrote:
4 >> colinux ~ # emerge portage --pretend --tree
5 >> These are the packages that would be merged, in reverse order:
6 >> Calculating dependencies... done!
7 >> [nomerge ] sys-apps/portage-2.1.6.11 [2.1.2.2]
8 >> [ebuild U ] app-shells/bash-3.2_p39 [3.1_p17] USE="-examples% -
9 >> plugins%"
10 >> [ebuild U ] sys-apps/portage-2.1.6.11 [2.1.2.2]
11 >> [ebuild U ] dev-python/pycrypto-2.0.1-r6 [2.0.1-r5]
12 >> [ebuild U ] sys-apps/sandbox-1.6-r2 [1.2.17]
13 >> [ebuild N ] app-arch/lzma-utils-4.32.7 USE="-nocxx"
14 >> [ebuild N ] app-admin/eselect-news-20080320
15 >> [ebuild U ] app-admin/eselect-1.0.11-r1 [1.0.7] USE="-vim-
16 >> syntax%"
17 >> [ebuild U ] app-misc/pax-utils-0.1.19 [0.1.15]
18 >> [blocks B ] <sys-apps/portage-2.1.5 (is blocking app-shells/
19 >> bash-3.2_p39)
20 >> colinux ~ #
21 >
22 > Hi!
23 >
24 > Thank every one for your help.
25 >
26 > Finally I got it out this way:
27 > first emerge --nodeps bash
28 > then emerge portage upgraded portage to the latest version
29 > and then, of cause, emerge -uDN system -pvt
30 > it had blocked packages
31 > [blocks B ] <sys-apps/man-pages-3 ("<sys-apps/man-pages-3" is
32 > blocking
33 > sys-apps/man-pages-posix-2003a)
34 > [blocks B ] <sys-fs/e2fsprogs-1.41 ("<sys-fs/e2fsprogs-1.41" is
35 > blocking
36 > sys-libs/e2fsprogs-libs-1.41.3-r1)
37 > [blocks B ] sys-apps/mktemp ("sys-apps/mktemp" is blocking
38 > sys-apps/coreutils-7.1)
39 > [blocks B ] sys-libs/com_err ("sys-libs/com_err" is blocking
40 > sys-libs/e2fsprogs-libs-1.41.3-r1)
41 > [blocks B ] <sys-apps/util-linux-2.13 ("<sys-apps/util-
42 > linux-2.13" is
43 > blocking sys-apps/coreutils-7.1)
44 > [blocks B ] sys-libs/ss ("sys-libs/ss" is blocking
45 > sys-libs/e2fsprogs-libs-1.41.3-r1)
46 >
47 > I unmerged them, and then emerge -uDN system had been working fine
48 > until
49 > sys-libs/e2fsprogs-libs-1.41.3-r1 compilation failed with
50 > ../../lib/libuuid.so: undefined reference to `___tls_get_addr'
51
52
53
54 Alexey,
55
56 I think `emerge --nodeps bash` was the cause of your problem. You need
57 to resolve each and every dependency - often sequentially or
58 incrementally - before you go on to the next package. --nodpes is just
59 asking your system to break.
60
61 I gave you advice in my previous message - you should have emerged
62 earlier versions of packages in order, for the reason to avoid
63 blockers. The Gentoo devs had a GOOD REASON when they declared
64 bash-3.2_p39 as blocking the current portage. If you had tried to
65 emerge the earlier bash you would probably have found it blocked by an
66 earlier portage &/or mktemp &/or com_err &/or util-linux &/or sys-libs/
67 ss. If you had resolved each dependency in turn you would have
68 eventually been able to upgrade to the latest versions.
69
70 I know this, because last month I did this myself. A system last
71 upgraded in August or September 2007 now has bash-3.2_p39 and
72 portage-2.1.6.4 installed on it.
73
74 If you don't have the patience for this, then do as Alan says &
75 reinstall the whole system.
76
77 If you don't understand what I wrote, then just ask.
78
79 If you want to upgrade this system then you're going to have to do a
80 lot of work yourself. You WILL need to get older intermediate package
81 versions from the CVS attic <http://sources.gentoo.org/> and you will
82 need to Google & read the list archive to see the correct procedure
83 for resolving the mktemp, com_err, util-linux & sys-libs/ss problems.
84 But that really is pretty straightforward - it is clearly documented
85 on the list "emerge version X of this, then version Y of that".
86
87 Stroller.