Gentoo Archives: gentoo-user

From: Dan Johansson <Dan.Johansson@×××.nu>
To: gentoo-user@l.g.o
Subject: [gentoo-user] portage insists in pulling in sys-apps/kmod
Date: Sat, 23 Mar 2013 17:42:33
Message-Id: 3565546.OiNQyl8pmS@queen
1 Hello,
2
3 Some of my servers are running with a kernel without module-support.
4 On these servers something has started to pull in sys-apps/kmod, which when compiled complains about missing modules-support in the kernel (as it should).
5 Doing an "equery d sys-apps/kmod" I can see that the following two packages depends on sy-apps/kmod:
6 sys-fs/udev-197-r8 (kmod ? >=sys-apps/kmod-12)
7 virtual/modutils-0 (sys-apps/kmod[tools])
8
9 sys-fs/udev has "-kmod" in its USE-flags, so that should not be an issue).
10 # emerge --verbose --pretend sys-fs/udev
11 [ebuild R ] sys-fs/udev-197-r8 USE="acl openrc -doc -gudev -hwdb -introspection -keymap -kmod (-selinux) -static-libs" 0 kB
12
13 With virtual/modutils its an other thing, here we have a circular dependency between virtual/modutils and sys-apps/kmod if the tools USE-flag is set.
14
15 So trying to resolve this a unmreged virtual/modutils and sys-apps/kmod and tried the following:
16
17 # USE="-tools" emerge --update --deep --verbose --reinstall changed-use --with-bdeps y world --pretend --tree
18
19 These are the packages that would be merged, in reverse order:
20
21 Calculating dependencies... done!
22 [ebuild N ] virtual/modutils-0 0 kB
23 [ebuild N ] sys-apps/modutils-2.4.27-r1 230 kB
24
25 Total: 2 packages (2 new), Size of downloads: 230 kB
26
27
28 # equery d sys-apps/modutils
29 * These packages depend on sys-apps/modutils:
30
31 # equery d virtual/modutils
32 * These packages depend on virtual/modutils:
33
34
35 Can someone explain to me why these two are getting re-emerged (nothing seems to depend on them and I have previously unmerged them)?
36
37 Regards,
38 --
39 Dan Johansson, <http://www.dmj.nu>
40 ***************************************************
41 This message is printed on 100% recycled electrons!
42 ***************************************************

Replies

Subject Author
Re: [gentoo-user] portage insists in pulling in sys-apps/kmod Mike Gilbert <floppym@g.o>