On Sat, 17 Jun 2023, 02:05 Luca Boccassi, <[email protected]> wrote:

> Control: tags -1 patch
>
> On Thu, 15 Jun 2023 14:26:11 +0200 Helmut Grohne <[email protected]>
> wrote:
> > 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?
>
> Yeah I can confirm your suggestion works, attached in patch format with
> attribution.
>

Andrej I see that you are out of office, would you like me to NMU this fix
to unblock the CI?

Kind regards,
Lube Boccassi

>

Reply via email to