« Return to Thread: Bug#658854: dpkg-maintscript-helpee, local package rebuilds and orphaned conffiles

Bug#658854: dpkg-maintscript-helpee, local package rebuilds and orphaned conffiles

by Raphael Hertzog-3 :: Rate this Message:

| View in Thread

Hello,

On Mon, 06 Feb 2012, Sam Morris wrote:

> And the conffile will not be removed.
>
> Is the user in the wrong here? debian-faq says no, as it specifically
> advises the user of dch -l when performing a local build. The user
> cannot know when he's rebuilding the package that a subsequent version
> will remove the conffile, and the package maintainer cannot know that a
> user has rebuilt the package locally.
>
> The same will happen when NMUs are prepared, if the package maintainer
> is not careful about the version number that they invoke rm_conffile
> with.

Good analysis, you're right. But the only fix that we can afford (since we
want to preserve the API) is to update the documentation to recommend
using a fake version bigger than $LASTVERSION and smaller than the version
where the conffile is gone.

In your example it would be "2-1~".

Do you feel like suggesting a patch (or just an improved wording) for
the manual page?

Cheers,
--
Raphaël Hertzog ◈ Debian Developer

Pre-order a copy of the Debian Administrator's Handbook and help
liberate it: http://debian-handbook.info/liberation/



--
To UNSUBSCRIBE, email to debian-dpkg-bugs-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...

 « Return to Thread: Bug#658854: dpkg-maintscript-helpee, local package rebuilds and orphaned conffiles