[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: BIG Problem...need BIG Medicine



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.

Once again, thank you so much.  I thought I was totally screwed.

-- 
wcrowshaw



Reply to: