On 2013-11-29 19:52, Michael Tokarev wrote:
...
> This is added to postinst, prerm and postrm scripts.

Nice way to have the same snippet for all scripts :-)

> The lintian warning in question appears to make some sense.
> 
> So now I'm not sure what to do with this...

Perhaps ignore it. I'm not exactly sure what the right way is here.
There is a long discussion in #7xxxx (that 5-digit bug mentioned
earlier) and as I understood there might be cases where "prerm remove"
is not being run and therefore we should try to clean up again in
"postrm remove|disappear". Maybe lintian should not issue this warning
is there is corresponding code in the prerm, too.

BTW, in case you ever remove something from @ARCH@, you should use
something like @REMOVEDARCH@ and remove the obsolete alternatives in
postinst (after adding the new ones) and pre/postrm.

Out of curiosity: what was the difference in alternatives setup between
wheezy and sid that caused this upgrade bug?

Andreas


-- 
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