reinstall lost config files?

Tez binary_y2k2 at
Tue Sep 26 22:29:45 BST 2006

Christopher J. Bottaro wrote:
> Hello,
> I accidentally removed my /etc/mysql directory.  How can I get dpkg (or apt)
> to reinstall the config files there without removing/reinstalling the
> entire package (too many dependencies to do this).
> Thanks,
> -- C
"sudo apt-get --reinstall install [package]"

This will simply unpack the .deb again and configure it, you won't need
to mess with dependences.

You could do "sudo dpkg --unpack /path/to/package.deb" to just unpack it
again if you still have the .deb in /var/cache/apt/archives/


More information about the kubuntu-users mailing list