On Fri, Dec 26, 2014 at 9:10 AM, Alec Ten Harmsel <a...@alectenharmsel.com> wrote: > > Just curious; is this even possible? `emerge --depclean --ask --verbose > sys-apps/openrc` gives: > > Calculating dependencies... done! > sys-apps/openrc-0.12.4 pulled in by: > @system requires sys-apps/openrc > net-misc/netifrc-0.2.2 requires >=sys-apps/openrc-0.12 > virtual/service-manager-0 requires sys-apps/openrc > > wat? netifrc is a bunch of udev/networking stuff; I use wicd, is this > even necessary? FYI, `emerge --depclean --ask --verbose netifrc` gives: > > Calculating dependencies... done! > net-misc/netifrc-0.2.2 pulled in by: > sys-apps/openrc-0.12.4 requires net-misc/netifrc > > I'd rather not have both installed, although it doesn't really matter > that much. It makes sense that @system requires virtual/service-manager, > but why on earth does systemd not provide that virtual? I just checked > the ebuild and eclass to make sure.
Mmmh. No ebuild in the tree "provides" any virtual. A virtual *specifies* which packages can satisfy it: RDEPEND=" prefix? ( >=sys-apps/baselayout-prefix-2.2 ) !prefix? ( || ( sys-apps/openrc kernel_linux? ( || ( sys-apps/systemd sys-process/runit virtual/daemontools ) ) ) )" This is from virtual/service-manager/service-manager-0.ebuild. As you can see, with kernel_linux, systemd satisfies the virtual. OpenRC is being pulled in by something else, I believe netifrc. Check what is pulling netifrc, which in turn pulls in OpenRC. I think you should be able to get rid of it. It's totally possible to uninstall OpenRC; I haven't had it installed in years. Nowadays you don't even need to do any tricks to do it. (I have sys-fs/udev-init-scripts in package.provided, but only because it's completely useless to me: those are the udev scripts for OpenRC when sys-apps/systemd is installed instead of sys-fs/udev). Regards. -- Canek Peláez Valdés Profesor de asignatura, Facultad de Ciencias Universidad Nacional Autónoma de México