Re: Oops, no more /usr.
On Tue, Aug 24, 2004 at 08:05:28PM +0100, Thomas Adam wrote:
> On Tue, Aug 24, 2004 at 02:48:34PM -0400, PaulNM wrote:
> > 2: Is there a way to only reinstall packages with files in /usr? For
> > example, kernel-sources* has files placed in /usr, but kernel-image* do not.
>
> COLUMNS=200 dpkg -l | awk '/^ii/ {print $2}' | xargs apt-get --reinstall install
>
> Should do it for you.
'cept that there's no more /usr/bin/dpkg, or apt-get, or xargs, or awk, or ... ;-)
--
_ _ _ _ _ _ _ _ _ _ _ _ _
/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \
( t | i | m | @ | i | t | . | k | p | t | . | c | c )
\_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/
GPG key fingerprint = 1DEE CD9B 4808 F608 FBBF DC21 2807 D7D3 09CA 85BF
Reply to: