On 04.09.2012 12:16, Harald Dunkel wrote: > On 09/03/12 07:04, Michael Tokarev wrote: >> >> That turned out to be not so simple, and there's no established >> way to deal with such a situation. Indeed, manually upgrading >> autofs5 will let you to purge it. But in order to allow this >> purging automatically in this situation, I had to remove autofs5's >> postrm script in autofs postinst. > > I am pretty sure that one package should not mess with the > maintainer scripts of another package.
Please propose another solution. From the two solutions I know -- - removing old package's postrm - depending on the transitional package first works and is transparent for the user, while second is annoying - again, for the user. Note the "another package" is the actually same, just older/renamed. BTW, I can check for the version of autofs5 too, to ensure it is << 5.0.6, before removing the postrm script. Thanks, /mjt -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org