Re: How to restore original conffiles?
Henning Makholm wrote:
> The short story: How do I tell dpkg to re-install the conffiles in a
> package, overwriting any changes I've made myself?
Purge and re-install the package.
> I could not find any switches to tell dpkg that I *want* to lose my
> changes to this or that conffile, so eventually I ended up purging
> the whole package (use the --force!) and installing it anew.
>
> Surely that cannot be the only way to deal with such a situation? What
> have I missed - apart from backing up the file in question before
> hacking on it, but the original *was* there on the cdrom, right?
You can also extract the file from the deb with dpkg-deb -x and install it
manually, but that's the only other way I know of. Unless you have
.dpkg-orig files..
--
see shy jo
Reply to: