Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Profile switch to 17.1.
Date: Tue, 18 Jun 2019 16:03:46
Message-Id: 5ffc62fc-407b-55bc-07c5-1fbad729e1b1@gmail.com
In Reply to: Re: [gentoo-user] Profile switch to 17.1. by Alan Mackenzie
1 Alan Mackenzie wrote:
2 > Hello, Dale.
3 >
4 > On Tue, Jun 18, 2019 at 10:12:32 -0500, Dale wrote:
5 >> Howdy,
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 >> root@fireball / # ls -al /lib32/
12 >> total 3956
13 >> drwxr-xr-x 14 root root    4096 Jun 17 23:14 .
14 >> drwxr-xr-x 22 root root   36864 Jun 17 01:18 ..
15 >> lrwxrwxrwx  1 root root      12 Jun 17 19:25 cpp -> /usr/bin/cpp
16 >> drwxr-xr-x  3 root root    4096 Jun 17 19:46 dhcpcd
17 >> drwxr-xr-x 70 root root   12288 Jun 17 19:19 firmware
18 >> drwxr-xr-x  2 root root    4096 Jun 17 19:21 gentoo
19 >> drwxr-xr-x  3 root root    4096 Dec  9  2010 grub
20 >> -rw-r--r--  1 root root       0 Nov 17  2010 .keep
21 > [ .... ]
22 >
23 >> -rw-r--r--  1 root root      773 Jun 17 02:51 tclooConfig.sh
24 >> lrwxrwxrwx  1 root root       17 Jun 17 03:22 terminfo -> ../share/terminfo
25 >> drwxr-xr-x  2 root root     4096 Jun 17 21:35 tmpfiles.d
26 >> drwxr-xr-x  2 root root     4096 Apr  1 06:50 upower
27 >> drwxr-xr-x  2 root root     4096 Jun 17 10:55 vdpau
28 >> -rw-r--r--  1 root root      266 Jun 17 03:26 xml2Conf.sh
29 >> root@fireball / #
30 >
31 >> As one can see, some of those could be important.  I noticed grub,
32 >> nvidia, dracut and others that could cause issues if they failed.  Is it
33 >> really safe to just rm them or did I miss something?  Do I need to do
34 >> something else not mentioned in the news item for this? 
35 > At this stage, /lib32 should be a symlink. I think that step 12 means
36 > just the symlink should be removed, NOT all the stuff inside what it
37 > points to.
38 >
39 > So I think what you should do is:
40 >
41 > $ rm /lib32
42 >
43 > , but definitely NOT a recursive rm on that symlink.
44 >
45 > I had to remove one of these two symlinks by hand (I can't remember
46 > which one), and I've not had any trouble since. ("Since" meaning Saturday
47 > evening.)
48 >
49 >> The rest of the todo list worked fine. I'm just concerned about removing
50 >> these files when they are owned by packages. 
51 >> Thoughts?? 
52 > As above, DON'T remove the files, just the symlink.
53 >
54 >> Dale
55 >> :-)  :-) 
56
57
58 Ahhhh.  I didn't catch that it is only removing the symlinks.  Now that
59 makes me feel a little better about doing that.  Since I have it set to
60 keep a binary of all my packages anyway, I just may run emerge -K world 
61 and let it do its thing afterwards just to be sure.  I guess that would
62 work. 
63
64 Thanks for that info.  I read it but it didn't hit me as to what it meant. 
65
66 Dale
67
68 :-)  :-) 

Replies

Subject Author
Re: [gentoo-user] Profile switch to 17.1. Mick <michaelkintzios@×××××.com>