[ Please keep CC'ing me, I'm not subscribed to the bug. ]

On 2009-08-07 18:49 +0200, Luk Claes wrote:

> Sven Joachim wrote:
>> I suppose dash's preinst ran, because dpkg tried to unpack dash after
>> all...
>
> dash's preinst guarantees that there is a diversion so that the unpack
> always succeeds...

Only the first part of this sentence is true.  Indeed there will always
be a diversion, but if a diversion had existed before that was _not_
created by the dash package, the preinst won't change it.

Thus, both the bash and the dash versions of /usr/share/man/man1/sh.1.gz
(and /bin/sh) would be diverted which raises the file conflict.

A possible solution would be to skip the [ -z "$div" ] test in the
preinst and always add dash's diversions, but this might run into bug
#273093¹.

Sven


¹ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=273093



-- 
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