Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] amd64 17.1 profiles ready for testing
Date: Fri, 15 Dec 2017 20:09:28
Message-Id: 1513368555.1368.1.camel@gentoo.org
In Reply to: Re: [gentoo-dev] amd64 17.1 profiles ready for testing by Kent Fredric
1 W dniu pią, 15.12.2017 o godzinie 22∶24 +1300, użytkownik Kent Fredric
2 napisał:
3 > On Sat, 09 Dec 2017 11:26:36 +0100
4 > Michał Górny <mgorny@g.o> wrote:
5 >
6 > I ran this on a chroot.
7 >
8 > > 5. Run 'unsymlink-lib --migrate'.
9 > >
10 > > 6. Reboot your system and see if it still boots, possibly test if
11 > > important programs work. Also check if emerge starts but don't install
12 > > anything. If your system is now broken, you can do
13 > > 'unsymlink-lib --rollback' to return to step 3.
14 >
15 > I started a new chroot because there's no "boot" and it seemed to work fine.
16 >
17 > >
18 > > 7. Run 'unsymlink-lib --finish'.
19 >
20 > I ran this, and it broke the chroot :/
21 >
22 > Weird problems like:
23 >
24 > Removing /usr/lib64/lib64/sys/block/ram0 failed: [Errno 20] Not a directory: '/usr/lib64/lib64/sys/block/ram0'
25
26 Sounds like you've put some awful self-symlink into this directory.
27 The script incorrectly follows top-level symlinks when removing, I'll
28 fix that.
29
30 > Removing /usr/lib64/lib64/sys/block/sdb failed: [Errno 20] Not a directory: '/usr/lib64/lib64/sys/block/sdb'
31 > Removing /usr/lib64/lib64/sys/block/ram9 failed: [Errno 20] Not a directory: '/usr/lib64/lib64/sys/block/ram9'
32 > Removing /usr/lib64/lib64/sys/block/ram7 failed: [Errno 20] Not a directory: '/usr/lib64/lib64/sys/block/ram7'
33 > Removing /usr/lib64/lib64/sys/block/loop6 failed: [Errno 20] Not a directory: '/usr/lib64/lib64/sys/block/loop6'
34 > Removing /usr/lib64/lib64/sys/block/ram14 failed: [Errno 20] Not a directory: '/usr/lib64/lib64/sys/block/ram14'
35 > Removing /usr/lib64/lib64/sys/block/ram5 failed: [Errno 20] Not a directory: '/usr/lib64/lib64/sys/block/ram5'
36 > Removing /usr/lib64/lib64/sys/block/loop4 failed: [Errno 20] Not a directory: '/usr/lib64/lib64/sys/block/loop4'
37 > Removing /usr/lib64/lib64/sys/block/ram12 failed: [Errno 20] Not a directory: '/usr/lib64/lib64/sys/block/ram12'
38 >
39 > and
40 >
41 > Removing /usr/lib64/lib64/usr/lib64/libpkgconf.a failed: [Errno 2] No such file or directory: '/usr/lib64/lib64/usr/lib64/libpkgconf.a'
42 > Removing /usr/lib64/lib64/usr/lib64/libpkgconf.so failed: [Errno 2] No such file or directory: '/usr/lib64/lib64/usr/lib64/libpkgconf.so'
43 > Removing /usr/lib64/lib64/usr/lib64/libpkgconf.so.2 failed: [Errno 2] No such file or directory: '/usr/lib64/lib64/usr/lib64/libpkgconf.so.2'
44 >
45 > Now in my chroot:
46 >
47 > # ls /lib/
48 > bash: ls: command not found
49 >
50 > RIP.
51 >
52
53 --
54 Best regards,
55 Michał Górny

Replies

Subject Author
Re: [gentoo-dev] amd64 17.1 profiles ready for testing Kent Fredric <kentnl@g.o>