Re: Struggling to remove old config files.
On Tue, 01 Mar 2011, Michael Lustfield wrote:
> I know the correct way to remove these files is with dpkg-maintscript-helper. I
> tried my hardest to use this correctly. I had a few incorrect uses pointed out
> to me that have since been corrected. However, I am still unable to remove
> these incorrect configuration files.
You should remove the files in the packages that own them. Thus
your dpkg-maintscript-helper calls should be in nginx{,-full,-light,-extras}
but not in nginx-common.
And the upgrade of those packages will then lead to the removal.
nginx-common is a new installation, and not an upgrade. And rm_conffile
is only activated on upgrade if you supply a version parameter like you
did.
Cheers,
--
Raphaël Hertzog ◈ Debian Developer
Follow my Debian News ▶ http://RaphaelHertzog.com (English)
▶ http://RaphaelHertzog.fr (Français)
Reply to: