It sounds like the mistake was on your hand. baselayout isn't udated as often, unless you are ~**. the missing files are from any baselayout, not just the version you are stating.

*** WARNING *** Depclean may break link level dependencies. Thus, it is *** WARNING *** recommended to use a tool such as `revdep-rebuild` (from *** WARNING *** app-portage/gentoolkit) in order to detect such breakage.
*** WARNING ***
*** WARNING *** Also study the list of packages to be cleaned for any obvious *** WARNING *** mistakes. Packages that are part of the world set will always
*** WARNING ***  be kept.  They can be manually added to this set with
*** WARNING *** `emerge --noreplace <atom>`. Packages that are listed in
*** WARNING ***  package.provided (see portage(5)) will be removed by
*** WARNING ***  depclean, even if they are part of the world set.
*** WARNING ***
*** WARNING *** As a safety measure, depclean will not remove any packages *** WARNING *** unless *all* required dependencies have been resolved. As a
*** WARNING ***  consequence, it is often necessary to run
*** WARNING *** `emerge --update --newuse --deep world` prior to depclean.

Plenty of warning there. Not recommended to --depclean. UNLESS absolutely necessary.

deface



On Jan 27, 2008, at 9:10 PM, Alex Schuster wrote:

Hi there!

I just did an emerge -uDN on my system, followed by revdep-rebuild and
emerge --depclean. When rebooting, my system did not come up because of
missing things like /sbin/rc. Argh! Good thing I had a backup, after
copying some files back the system was up again, and I could go to bed.
Bad idea anyway to do a reboot on a critical machine at 6 AM.

The missing files belong to sys-apps/baselayout-1.12.10-r5 which I had
just installed recently. I had masked it for a while
because I want to update such critical packages only when I am home at
the server, while most of the time I am far away from it.

The depclean removed an older baselayout which was also installed, I guess
that removed the files. Why did that happen, and why did I have two
baselayouts installed in parallel?

These are the missing files:

/etc/env.d/00basic
/etc/init.d/depscan.sh
/etc/init.d/functions.sh
/etc/init.d/runscript.sh
/sbin/depscan.sh
/sbin/functions.sh
/sbin/rc
/sbin/rc-update
/sbin/runscript
/sbin/runscript.sh
/sbin/start-stop-daemon
/sbin/update-rc
/usr/sbin/MAKEDEV

        Alex
--
[email protected] mailing list


--
[email protected] mailing list

Reply via email to