Package: dash
Version: 0.5.12-4
Severity: serious

Hi,

if you --path-exclude=/usr/share/man, dash fails to upgrade from -2.
Reproducer:

mmdebstrap trixie /dev/null --dpkgopt='path-exclude=/usr/share/man/*' 
--chrooted-customize-hook='sed -i -e s/trixie/sid/ /etc/apt/sources.list; 
apt-get update; apt-get -y install dash'

Unfortunately, this breaks upgrading docker images debian:sid-slim to
unstable at the moment and that breaks lots of CI jobs.

I guess it is the readlink that silently fails on the non-existent
manual page link. Probably, when that link doesn't exist and it is
diverted by dash, we should assume that it is ok-ish:

actualtarget=$(readlink "$dfile") || actualtarget=$ltarget

What do you think?

Helmut

Reply via email to