fail to reinstall all packages together in minimized builds

Bug #1867607 reported by Dimitri John Ledkov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
New
Undecided
Unassigned
livecd-rootfs (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Chroot chroot dpkg-query -f '${binary:Package}\n' -W | Chroot chroot xargs apt-get install --reinstall

Fails in focal with:

Processing triggers for libc-bin (2.31-0ubuntu6) ...
E: Could not configure 'libc6:amd64'.
E: Could not perform immediate configuration on 'libgcc-s1:amd64'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)

As seen at https://launchpadlibrarian.net/469223856/buildlog_ubuntu_focal_amd64_ubuntu-base_BUILDING.txt.gz

doing `xargs -L1` makes it complete. I am not sure if there is somekind of an apt bug there. Imho reinstalling all the packages should just work fine....

Changed in livecd-rootfs (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package livecd-rootfs - 2.655

---------------
livecd-rootfs (2.655) focal; urgency=medium

  * minimized: reinstall packages one by one, instead of all of them
    together, as otherwise apt fails to immediately configure libc6:amd64
    & libgcc-s1. LP: #1867607

 -- Dimitri John Ledkov <email address hidden> Mon, 16 Mar 2020 10:42:35 +0000

Changed in livecd-rootfs (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.