Control: clone -1 -2 Control: reassign -2 tar 1.30+dfsg-5 Control: retitle -2: tar: prerm deletes /usr/sbin/rmt in --merged-usr environment Control: retitle -1: cpio: prerm deletes /usr/sbin/rmt in --merged-usr environment
On 2019-04-09 11:44, Andreas Beckmann wrote: > 0m17.9s ERROR: WARN: Broken symlinks: > /etc/rmt -> /usr/sbin/rmt (tar) > > 0m22.0s ERROR: FAIL: After purging files have disappeared: > /usr/sbin/rmt -> /etc/alternatives/rmt not owned This is caused by the prerm script which contains this not merged-usr aware code: if [ "$1" = remove ]; then update-alternatives --remove mt /bin/mt-gnu if test -L /sbin/rmt && test /sbin/rmt -ef /usr/sbin/rmt; then rm -f /sbin/rmt fi fi Cloning the bug to tar, since its prerm contains a similar construct. (And I don't mean the update-alternatives call ...) remove|deconfigure) update-alternatives --remove rmt /usr/sbin/rmt-tar if test -L /sbin/rmt && test /sbin/rmt -ef /usr/sbin/rmt; then rm -f /sbin/rmt fi ;; Probable use if ! test -L /sbin && test -L /sbin/rmt && ... Andreas