Re: [gentoo-user] Accidentally deleted contents of /sbin

2006-11-17 Thread Neil Bothwick
On Thu, 16 Nov 2006 19:35:36 -0500, James Colby wrote: Does emerge -e world add anything to the world file? No. -- Neil Bothwick What is the difference between Mechanical Engineers and Civil Engineers? Mechanical Engineers build weapons, Civil Engineers build targets. signature.asc

[gentoo-user] Accidentally deleted contents of /sbin

2006-11-16 Thread James Colby
List Members - I was trying to delete some files from my /sbin directory and with an unfortunate use of a wildcard accidentally deleted the entire contents on the /sbin directory. I have recovered the contents of the /sbin directory from a stage 3 tarball. I was thinking about doing an emerge

Re: [gentoo-user] Accidentally deleted contents of /sbin

2006-11-16 Thread Geistteufel
Oh, it's not really usefull to rebuild all just rebuild this: equery b /sbin so. .. it will give you all package which install something in /sbin just rebuild it Le Thu, 16 Nov 2006 17:23:17 +0100, James Colby [EMAIL PROTECTED] a écrit: List Members - I was trying to delete some files from

Re: [gentoo-user] Accidentally deleted contents of /sbin

2006-11-16 Thread Bo Ørsted Andresen
On Thursday 16 November 2006 17:23, James Colby wrote: I was trying to delete some files from my /sbin directory and with an unfortunate use of a wildcard accidentally deleted the entire contents on the /sbin directory. I have recovered the contents of the /sbin directory from a stage 3

Re: [gentoo-user] Accidentally deleted contents of /sbin

2006-11-16 Thread Flophouse Joe
On Thu, 16 Nov 2006, James Colby wrote: I was trying to delete some files from my /sbin directory and with an unfortunate use of a wildcard accidentally deleted the entire contents on the /sbin directory. I have recovered the contents of the /sbin directory from a stage 3 tarball. I was

Re: [gentoo-user] Accidentally deleted contents of /sbin

2006-11-16 Thread Flophouse Joe
On Thu, 16 Nov 2006, Flophouse Joe wrote: Yes, I think an emerge --deep --emptytree world would be in order. Wow. The other posters are right. Re-emerging everything is a waste of time. It'd be much easier to re-emerge only the packages that had placed files into /sbin . Thanks,

Re: [gentoo-user] Accidentally deleted contents of /sbin

2006-11-16 Thread Bo Ørsted Andresen
On Thursday 16 November 2006 17:40, Flophouse Joe wrote: Yes, I think an emerge --deep --emptytree world would be in order. Why? And what exactly do you expect --deep to do with --emptytree? -- Bo Andresen pgpUMZ2pehxcd.pgp Description: PGP signature

Re: [gentoo-user] Accidentally deleted contents of /sbin

2006-11-16 Thread Flophouse Joe
On Thu, 16 Nov 2006, Bo ?rsted Andresen wrote: On Thursday 16 November 2006 17:40, Flophouse Joe wrote: Yes, I think an emerge --deep --emptytree world would be in order. Why? And what exactly do you expect --deep to do with --emptytree? Using --deep is a force of habit for upgrades, so I'm

Re: [gentoo-user] Accidentally deleted contents of /sbin

2006-11-16 Thread James Colby
# 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

Re: [gentoo-user] Accidentally deleted contents of /sbin

2006-11-16 Thread Flophouse Joe
On Thu, 16 Nov 2006, James Colby wrote: I had one file in /etc that needed updating, and when I tried to run etc-update it was missing. I'm not clear on what's happened. Is it etc-update that's missing or is it something else? Joe -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Accidentally deleted contents of /sbin

2006-11-16 Thread Dale
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,

Re: [gentoo-user] Accidentally deleted contents of /sbin

2006-11-16 Thread Neil Bothwick
On Thu, 16 Nov 2006 18:11:29 -0600, Dale wrote: If it were me, I would still do a emerge -e world, just to be sure. You can check all packages for missing or corrupt files with equery -C list kdebase | awk '/\// {print $((NF - 1))}' | sed 's;^;=;' | xargs --max-lines=1 equery check --

Re: [gentoo-user] Accidentally deleted contents of /sbin

2006-11-16 Thread James Colby
If it were me, I would still do a emerge -e world, just to be sure. Dale Does emerge -e world add anything to the world file? Do I need to add the --oneshot option to this to keep my world file clean Thanks, James -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Accidentally deleted contents of /sbin

2006-11-16 Thread Dale
James Colby wrote: If it were me, I would still do a emerge -e world, just to be sure. Dale Does emerge -e world add anything to the world file? Do I need to add the --oneshot option to this to keep my world file clean Thanks, James From what I understand, it takes the packages listed