[Bug 1974456] Re: regression: apt.postint fails if never previously configured

2022-06-01 Thread Gary Chapman
juliank - No. Our "overly complex" build must support environments without direct access to the ubuntu servers. Therefore we download all needed Ubuntu packages as a front-end step, putting them in an IBM- internal archive. At build time, reprepro is used to put them in to a local filesystem repo w

[Bug 1974456] Re: regression: apt.postint fails if never previously configured

2022-06-01 Thread Julian Andres Klode
Hi Gary, how do you invoke debootstrap so it uses packages from the the updates pocket? I wasn't able to with --extra-suites=focal-updates, but I might have missed something. But then I guess we should actually release that fix too. -- You received this bug notification because you are a member

[Bug 1974456] Re: regression: apt.postint fails if never previously configured

2022-06-01 Thread Gary Chapman
The IBM Secure Service Container (SSC) environment uses Ubuntu 20.04 for zLinux. During our periodic package refresh, apt 2.0.8 caused this failure in the debootstrap step of our build process: Setting up apt (2.0.8) ... /var/lib/dpkg/info/apt.postinst: 65: /etc/kernel/postinst.d/apt-auto-removal:

[Bug 1974456] Re: regression: apt.postint fails if never previously configured

2022-06-01 Thread Patric Mai
Hi Everyone! Can confirm this resolves the issue on my end when bootstrapping latest ubuntu focal using mmdebstrap (0.4.1 from apt repo) and the proposed version of apt 2.0.9 (by adding focal-proposed to sources list) - bootstrapping now works fine again without any errors! Kind regards -- Y

[Bug 1974456] Re: regression: apt.postint fails if never previously configured

2022-05-31 Thread Chris Halse Rogers
Hello David, or anyone else affected, Accepted apt into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/apt/2.0.9 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Test

[Bug 1974456] Re: regression: apt.postint fails if never previously configured

2022-05-23 Thread Julian Andres Klode
It might, I just might miss the right setting, I don't really know. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1974456 Title: regression: apt.postint fails if never previously configured To mana

[Bug 1974456] Re: regression: apt.postint fails if never previously configured

2022-05-23 Thread David Röthlisberger
P.S. I have worked around this in my build system (by creating an empty executable script at the location that apt.postinst is expecting before I call dpkg --configure) so I'm not worried. When I reported this I didn't realise it wouldn't affect debootstrap. -- You received this bug notification

[Bug 1974456] Re: regression: apt.postint fails if never previously configured

2022-05-23 Thread David Röthlisberger
> Which tool were you using to bootstrap your system? My own build system (which I wrote about for LWN: https://lwn.net/Articles/821367/ ). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1974456 Title

[Bug 1974456] Re: regression: apt.postint fails if never previously configured

2022-05-23 Thread Julian Andres Klode
@David I was able to reproduce this with mmdebstrap as it uses -updates pocket, but not with debootstrap as it only uses the release pockets. Which tool were you using to bootstrap your system? It's possible we might just want keep the fix in -proposed and not release it to updates if it does not

[Bug 1974456] Re: regression: apt.postint fails if never previously configured

2022-05-23 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apt (Ubuntu Bionic) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1974456 Title:

[Bug 1974456] Re: regression: apt.postint fails if never previously configured

2022-05-23 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apt (Ubuntu Focal) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1974456 Title:

[Bug 1974456] Re: regression: apt.postint fails if never previously configured

2022-05-23 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apt (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1974456 Title: regres

[Bug 1974456] Re: regression: apt.postint fails if never previously configured

2022-05-20 Thread Julian Andres Klode
Yup I'm going to push updated bionic and focal SRUs for this next week -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1974456 Title: regression: apt.postint fails if never previously configured To m

[Bug 1974456] Re: regression: apt.postint fails if never previously configured

2022-05-20 Thread David Kalnischkies
jftr: I removed this if in git commit 938889b20268ec92be1bff67750f7adf03f52c1b, which was shipped with 2.1.12 – that might explain why it isn't effecting releases with later versions and why it was missed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is sub

[Bug 1974456] Re: regression: apt.postint fails if never previously configured

2022-05-20 Thread Julian Andres Klode
** Also affects: apt (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: apt (Ubuntu Bionic) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.ne