Package: libgstreamer1.0-dev
Version: 1.18.3-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to remove some
diversions after upgrading from buster to bullseye and removing the
package afterwards.

>From the attached log (scroll to the bottom...):

0m47.6s ERROR: FAIL: Installed diversions (dpkg-divert) not removed by purge:
  diversion of /usr/share/man/man1/dh_gstscancodecs.1.gz to 
/usr/share/man/man1/dh_gstscancodecs.1.gz-gst0.10 by libgstreamer1.0-dev
  diversion of /usr/bin/dh_gstscancodecs to /usr/bin/dh_gstscancodecs-gst0.10 
by libgstreamer1.0-dev

The version in bullseye no longer uses diversions, therefore it should
clean up the old diversions in its postinst:

if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl "1.18.3-2~" ; 
then
        dpkg-divert --package libgstreamer1.0-dev --rename --remove 
/usr/bin/dh_gstscancodecs
        dpkg-divert --package libgstreamer1.0-dev --rename --remove 
/usr/share/man/man1/dh_gstscancodecs.1.gz
fi

cheers,

Andreas

Attachment: libgstreamer1.0-dev_1.18.3-1.log.gz
Description: application/gzip

Reply via email to