Package: angband-audio
Version: 1:3.1.0-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

TL;DR: Use dpkg-divert. No Replaces. No manual moving. Be idempotent.

Hi,

during a test with piuparts I noticed your package does something wrong
since angband-data loses ownership of
/usr/share/angband/xtra/sound/sound.cfg

Looking at the maintainer scripts, what you want to accomplish is the
perfect task for dpkg-divert. Adding Replaces is wrong.

Also the maintainer script actions are not idempotent, but they are
performed (nearly) each time the script is called, so after

    apt-get install angband-audio
    apt-get install --reinstall angband-audio

the sound.cfg.orig is gone.


Once this is fixed in angband-audio, angband-data needs to add versioned
Breaks against the buggy angband-audio version.


Andreas


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

Reply via email to