Re: Reinstall a package
neonatus@neonatus.net writes:
> I have lost several files due to an fs inconsistency on ext2 fs, I
> would therefore like to just reinstall certain packages, to replace
> the lost files. Is there an easy was how this can be done? I
> checked the dpkg man page and did not find anything like reinstall.
'dpkg -i foo.deb' will reinstall the package foo, if it's already
installed. If you want to use APT, you've to use --reinstall in
addition to 'install'.
hth,
moritz
--
Moritz Schulte <moritz@chaosdorf.de> http://www.chaosdorf.de/moritz/
Debian/GNU supporter - http://www.debian.org/ http://www.gnu.org/
GPG fingerprint = 3A14 3923 15BE FD57 FC06 B501 0841 2D7B 6F98 4199
Reply to: