Change unattended-upgrades from Depends to Recommends on ubuntu-server-minimal
Matthew Ruffell
matthew.ruffell at canonical.com
Tue Dec 14 02:28:32 UTC 2021
Hi everyone.
I was testing Jammy and happened to notice that unattended-upgrades Depends on
ubuntu-server-minimal, and when removing unattended-upgrades,
ubuntu-server-minimal is removed along with it:
$ sudo apt remove unattended-upgrades
...
The following packages will be REMOVED:
ubuntu-server-minimal unattended-upgrades
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
$ sudo apt rdepends unattended-upgrades
unattended-upgrades
Reverse Depends:
Recommends: python3-software-properties
Recommends: ubuntu-mate-desktop
Recommends: ubuntu-mate-core
Depends: freedombox
Recommends: fbx-all
Depends: ubuntu-server-minimal
Should unattended-upgrades be changed from Depends to Recommends for
ubuntu-server-minimal?
It is very common for our larger users to remove unattended-upgrades so they can
manage their systems patching manually.
I filed a bug against ubuntu-meta:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1954724
I was in the process of making a debdiff, and I happened to notice that
unattended-upgrades is only in the server-minimal-$ARCH files only:
$ grep -Rin "unattended-upgrades" .
./server-minimal-armhf:23:unattended-upgrades
./server-minimal-riscv64:23:unattended-upgrades
./server-minimal-arm64:23:unattended-upgrades
./server-minimal-ppc64el:23:unattended-upgrades
./server-minimal-s390x:24:unattended-upgrades
./server-minimal-amd64:23:unattended-upgrades
When I also ran the ./update script in ubuntu-meta, it automatically repopulated
server-minimal-$ARCH with unattended-upgrades again, so it seems I am missing
something to do with dependency magic in the archive.
Thanks,
Matthew
More information about the ubuntu-devel
mailing list