unnecessary packages in images / please run autoremove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
New
|
Medium
|
Unassigned |
Bug Description
It looks like all supported releases other than zesty have unnecessary packages in the lxd images.
Wouldn't it make sense to run apt-get autoremove before publication ?
$ for rel in $(ubuntu-
== trusty ==
Creating autoremove-trusty
Starting autoremove-trusty
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-1ubuntu2.8]
Remv os-prober [1.63ubuntu1.1]
== xenial ==
Creating autoremove-xenial
Starting autoremove-xenial
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libfreetype6
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Remv libfreetype6 [2.6.1-
== zesty ==
Creating autoremove-zesty
Starting autoremove-zesty
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
== artful ==
Creating autoremove-artful
Starting autoremove-artful
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libfreetype6
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Remv libfreetype6 [2.8-0.2ubuntu2]
Changed in cloud-images: | |
importance: | Undecided → Medium |
tags: | added: id-5e4d6fd6efbb1884d04003fc |
Updated as of today.
$ for rel in $(ubuntu- distro- info --supported); do echo == $rel ==; n=autoremove-$rel; lxc launch ubuntu-daily:$rel $n; sleep 1; lxc exec $n -- cat /etc/cloud/ build.info; lxc exec $n -- apt-get autoremove --dry-run; lxc delete --force $n; done 0.1ubuntu2. 3]
== trusty ==
Creating autoremove-trusty
Starting autoremove-trusty
build_name: server
serial: 20180222.1
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-1ubuntu2.8]
Remv os-prober [1.63ubuntu1.1]
== xenial ==
Creating autoremove-xenial
Starting autoremove-xenial
build_name: server
serial: 20180223
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libfreetype6
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Remv libfreetype6 [2.6.1-
== artful ==
Creating autoremove-artful
Starting autoremove-artful
build_name: server
serial: 20180222
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libfreetype6
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Remv libfreetype6 [2.8-0.2ubuntu2.1]
== bionic ==
Creating autoremove-bionic
Starting autoremove-bionic
build_name: server
serial: 20180222
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.