I have a server running Ubuntu and a program which was installed with apt-get install and I'd like to see the unmodified config file (e.g. /etc/foo/foo.cfg) so that I can diff it against the current version to see what modifications were made. Is there an easy way to do this, perhaps with some sort of apt command?
| |||
|
feedback
|
|
As far as I know you can only achieve this if you still have the original .deb around, but most of the time a similar one should be enough. I think this superuser.com link answers this question more thoroughly than I could: http://superuser.com/questions/69045/how-do-i-get-the-default-configuration-from-a-deb-file | |||
|
feedback
|
|
As a preventative measure, install etckeeper | |||
|
feedback
|