I have a Gentoo system that is configured to use the systemd init system. Openrc is not installed. A recent update updated perl, and this requires one to run the "perl-cleaner" tool to fix it. However this tool depends on components from openrc and will not run. Some emerges now also fail because they require a working perl installation. So how does one go about updating perl on a systemd system?
Well, sometime soon, perl-cleaner will be deprecated in favour of all perl ebuilds using subslots and slot-operators ( bug 479298 ). But it's unclear when that's actually going to happen.
(In reply to Keith Dart from comment #0) > I have a Gentoo system that is configured to use the systemd init system. > Openrc is not installed. A recent update updated perl, and this requires one > to run the "perl-cleaner" tool to fix it. However this tool depends on > components from openrc and will not run. Some emerges now also fail because > they require a working perl installation. > > So how does one go about updating perl on a systemd system? sys-apps/openrc has been added to the system set until bug #373219 is resolved. Don't unmerge openrc until that is resolved-- you will break perl-cleaner, gcc-config, and many others. The situation is not great, but it should not be a problem to keep openrc installed for a couple more weeks.
Temporarily use https://373219.bugs.gentoo.org/attachment.cgi?id=303775 as /etc/init.d/functions.sh if your system broke due to unmerging sys-apps/openrc.