xenial lxd (-root.tar.gz/-root.tar.xz) have unnecessary packages

Bug #1534764 reported by Scott Moser
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

the lxd images currently have 'os-prober' and 'libfreetype6' installed inside them.
I suspect that this is a result of them having been built by building a cloud image (with a kernel and a grub) and then removing the kernel and grub.

Anyway, the end result is that there are packages that can be autoremoved and that seems just like oversite.

$ url=http://cloud-images.ubuntu.com/daily/server/xenial/current/xenial-server-cloudimg-amd64-root.tar.xz
$ tball=${url##*/}
$ [ -f "$tball" ] || { wget "$url" -O "$tball.t && mv "$tball.t" "$tball" ; }

$ [ -d ex ] && sudo rm -Rf ex;
$ mkdir -p ex
$ sudo tar -C ex -Sxpf "$tball"
$ sudo chroot ex apt-get autoremove
$ sudo chroot ex apt-get autoremove --dry-run
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libfreetype6 os-prober
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Remv libfreetype6 [2.5.2-4ubuntu2]
Remv os-prober [1.70ubuntu1]

I just found this when fiddling around with maas images that are derivatives of cloud images.

Scott Moser (smoser)
description: updated
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1534764/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → livecd-rootfs (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
livecd-rootfs (2.371) xenial; urgency=medium

  * Remove unneeded packages from the root.tar.{gz,xz} cloud image targets
    (LP: #1534764).

 -- utlemming Howard <email address hidden> Tue, 19 Jan 2016 12:48:32 +0000

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