1 |
On Tuesday, 18 June 2019 17:03:38 BST Dale wrote: |
2 |
> Alan Mackenzie wrote: |
3 |
> > Hello, Dale. |
4 |
> > |
5 |
> > On Tue, Jun 18, 2019 at 10:12:32 -0500, Dale wrote: |
6 |
> >> Howdy, |
7 |
> >> I been working on the profile switch. I followed the directions in the |
8 |
> >> news item up until the rm part in #12. I did a equery b for a few files |
9 |
> >> in the two directories and it has files that equery shows belonging to |
10 |
> >> packages. They are not orphans since they are owned. Here is a list of |
11 |
> >> the files: |
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 -> |
27 |
> >> ../share/terminfo |
28 |
> >> drwxr-xr-x 2 root root 4096 Jun 17 21:35 tmpfiles.d |
29 |
> >> drwxr-xr-x 2 root root 4096 Apr 1 06:50 upower |
30 |
> >> drwxr-xr-x 2 root root 4096 Jun 17 10:55 vdpau |
31 |
> >> -rw-r--r-- 1 root root 266 Jun 17 03:26 xml2Conf.sh |
32 |
> >> root@fireball / # |
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 |
> > $ rm /lib32 |
45 |
> > |
46 |
> > , but definitely NOT a recursive rm on that symlink. |
47 |
> > |
48 |
> > I had to remove one of these two symlinks by hand (I can't remember |
49 |
> > which one), and I've not had any trouble since. ("Since" meaning Saturday |
50 |
> > evening.) |
51 |
> > |
52 |
> >> The rest of the todo list worked fine. I'm just concerned about removing |
53 |
> >> these files when they are owned by packages. |
54 |
> >> Thoughts?? |
55 |
> > |
56 |
> > As above, DON'T remove the files, just the symlink. |
57 |
> > |
58 |
> >> Dale |
59 |
> >> |
60 |
> >> :-) :-) |
61 |
> |
62 |
> Ahhhh. I didn't catch that it is only removing the symlinks. Now that |
63 |
> makes me feel a little better about doing that. Since I have it set to |
64 |
> keep a binary of all my packages anyway, I just may run emerge -K world |
65 |
> and let it do its thing afterwards just to be sure. I guess that would |
66 |
> work. |
67 |
> |
68 |
> Thanks for that info. I read it but it didn't hit me as to what it meant. |
69 |
> |
70 |
> Dale |
71 |
> |
72 |
> :-) :-) |
73 |
|
74 |
|
75 |
What Alan said. List the two directories /lib32 and /usr/lib32 *without* a |
76 |
"/" at the end. They should indicate they are a symlink. |
77 |
|
78 |
-- |
79 |
Regards, |
80 |
Mick |