Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] --depclean wants to remove udev. What!?
Date: Mon, 20 Jun 2022 02:46:51
Message-Id: e090ad8c-c9d2-0aa1-3b1e-161b72e8163b@gmail.com
In Reply to: [gentoo-user] --depclean wants to remove udev. What!? by Dale
1 Dale wrote:
2 > Howdy all,
3 >
4 > Once a month or so, or when told to by a news item, I run emerge with
5 > the --depclean option.  I look at the list in case there something there
6 > I want to keep or something that shouldn't be removed, like gcc or
7 > something.  I ran it a bit ago and got back this: 
8 >
9 >
10 >>>>> These are the packages that would be unmerged:
11 >>  dev-lang/vala
12 >>     selected: 0.52.10
13 >>    protected: none
14 >>      omitted: 0.54.7 0.56.1
15 >>
16 >>  sys-apps/systemd-tmpfiles
17 >>     selected: 250
18 >>    protected: none
19 >>      omitted: none
20 >>
21 >>  dev-libs/rapidjson
22 >>     selected: 1.1.0-r3
23 >>    protected: none
24 >>      omitted: none
25 >>
26 >>  sys-fs/udev
27 >>     selected: 250
28 >>    protected: none
29 >>      omitted: none
30 >>
31 >>  sys-devel/clang
32 >>     selected: 13.0.1
33 >>    protected: none
34 >>      omitted: 14.0.4
35 >>
36 >>  sys-devel/clang-runtime
37 >>     selected: 13.0.1
38 >>    protected: none
39 >>      omitted: 14.0.4
40 >>
41 >>  sys-libs/compiler-rt
42 >>     selected: 13.0.1
43 >>    protected: none
44 >>      omitted: 14.0.4
45 >>
46 >>  sys-libs/compiler-rt-sanitizers
47 >>     selected: 13.0.1
48 >>    protected: none
49 >>      omitted: 14.0.4
50 >>
51 >>  sys-devel/llvm
52 >>     selected: 13.0.1
53 >>    protected: none
54 >>      omitted: 14.0.4
55 >>
56 >> All selected packages: =sys-devel/clang-runtime-13.0.1
57 >> =sys-libs/compiler-rt-13.0.1 =sys-libs/compiler-rt-sanitizers-13.0.1
58 >> =sys-devel/clang-13.0.1 =dev-lang/vala-0.52.10
59 >> =sys-apps/systemd-tmpfiles-250 =sys-fs/udev-250 =sys-devel/llvm-13.0.1
60 >> =dev-libs/rapidjson-1.1.0-r3
61 >>
62 >>>>> 'Selected' packages are slated for removal.
63 >>>>> 'Protected' and 'omitted' packages will not be removed.
64 >> Would you like to unmerge these packages? [Yes/No]
65 >
66 >
67 > The part that has me concerned is sys-fs/udev.  There's another that I'm
68 > not sure about but that one caught my eye right away.  I don't recall
69 > seeing anything posted on -dev about switching to something else or udev
70 > no longer being needed and being removed.  I'm confused here.  Isn't the
71 > virtual supposed to prevent this from being removed?  Is this a portage
72 > change or did I mess something up somewhere? 
73 >
74 > This is what I show here depending either on the virtual or udev itself. 
75 >
76 >
77 >> root@fireball / # equery d sys-fs/udev
78 >>  * These packages depend on sys-fs/udev:
79 >> virtual/libudev-232-r7 (!systemd ?
80 >> sys-fs/udev[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
81 >> virtual/udev-217-r5 (sys-fs/udev)
82 >> root@fireball / # equery d virtual/udev
83 >>  * These packages depend on virtual/udev:
84 >> app-crypt/zulucrypt-5.5.0_pre20180223 (udev ? virtual/udev)
85 >> app-pda/usbmuxd-1.1.1 (virtual/udev)
86 >> dev-libs/libinput-1.20.1 (virtual/udev)
87 >> media-video/vlc-3.0.17.4 (udev ? virtual/udev)
88 >> net-misc/dhcpcd-9.4.1 (udev ? virtual/udev)
89 >> sys-block/f3-8.0 (extra ? virtual/udev)
90 >> sys-fs/cryptmount-5.3.3-r2 (udev ? virtual/udev)
91 >> sys-fs/udev-init-scripts-34 (>=virtual/udev-217)
92 >> sys-fs/udisks-2.9.4 (virtual/udev)
93 >> sys-kernel/dracut-055-r4 (virtual/udev)
94 >> sys-libs/libblockdev-2.26 (lvm ? virtual/udev)
95 >> sys-power/nut-2.7.4-r8 (virtual/udev)
96 >> sys-power/upower-0.99.17 (kernel_linux ? virtual/udev)
97 >> virtual/dev-manager-0-r2 (virtual/udev)
98 >> x11-misc/spacefm-1.0.6-r1 (virtual/udev)
99 >> xfce-base/thunar-4.16.11 (udisks ? virtual/udev)
100 >> xfce-extra/thunar-volman-4.16.0 (virtual/udev)
101 >> root@fireball / # 
102 >
103 > This is the packages I have installed containing udev. 
104 >
105 >
106 >> root@fireball / # equery list *udev*
107 >>  * Searching for *udev* ...
108 >> [IP-] [  ] dev-libs/libgudev-237-r1:0/0
109 >> [IP-] [  ] sys-fs/udev-250:0
110 >> [IP-] [  ] sys-fs/udev-init-scripts-34:0
111 >> [IP-] [  ] virtual/libudev-232-r7:0/1
112 >> [IP-] [  ] virtual/udev-217-r5:0
113 >> root@fireball / # 
114 >
115 >
116 > Anyone have ideas on this?  I mess up something?  Catch the tree in a
117 > bad state?  Something else I'm not aware of?  It's not making sense to
118 > me yet.  :/
119 >
120 > Thanks.
121 >
122 > Dale
123 >
124 > :-)  :-) 
125 >
126
127
128 I think I found something but not sure if it is what I think it is.  The
129 virtual says it needs one of the following:
130
131
132 sys-apps/systemd-utils[udev]
133 sys-fs/udev
134 >=sys-fs/eudev-2.1.1
135 >=sys-apps/systemd-217
136
137
138 Since systemd-utils is at the top, I looked to see if it was installed
139 or not, and it is. 
140
141 [IP-] [  ] sys-apps/systemd-utils-250.7:0
142
143 as is:
144
145 sys-fs/udev-250
146
147
148 So, I think it wants to remove udev and use the other.  This is what
149 depends on the systemd package. 
150
151
152 root@fireball / # equery d sys-apps/systemd-utils
153  * These packages depend on sys-apps/systemd-utils:
154 sys-apps/systemd-tmpfiles-250 (sys-apps/systemd-utils[tmpfiles])
155 sys-fs/udev-250
156 (sys-apps/systemd-utils[udev,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
157 virtual/libudev-232-r7 (!systemd ?
158 sys-apps/systemd-utils[udev,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
159 virtual/tmpfiles-0-r3 (!prefix-guest ? sys-apps/systemd-utils[tmpfiles])
160 virtual/udev-217-r5 (sys-apps/systemd-utils[udev])
161 root@fireball / #
162
163
164 At this point, I'm stumped.  It looks like something depends on itself
165 or something.  < me thinks > 
166
167 Does this helps anybody that understands this?
168
169 Dale
170
171 :-)  :-) 

Replies

Subject Author
[gentoo-user] Re: --depclean wants to remove udev. What!? Martin Vaeth <martin@×××××.de>