Debian apt "remembering" things I don't want

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Debian apt "remembering" things I don't want

Post 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
redmonkey
Forum Regular
Posts: 836
Joined: Thu Dec 18, 2003 3:58 pm

Post 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.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post 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.
Post Reply