severity 540512 grave
merge 538822 540512
thanks

On 2009-08-08 15:44 +0200, Thorsten Glaser wrote:

> Package: dash
> Version: 0.5.5.1-2.3
> Severity: normal
>
> I had dash/sh=false and mksh/sh=true so /bin/sh@ -> mksh
>
> Preparing to replace dash 0.5.5.1-2.1 (using .../dash_0.5.5.1-2.3_i386.deb) 
> ...
> Unpacking replacement dash ...
> dpkg: error processing /var/cache/apt/archives/dash_0.5.5.1-2.3_i386.deb 
> (--unpack):
>  trying to overwrite `/usr/share/man/man1/sh.1.gz', which is also in package 
> bash

This is #538822, the reason being that both bash and dash ship this
file.  The dash preinst diverts it, but only if a diversion is not
already in place.  In that case, both dash's and bash's version would be
diverted, causing the file conflict.

> Processing triggers for man-db ...
> Processing triggers for menu ...
> Errors were encountered while processing:
>  /var/cache/apt/archives/dash_0.5.5.1-2.3_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> I do a “sudo dpkg-reconfigure mksh” to set mksh/sh=false,
> then I have /bin/sh@ -> bash
>
> Now, the “sudo apt-get dist-upgrade” succeeds.
> Afterwards, mksh/sh=false and dash/sh=false still.
>
> Then I “sudo dpkg-reconfigure mksh” to set mksh/sh=true,
> but I still have /bin/sh@ -> bash

Because dash now always sets up a diversion, and you cannot have more
than one package divert the same file (see #273093).

Sven



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

Reply via email to