Page 1 of 1

Debian apt "remembering" things I don't want

Posted: Fri Dec 15, 2006 2:01 pm
by Chris Corbyn
I installed exim, my MTA of choice and accidentally chose the wrong option when it brought up a ncurses screen during the install. I chose to have a single config file rather than split. So I tried removing with "apt-get remove" and it worked but it left the config files. I deleted the config files manually and re-installed but the installer keeps halting and saying it can't find the config files. WTF?????? Surely it should be putting them there itself? :(

I tried deleteing the .deb files from /var/cache/apt/archive but I'm still getting this problem. How do I "reset" apt so I can install this service the way I want? I can't install it at all now :(

Cheers

Posted: Fri Dec 15, 2006 2:13 pm
by redmonkey
Try --purge ing them with dpkg. But note that it will also remove any other config files that have been placed in directories that the exim install package created.

Posted: Fri Dec 15, 2006 2:30 pm
by Chris Corbyn
redmonkey wrote:Try --purge ing them with dpkg. But note that it will also remove any other config files that have been placed in directories that the exim install package created.
Yeah it can remove every last trace for all I'm conerned. I only installed it, poked around in the config then changed my mind and caused all this havoc.

I think debconf is what's remembering stuff :)

w00t! Just tried it and it was exim4-config I needed to purge.

Thanks for that.