1 |
On Fri, Dec 26, 2014 at 11:56 AM, Alec Ten Harmsel <alec@××××××××××××××.com> |
2 |
wrote: |
3 |
> |
4 |
> |
5 |
> On 12/26/2014 11:38 AM, Canek Peláez Valdés wrote: |
6 |
> |
7 |
> On Fri, Dec 26, 2014 at 9:10 AM, Alec Ten Harmsel <alec@××××××××××××××.com> |
8 |
wrote: |
9 |
> > |
10 |
> > Just curious; is this even possible? `emerge --depclean --ask --verbose |
11 |
> > sys-apps/openrc` gives: |
12 |
> > |
13 |
> > Calculating dependencies... done! |
14 |
> > sys-apps/openrc-0.12.4 pulled in by: |
15 |
> > @system requires sys-apps/openrc |
16 |
> > net-misc/netifrc-0.2.2 requires >=sys-apps/openrc-0.12 |
17 |
> > virtual/service-manager-0 requires sys-apps/openrc |
18 |
> > |
19 |
> > wat? netifrc is a bunch of udev/networking stuff; I use wicd, is this |
20 |
> > even necessary? FYI, `emerge --depclean --ask --verbose netifrc` gives: |
21 |
> > |
22 |
> > Calculating dependencies... done! |
23 |
> > net-misc/netifrc-0.2.2 pulled in by: |
24 |
> > sys-apps/openrc-0.12.4 requires net-misc/netifrc |
25 |
> > |
26 |
> > I'd rather not have both installed, although it doesn't really matter |
27 |
> > that much. It makes sense that @system requires virtual/service-manager, |
28 |
> > but why on earth does systemd not provide that virtual? I just checked |
29 |
> > the ebuild and eclass to make sure. |
30 |
> |
31 |
> Mmmh. No ebuild in the tree "provides" any virtual. A virtual *specifies* |
32 |
which packages can satisfy it: |
33 |
> |
34 |
> RDEPEND=" |
35 |
> prefix? ( >=sys-apps/baselayout-prefix-2.2 ) |
36 |
> !prefix? ( |
37 |
> || ( |
38 |
> sys-apps/openrc |
39 |
> kernel_linux? ( || ( |
40 |
> sys-apps/systemd |
41 |
> sys-process/runit |
42 |
> virtual/daemontools |
43 |
> ) ) ) )" |
44 |
> |
45 |
> |
46 |
> *facepalm*... I didn't look at this. embarrassing. |
47 |
> |
48 |
> |
49 |
> |
50 |
> This is from virtual/service-manager/service-manager-0.ebuild. As you can |
51 |
see, with kernel_linux, systemd satisfies the virtual. |
52 |
> |
53 |
> OpenRC is being pulled in by something else, I believe netifrc. Check |
54 |
what is pulling netifrc, which in turn pulls in OpenRC. I think you should |
55 |
be able to get rid of it. |
56 |
> |
57 |
> |
58 |
> OpenRC is pulled in by @system - even `emerge -ca openrc netifrc` won't |
59 |
proceed because OpenRC is in @system. |
60 |
|
61 |
Yeah; you are right, I had to put |
62 |
|
63 |
-*sys-apps/openrc |
64 |
-*sys-apps/net-tools |
65 |
|
66 |
in /etc/portage/profile/packages so portage would stop bothering me about |
67 |
those two. Sorry, I forgot about that. |
68 |
|
69 |
> As for kernel_linux, is this something that can go in make.conf (i.e. |
70 |
KERNEL="linux")? |
71 |
|
72 |
I think you should not play with that. But that's me. |
73 |
|
74 |
> It's totally possible to uninstall OpenRC; I haven't had it installed in |
75 |
years. Nowadays you don't even need to do any tricks to do it. |
76 |
> |
77 |
> |
78 |
> I got rid of it (emerge --unmerge, hehe). Some red text warning me of |
79 |
removing system software, but whatever. Subsequent world updates and |
80 |
depcleans show no changes except getting rid of sysvinit. |
81 |
|
82 |
Off with its head. |
83 |
|
84 |
Regards. |
85 |
-- |
86 |
Canek Peláez Valdés |
87 |
Profesor de asignatura, Facultad de Ciencias |
88 |
Universidad Nacional Autónoma de México |