public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <dalek@exceedtech.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Accidentally deleted contents of /sbin
Date: Thu, 16 Nov 2006 18:11:29 -0600	[thread overview]
Message-ID: <455CFE31.8000202@exceedtech.net> (raw)
In-Reply-To: <c001995e0611161410j531693e3y9d2d553a5c31264c@mail.gmail.com>

James Colby wrote:
>>
>> # cd /var/db/pkg && emerge -va1 $(for pkg in */*; do
>>         cut -d' ' -f2 "${pkg}"/CONTENTS | grep -q '^/sbin/' && echo
>> "=${pkg}"
>>     done)
>>
>> -- 
> Thanks for the advice everybody.  I ran this command and it just
> finished successfully.  I had one file in /etc that needed updating,
> and when I tried to run etc-update it was missing.  Should I try to
> emerge world?
>
> Thanks,
> James

May want to emerge portage.  That is where that command comes from.

> root@smoker / # equery belongs etc-update
> [ Searching for file(s) etc-update in *... ]
> sys-apps/portage-2.1.1-r1 (/usr/sbin/etc-update ->
> ../lib/portage/bin/etc-update)
> sys-apps/portage-2.1.1-r1 (/usr/lib/portage/bin/etc-update)
> root@smoker / #


If it were me, I would still do a emerge -e world, just to be sure. 

Dale

:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2006-11-17  0:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-16 16:23 [gentoo-user] Accidentally deleted contents of /sbin James Colby
2006-11-16 16:28 ` Geistteufel
2006-11-16 16:39 ` Bo Ørsted Andresen
2006-11-16 22:10   ` James Colby
2006-11-16 22:43     ` Flophouse Joe
2006-11-17  0:11     ` Dale [this message]
2006-11-17  0:35       ` Neil Bothwick
2006-11-17  0:35       ` James Colby
2006-11-17  3:17         ` Dale
2006-11-17 10:20         ` Neil Bothwick
2006-11-16 16:40 ` Flophouse Joe
2006-11-16 16:48   ` Flophouse Joe
2006-11-16 16:49   ` Bo Ørsted Andresen
2006-11-16 17:05     ` Flophouse Joe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=455CFE31.8000202@exceedtech.net \
    --to=dalek@exceedtech.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox