Public bug reported:

On Impish and later, removing unattended-upgrades also removes ubuntu-
server-minimal due to ubuntu-server-minimal depending on unattended-
upgrades

$ 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.

This behaviour has changed since ubuntu-meta 1.471 [1] when the ubuntu-
server-minimal metapackage was introduced, declaring unattended-upgrades
as Depends.

[1] https://launchpadlibrarian.net/550345392/ubuntu-
meta_1.470_1.471.diff.gz

On Focal, there was no such behaviour on a fresh ubuntu-server install:

$ sudo apt remove unattended-upgrades
...
The following packages will be REMOVED:
  unattended-upgrades
0 upgraded, 0 newly installed, 1 to remove and 9 not upgraded.

Removing unattended-upgrades is quite popular amongst our users, and
they should be allowed to remove the package without removing the
ubuntu-server-minimal metapackage.

Looking at the source package for ubuntu-meta, unattended-upgrades is
only Depends for ubuntu-server-minimal, maybe we should simply remove
it?

$ 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

$ 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

** Affects: ubuntu-meta (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ubuntu-meta (Ubuntu Impish)
     Importance: Undecided
         Status: New

** Affects: ubuntu-meta (Ubuntu Jammy)
     Importance: Undecided
         Status: New

** Also affects: ubuntu-meta (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: ubuntu-meta (Ubuntu Impish)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ubuntu-meta in Ubuntu.
https://bugs.launchpad.net/bugs/1954724

Title:
  Removing unattended-upgrades removes ubuntu-server-minimal

Status in ubuntu-meta package in Ubuntu:
  New
Status in ubuntu-meta source package in Impish:
  New
Status in ubuntu-meta source package in Jammy:
  New

Bug description:
  On Impish and later, removing unattended-upgrades also removes ubuntu-
  server-minimal due to ubuntu-server-minimal depending on unattended-
  upgrades

  $ 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.

  This behaviour has changed since ubuntu-meta 1.471 [1] when the
  ubuntu-server-minimal metapackage was introduced, declaring
  unattended-upgrades as Depends.

  [1] https://launchpadlibrarian.net/550345392/ubuntu-
  meta_1.470_1.471.diff.gz

  On Focal, there was no such behaviour on a fresh ubuntu-server
  install:

  $ sudo apt remove unattended-upgrades
  ...
  The following packages will be REMOVED:
    unattended-upgrades
  0 upgraded, 0 newly installed, 1 to remove and 9 not upgraded.

  Removing unattended-upgrades is quite popular amongst our users, and
  they should be allowed to remove the package without removing the
  ubuntu-server-minimal metapackage.

  Looking at the source package for ubuntu-meta, unattended-upgrades is
  only Depends for ubuntu-server-minimal, maybe we should simply remove
  it?

  $ 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

  $ 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1954724/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to