Gentoo Archives: gentoo-user

From: Alexey Luchko <luchik@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: how to recover a portage that wasn't in use for very long time
Date: Wed, 13 May 2009 10:03:44
Message-Id: 4A0A9AFC.50203@gmail.com
In Reply to: [gentoo-user] how to recover a portage that wasn't in use for very long time by Alexey Luchko
1 Alexey Luchko wrote:
2 > colinux ~ # emerge portage --pretend --tree
3 >
4 > These are the packages that would be merged, in reverse order:
5 >
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-syntax%"
16 > [ebuild U ] app-misc/pax-utils-0.1.19 [0.1.15]
17 > [blocks B ] <sys-apps/portage-2.1.5 (is blocking
18 > app-shells/bash-3.2_p39)
19 > colinux ~ #
20
21 Hi!
22
23 Thank every one for your help.
24
25 Finally I got it out this way:
26 first emerge --nodeps bash
27 then emerge portage upgraded portage to the latest version
28 and then, of cause, emerge -uDN system -pvt
29 it had blocked packages
30 [blocks B ] <sys-apps/man-pages-3 ("<sys-apps/man-pages-3" is blocking
31 sys-apps/man-pages-posix-2003a)
32 [blocks B ] <sys-fs/e2fsprogs-1.41 ("<sys-fs/e2fsprogs-1.41" is blocking
33 sys-libs/e2fsprogs-libs-1.41.3-r1)
34 [blocks B ] sys-apps/mktemp ("sys-apps/mktemp" is blocking
35 sys-apps/coreutils-7.1)
36 [blocks B ] sys-libs/com_err ("sys-libs/com_err" is blocking
37 sys-libs/e2fsprogs-libs-1.41.3-r1)
38 [blocks B ] <sys-apps/util-linux-2.13 ("<sys-apps/util-linux-2.13" is
39 blocking sys-apps/coreutils-7.1)
40 [blocks B ] sys-libs/ss ("sys-libs/ss" is blocking
41 sys-libs/e2fsprogs-libs-1.41.3-r1)
42
43 I unmerged them, and then emerge -uDN system had been working fine until
44 sys-libs/e2fsprogs-libs-1.41.3-r1 compilation failed with
45 ../../lib/libuuid.so: undefined reference to `___tls_get_addr'
46
47 I had no separate uuid package installed
48 colinux ~ # emerge --search uuid | less
49 Searching...
50 [ Results for search key : uuid ]
51 [ Applications found : 4 ]
52 * dev-libs/ossp-uuid [ Masked ]
53 Latest version available: 1.6.2
54 Latest version installed: [ Not Installed ]
55 * dev-perl/Data-UUID
56 Latest version available: 1.148
57 Latest version installed: [ Not Installed ]
58 * dev-python/uuid [ Masked ]
59 Latest version available: 1.30
60 Latest version installed: [ Not Installed ]
61 * dev-ruby/uuidtools
62 Latest version available: 1.0.7
63 Latest version installed: [ Not Installed ]
64
65
66 It claimed on
67 /usr/tmp/portage/sys-libs/e2fsprogs-libs-1.41.3-r1/work/e2fsprogs-libs-1.41.3/lib/libuuid.so
68
69 I checked whether the name tls_get_addr exists and found nothing
70 colinux e2fsprogs-libs-1.41.3 # pwd
71 /usr/tmp/portage/sys-libs/e2fsprogs-libs-1.41.3-r1/work/e2fsprogs-libs-1.41.3
72 colinux e2fsprogs-libs-1.41.3 # grep tls_get_addr `find . -iname '*.c'`
73
74 After seaching tls_get_addr on http://www.google.com/codesearch I decided to
75 update glibc first:
76 colinux ~ # emerge glibc -pvt
77
78 These are the packages that would be merged, in reverse order:
79
80 Calculating dependencies... done!
81 [ebuild U ] sys-libs/glibc-2.8_p20080602-r1 [2.3.6-r4] USE="-debug% -gd%
82 -glibc-omitfp (-hardened) (-multilib) -nls* -profile (-selinux) -vanilla%
83 (-build%) (-erandom%) (-glibc-compat20%) (-nptl%) (-nptlonly%)" 0 kB [?=>0]
84
85 Total: 1 package (1 upgrade), Size of downloads: 0 kB
86 Portage tree and overlays:
87 [0] /usr/portage
88 [?] indicates that the source repository could not be determined
89
90 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
91 * Use eselect news to read news items.
92
93 colinux ~ # emerge glibc
94
95 * i386 CHOSTs are no longer supported.
96 * Chances are you don't actually want/need i386.
97 * Please read http://www.gentoo.org/doc/en/change-chost.xml
98
99 Here I've decided to make yet another backup and tried to remount / readonly.
100 And found the mount missing. I'm guessing that util-linux is the package
101 containing mount and it depends on e2fsprogs-libs-1.41.3-r1.
102
103
104 Here I am now ;)
105 Any advice is welcome!
106
107
108 Alexey.

Replies

Subject Author
Re: [gentoo-user] Re: how to recover a portage that wasn't in use for very long time Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] Re: how to recover a portage that wasn't in use for very long time Stroller <stroller@××××××××××××××××××.uk>