Tuesday 14 December 2021

Re: Change unattended-upgrades from Depends to Recommends on ubuntu-server-minimal

Hey Matthew!

When you check what the ./update script does, it actually executes
germinate-update-metapackage from germinate, which on the other hand
uses the ubuntu and platform seeds to repopulate the metapackage
contents. So to get it removed from ubuntu-server-minimal, you will
first need to remove it from the server-minimal seed. All the
Ubuntu-specific seeds are hosted on Launchpad in the following git
repository:

https://code.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/+git/ubuntu

Cheers,

On Tue, 14 Dec 2021 at 17:23, Matthew Ruffell
<matthew.ruffell@canonical.com> wrote:
>
> 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
>
> --
> ubuntu-devel mailing list
> ubuntu-devel@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel

--
Ɓukasz 'sil2100' Zemczak
Foundations Team
lukasz.zemczak@canonical.com
www.canonical.com

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel