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

Re: Automatically repair configuration files

On Tue,12.May.09, 09:23:50, Angelin Lalev wrote:
> One of my xen domains just crashed and left the ext3 filesystem of one
> of my DomU debian installations in a horrible state. Subsequent fsck
> deleted a bunch of files. 
> Now I want to fix a package or two by reinstalling the configurations. 
> aptitude purge package && aptitude install package 
> howewer seems to be the wrong approach. I got 'not reinstalling deleted
> file' etc.
> Is there a way to do it painlessly and automatically with aptitude ?

I think you need 'dpkg -i --force-confmiss <package-file.deb>'. If you 
didn't run 'aptitude clean' lately you should find the .debs in 

If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature

Reply to: