Gentoo Archives: gentoo-user

From: Alan Mackenzie <acm@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Profile switch to 17.1.
Date: Tue, 18 Jun 2019 15:51:11
Message-Id: 20190618155101.GA4512@ACM
In Reply to: [gentoo-user] Profile switch to 17.1. by Dale
1 Hello, Dale.
2
3 On Tue, Jun 18, 2019 at 10:12:32 -0500, Dale wrote:
4 > Howdy,
5
6 > I been working on the profile switch.  I followed the directions in the
7 > news item up until the rm part in #12.  I did a equery b for a few files
8 > in the two directories and it has files that equery shows belonging to
9 > packages.  They are not orphans since they are owned.  Here is a list of
10 > the files:
11
12 > root@fireball / # ls -al /lib32/
13 > total 3956
14 > drwxr-xr-x 14 root root    4096 Jun 17 23:14 .
15 > drwxr-xr-x 22 root root   36864 Jun 17 01:18 ..
16 > lrwxrwxrwx  1 root root      12 Jun 17 19:25 cpp -> /usr/bin/cpp
17 > drwxr-xr-x  3 root root    4096 Jun 17 19:46 dhcpcd
18 > drwxr-xr-x 70 root root   12288 Jun 17 19:19 firmware
19 > drwxr-xr-x  2 root root    4096 Jun 17 19:21 gentoo
20 > drwxr-xr-x  3 root root    4096 Dec  9  2010 grub
21 > -rw-r--r--  1 root root       0 Nov 17  2010 .keep
22
23 [ .... ]
24
25 > -rw-r--r--  1 root root      773 Jun 17 02:51 tclooConfig.sh
26 > lrwxrwxrwx  1 root root       17 Jun 17 03:22 terminfo -> ../share/terminfo
27 > drwxr-xr-x  2 root root     4096 Jun 17 21:35 tmpfiles.d
28 > drwxr-xr-x  2 root root     4096 Apr  1 06:50 upower
29 > drwxr-xr-x  2 root root     4096 Jun 17 10:55 vdpau
30 > -rw-r--r--  1 root root      266 Jun 17 03:26 xml2Conf.sh
31 > root@fireball / #
32
33
34 > As one can see, some of those could be important.  I noticed grub,
35 > nvidia, dracut and others that could cause issues if they failed.  Is it
36 > really safe to just rm them or did I miss something?  Do I need to do
37 > something else not mentioned in the news item for this? 
38
39 At this stage, /lib32 should be a symlink. I think that step 12 means
40 just the symlink should be removed, NOT all the stuff inside what it
41 points to.
42
43 So I think what you should do is:
44
45 $ rm /lib32
46
47 , but definitely NOT a recursive rm on that symlink.
48
49 I had to remove one of these two symlinks by hand (I can't remember
50 which one), and I've not had any trouble since. ("Since" meaning Saturday
51 evening.)
52
53 > The rest of the todo list worked fine. I'm just concerned about removing
54 > these files when they are owned by packages. 
55
56 > Thoughts?? 
57
58 As above, DON'T remove the files, just the symlink.
59
60 > Dale
61
62 > :-)  :-) 
63
64 --
65 Alan Mackenzie (Nuremberg, Germany).

Replies

Subject Author
Re: [gentoo-user] Profile switch to 17.1. Dale <rdalek1967@×××××.com>
Re: [gentoo-user] Profile switch to 17.1. Rich Freeman <rich0@g.o>