On Tue, Aug 24, 2004 at 02:48:34PM -0400, PaulNM wrote:
> 1: Should I tar /etc before this and overwrite it again afterwards? If 
> so, are there any other directories I should do the same to?

Unless you have made a lot of modifications, no. Of course, if you had made
modifications, you'd have done so via local files under $HOME.

> 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.

-- Thomas Adam
-- 
"Frankly, Mr. Shankly, since you ask. You are a flatulent pain in 
the arse." -- Morrissey.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to