On Tue, Mar 27, 2001 at 08:37:34PM -0800, William Crowshaw wrote: > O.K., I am a little embarrased to admit it but I just > remove the all important /bin directory. Am I simply > screwed? Do I need to do a clean install? If not, > how do I re-install the missing apps? > > Any advice would be GREATLY appreciated.
use debsums to find the packages that are broken, and apt-get --reinstall install them. (or grep -l '^[\./]*bin/' /var/lib/dpkg/info/*.list | # find pkgs with file in /bin sed -e sX/var/lib/dpkg/info/XX -e 'sX\.list$XX' | # strip down to pkg name xargs apt-get --reinstall install # reinstall them. BTW, you'll need to manually download grep and sed packages, since they live in /bin! :( Or you could do it with perl. -- #define X(x,y) x##y Peter Cordes ; e-mail: X([EMAIL PROTECTED] , ns.ca) "The gods confound the man who first found out how to distinguish the hours! Confound him, too, who in this place set up a sundial, to cut and hack my day so wretchedly into small pieces!" -- Plautus, 200 BCE