Activity log for bug #2039308

Date Who What changed Old value New value Message
2023-10-13 19:16:24 Lucas Detje bug added bug
2023-10-13 19:16:54 Lucas Detje tags docker
2023-10-13 19:35:29 Lucas Detje description After the recent update of ubuntu:rolling to point to mantic we noticed that one of our package scripts that relies on checking the version of dpkg-shlibdeps failed with the following error message: `error: cannot read debian/control: No such file or directory` It worked (and still works) on ubuntu:lunar. The issue can be reproduced with the following Dockerfile: ``` ARG variant FROM ubuntu:${variant} RUN apt-get update && apt-get install -y --no-install-recommends dpkg-dev RUN dpkg-shlibdeps --version ``` And then the following succeeds: ``` docker build --build-arg variant=lunar-20231004 . ``` While the following fails with the above mentioned error: ``` docker build --build-arg variant=mantic-20231011 . ``` Running the mantic version with a perl debugger shows that the following line which is added in the mantic version is the cause: ``` my $control = Dpkg::Control::Info->new(); ``` After the recent update of ubuntu:rolling to point to mantic we noticed that one of our package scripts that relies on checking the version of dpkg-shlibdeps failed with the following error message: `error: cannot read debian/control: No such file or directory` It worked (and still works) on ubuntu:lunar. The issue can be reproduced with the following Dockerfile: ``` ARG variant FROM ubuntu:${variant} RUN apt-get update && apt-get install -y --no-install-recommends dpkg-dev RUN dpkg-shlibdeps --version ``` And then the following succeeds: ``` docker build --build-arg variant=lunar-20231004 . ``` While the following fails with the above mentioned error: ``` docker build --build-arg variant=mantic-20231011 . ``` Running the mantic version with a perl debugger shows that the following line which is added in the mantic version is the cause: ``` my $control = Dpkg::Control::Info->new(); ``` Edit: This behavior was observed for linux/amd64, linux/arm/v7 and linux/arm64/v8 images if that is relevant.
2023-10-13 19:58:45 Steve Langasek bug task added dpkg (Ubuntu)
2023-11-09 08:31:19 Cristovao Cordeiro cloud-images: status New Confirmed
2023-11-09 09:32:10 Julian Andres Klode dpkg (Ubuntu): status New Triaged