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

Re: Howto reinstall corrupted package?



On Thu, Feb 12, 2004 at 05:06:49AM +0200, Micha Feigin said
> On Wed, Feb 11, 2004 at 05:03:12PM -0500, Adam Aube wrote:
> > On Wednesday 11 February 2004 03:01 pm, Frank A. Uepping wrote:
> > > After the corrupted package is identified, how can I reinstall the
> > > package? Of course, I can uninstall/install the package but this will
> > > force me to uninstall/install all dependents?
> > 
> 
> debsums will check all files against their md5 sums
> 
> > apt-get install --reinstall [package name]
> > 
> 
> This will usually work, but occasionally some files (mostly generated
> ones) wont be rebuilt.
> To get passed uninstalling dependencies you can do a
> dpkg -r --force-all or dpkg -P --force-all

Don't use --force-all, that's silly.  You only need --force-depends.
Also, it's worth mentioning that -P will remove, without backing up, all
the config files that package owns.

-- 
Rob Weir <rweir@ertius.org> | mlspam@ertius.org  |  Do I look like I want a CC?
Words of the day:    Mantis BLU-114/B Armani csim AK-47 clones ARPA FBI embassy

Attachment: signature.asc
Description: Digital signature


Reply to: