Niels Thykier:
> Hi Chris and Ruben,
> 
> Could either of you please have a look at this bug in cpio (you are
> listed as Uploaders)?  Even if it is just in the form of "ENOTME, NMU
> welcome".
> 
> Note that Anibal is MIA (per #925021).
> 
> Thanks,
> ~Niels
> 

Hi Chris,

Thanks for the fast upload.

Just to confirm, did you intend to use "test -L /sbin/rmt" instead of
"! test -L /sbin/rmt" as Andreas suggested?  I am concerned that we
might have missing negation at play and wanted to be sure before I
unblocked it.


Thanks,
~Niels


> On Tue, 9 Apr 2019 18:05:00 +0200 Andreas Beckmann <a...@debian.org> wrote:
>> 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
>>
>>

Reply via email to