On Mon, 24 May 2010, Kurt Roeckx wrote:
> I have:
> - ntp 1:4.2.4p8+dfsg-1 with a config file
> - ntp 1:4.2.6+dfsg-1 that removed the config file
> - ntp 1:4.2.6.p1+dfsg-1 that tries to clean up the removed config
>   file.
> 
> If I tell that 1:4.2.4p8+dfsg-1 was the latest version with the
> conf file, it doesn't get removed.  If I tell 1:4.2.6+dfsg-1
> was the latest version, it does work properly, even if it
> didn't have it anymore.
> 
> Maybe the manual should be clarified?

If you go from 1:4.2.4p8+dfsg-1 to 1:4.2.6.p1+dfsg-1 directly, I suppose
that it works?

The code to remove the conffile on upgrade is protected by the version
check to run only once at the righ upgrade but obviously if the code was
not there at the right upgrade it will never run and you should increase
the version number to correspond to the last version that did not clean
the obsolete conffile.

Cheers,
-- 
Raphaƫl Hertzog

Like what I do? Sponsor me: http://ouaza.com/wp/2010/01/05/5-years-of-freexian/
My Debian goals: http://ouaza.com/wp/2010/01/09/debian-related-goals-for-2010/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to