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

Bug #1921006 reported by Jonathan Kamens
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apticron (Debian)
apticron (Ubuntu)

Bug Description

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)

Revision history for this message
Jonathan Kamens (jik) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "0002-When-NOTIFY_HOLDS-0-ignore-new-packages-depended-on-.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Changed in apticron (Debian):
status: Unknown → New
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.