[Bug 1624644] Re: Unable to automatically remove packages that become unused in conjunction with updating by other software

Balint Reczey balint.reczey at canonical.com
Thu Sep 14 14:26:30 UTC 2017


@Jarno I added update-manager based on my experience with (less
experienced) users, who kept their system up-to-date by saying yes to
everything regarding updates which popped up on their system.

They never touched apt or synaptic nor installed packages by themselves
by other means.

I think removing newly unused packages would be a reasonable default for
u-u and update-manager.

I agree that Remove-New-Unused-Dependencies=true is riskier than having
it disabled but it still removes a subset of what Remove-Unused-
Dependencies=true would thus Remove-Unused-Dependencies=true would be
more risky.

Remove-New-Unused-Dependencies=true is needed to clean up old kernel packages filling up /boot (and the whole disk).
If update-manager defaults to that by default, too, the system won't break itself.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unattended-upgrades in Ubuntu.
https://bugs.launchpad.net/bugs/1624644

Title:
  Unable to automatically remove packages that become unused in
  conjunction with updating by other software

Status in unattended-upgrades package in Ubuntu:
  Opinion
Status in update-manager package in Ubuntu:
  New
Status in unattended-upgrades source package in Artful:
  Opinion
Status in update-manager source package in Artful:
  New

Bug description:
  When using default settings for unattended-upgrades i.e.
  Unattended-Upgrade::Remove-Unused-Dependencies "false"; 
  # default "false"
  Unattended-Upgrade::Remove-New-Unused-Dependencies "true"; 
  # default "true"
  in configuration file /etc/apt/apt.conf.d/50unattended-upgrades,
  U-U is unable to remove packages that become unused in conjunction with updating by other software such as update-manager or apt full-upgrade. This is because U-U compares the list of unneeded packages before and after it upgrades packages to detect which packages are new unused ones.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: unattended-upgrades 0.90
  ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
  Uname: Linux 4.4.0-36-generic i686
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: i386
  CurrentDesktop: XFCE
  Date: Sat Sep 17 11:28:44 2016
  InstallationDate: Installed on 2016-09-05 (11 days ago)
  InstallationMedia: Mythbuntu 16.04.1 LTS "Xenial Xerus" - Release i386 (20160719)
  PackageArchitecture: all
  SourcePackage: unattended-upgrades
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list