[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: package purging and app configuration




On Sun, 2 Nov 2003, Haines Brown wrote:

>
> I installed a dict front end (ding) and somehow inadvertently
> configured it for "" as background color. I can't figure out in the
> startup script how to correct that, and so decided simply to reinstall
> ding.
>
> I ran: aptitude purge ding, and then did a new installation. However,
> the script error remains, suggesting that purge did not remove
> configuration files.
>
> How should I have gone about removing an application so that its
> original configuration files are deleted?
>
> Haines Brown
>
Hi Haines,
/var/lib/dpkg/info/ding.list is a file that is part of the ding .deb
package.

if you look at it, it will tell you where all the files that
ding installed are.

/var/lib/dpkg/info/ding.postinst is the post-install script
/var/lib/dpkg/info/ding.postrm is the post-remove scirpt
.../ding.preinst is the pre-install script
.../ding.prerm is the pre-remove script

check them and see which line is causing the problem.

if needed, comment a line out, if this helps you remove or purge or
reinstall. and then re/install it and see if this fixes the problem.

BUT if you have to change a script, its a bug. If you found it,
thousands of others will too, so file a report to speed up the bug-fix
process!

HTH
-Kevin



Reply to: