images shipping /var/cache/apt/*.bin

Bug #1826377 reported by Julian Andres Klode
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned
Cosmic
Fix Released
Undecided
Unassigned
Disco
Fix Released
Undecided
Unassigned
Eoan
Fix Released
Undecided
Unassigned

Bug Description

[Impact]
Images include /var/cache/apt/*.bin because minimize-manual runs very close to the end, after the cleanup of those files is done

[Test case]
Ensure /var/cache/apt/*.bin does not exist

[Regression potential]
If this patch causes a regression, it would be a build failure; since it only turns off caching, there can't really be any kind of silent regressions.

Related branches

Changed in livecd-rootfs (Ubuntu Bionic):
status: New → In Progress
Changed in livecd-rootfs (Ubuntu Cosmic):
status: New → In Progress
Changed in livecd-rootfs (Ubuntu Disco):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
livecd-rootfs (2.580) eoan; urgency=medium

  * Run clean_debian_chroot after minimize_manual (LP: #1826377)

 -- Julian Andres Klode <email address hidden> Fri, 26 Apr 2019 10:30:15 +0200

Changed in livecd-rootfs (Ubuntu Eoan):
status: New → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Julian, or anyone else affected,

Accepted livecd-rootfs into disco-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/livecd-rootfs/2.578.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-disco to verification-done-disco. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-disco. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in livecd-rootfs (Ubuntu Disco):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-disco
Changed in livecd-rootfs (Ubuntu Cosmic):
status: In Progress → Fix Committed
tags: added: verification-needed-cosmic
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Julian, or anyone else affected,

Accepted livecd-rootfs into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/livecd-rootfs/2.542.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-cosmic to verification-done-cosmic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-cosmic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Julian, or anyone else affected,

Accepted livecd-rootfs into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/livecd-rootfs/2.525.21 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in livecd-rootfs (Ubuntu Bionic):
status: In Progress → Fix Committed
tags: added: verification-needed-bionic
Revision history for this message
Julian Andres Klode (juliank) wrote :

Test script:

echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-proposed main" >> /etc/apt/sources.list
apt update
apt install livecd-rootfs -y
cd /usr/share/livecd-rootfs
SUITE=$(lsb_release -cs) PROJECT=base ARCH=amd64 MIRROR=http://archive.ubuntu.com/ubuntu/ ./live-build/auto/config
SUITE=$(lsb_release -cs) PROJECT=base ARCH=amd64 MIRROR=http://archive.ubuntu.com/ubuntu/ ./live-build/auto/build

Disco-proposed looks fine - 2.578.1:

# ls chroot/var/cache/apt
archives

cosmic-proposed - 2.542.2 is OK as well:

# ls chroot/var/cache/apt/
archives

bionic does not build for some reason, failing with
mknod: /usr/share/livecd-rootfs/chroot/test-dev-null: Operation not permitted

but the change is the same, so it's highly unlikely to be different.

tags: added: verification-done verification-done-bionic verification-done-cosmic verification-done-disco
removed: verification-needed verification-needed-bionic verification-needed-cosmic verification-needed-disco
Revision history for this message
Julian Andres Klode (juliank) wrote :

Oh, I should run this in multipass, that should fix the bionic test.

Revision history for this message
Julian Andres Klode (juliank) wrote :

Yup, confirmed that livecd-rootfs bionic/2.525.21 is good.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
livecd-rootfs (2.525.21) bionic; urgency=medium

  * Remove crufty files after minimize-manual (LP: #1826377)

 -- Julian Andres Klode <email address hidden> Fri, 26 Apr 2019 10:40:08 +0200

Changed in livecd-rootfs (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote : Update Released

The verification of the Stable Release Update for livecd-rootfs has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
livecd-rootfs (2.542.2) cosmic; urgency=medium

  * Remove crufty files after minimize-manual (LP: #1826377)

 -- Julian Andres Klode <email address hidden> Fri, 26 Apr 2019 10:36:33 +0200

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

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

---------------
livecd-rootfs (2.578.1) disco; urgency=medium

  * Run clean_debian_chroot after minimize_manual (LP: #1826377)

 -- Julian Andres Klode <email address hidden> Fri, 26 Apr 2019 10:34:05 +0200

Changed in livecd-rootfs (Ubuntu Disco):
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.