Gentoo Archives: gentoo-user

From: James Colby <jcolby@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Accidentally deleted contents of /sbin
Date: Thu, 16 Nov 2006 22:14:50
Message-Id: c001995e0611161410j531693e3y9d2d553a5c31264c@mail.gmail.com
In Reply to: Re: [gentoo-user] Accidentally deleted contents of /sbin by "Bo Ørsted Andresen"
1 >
2 > # cd /var/db/pkg && emerge -va1 $(for pkg in */*; do
3 > cut -d' ' -f2 "${pkg}"/CONTENTS | grep -q '^/sbin/' && echo "=${pkg}"
4 > done)
5 >
6 > --
7 Thanks for the advice everybody. I ran this command and it just
8 finished successfully. I had one file in /etc that needed updating,
9 and when I tried to run etc-update it was missing. Should I try to
10 emerge world?
11
12 Thanks,
13 James
14 --
15 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Accidentally deleted contents of /sbin Flophouse Joe <flophousejoe-gentoo-user-xdzvne@××××××××××××.org>
Re: [gentoo-user] Accidentally deleted contents of /sbin Dale <dalek@××××××××××.net>