Re: BIG Problem...need BIG Medicine
On Wed, Mar 28, 2001 at 11:01:55AM -0500, W. Crowshaw wrote:
> On Wed, Mar 28, 2001 at 04:47:39AM -0400, Peter Cordes wrote:
> >
> > 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.
> >
> Thank you SO MUCH!! For some reason the grep | sed | xargs apt-get command
> didn't work together. But independently using grep and sed I got the list
> of packages that I needed.
cool, glad I could help.
> Once again, thank you so much. I thought I was totally screwed.
You were, just not unrecoverably so :)
--
#define X(x,y) x##y
Peter Cordes ; e-mail: X(peter@llama.nslug. , 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
Reply to: