Public bug reported:

When NOTIFY_HOLDS=0, apticron shouldn't notify about a new package that
is an install candidate only because it is a dependency of the new
version of a package currently being held.

For example, if linux-headers-generic is held and NOTIFY_HOLDS=0, then
apticron shouldn't notify about a kernel-specific headers package, i.e.,
linux-headers-#-generic, that the new version of linux-headers-generic
depends on.

Patch attached.

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: apticron 1.2.3+nmu1 [modified: usr/sbin/apticron]
ProcVersionSignature: Ubuntu 5.10.0-14.15-generic 5.10.11
Uname: Linux 5.10.0-14-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu60
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Tue Mar 23 16:36:42 2021
InstallationDate: Installed on 2019-01-02 (811 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
PackageArchitecture: all
SourcePackage: apticron
UpgradeStatus: Upgraded to hirsute on 2021-02-21 (30 days ago)

** Affects: apticron (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug hirsute

** Patch added: 
"0002-When-NOTIFY_HOLDS-0-ignore-new-packages-depended-on-.patch"
   
https://bugs.launchpad.net/bugs/1921006/+attachment/5480317/+files/0002-When-NOTIFY_HOLDS-0-ignore-new-packages-depended-on-.patch

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

Title:
  When NOTIFY_HOLDS=0, apticron should ignore new packages depended on
  by held ones

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apticron/+bug/1921006/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to