Public bug reported:
Binary package hint: update-notifier-common
Right now, /etc/motd says this:
15 packages can be updated.
18 updates are security updates.
...which seems to imply that three security updates cannot be installed.
Yikes.
The problem is in the /usr/lib/update-notifier/apt-check script: in the
section
if cand_ver != inst_ver:
# check for security upgrades
upgrades = upgrades + 1
if isSecurityUpgrade(cand_ver):
security_updates += 1
# now check for security updates that are masked by a
# canidate version from another repo (-proposed or -updates)
for ver in pkg.VersionList:
if (inst_ver and apt_pkg.VersionCompare(ver.VerStr,
inst_ver.VerStr) <= 0):
#print "skipping '%s' " % ver.VerStr
continue
if isSecurityUpgrade(ver):
security_updates += 1
break
it is double-counting some security updates. I have a patch which fixes
this.
** Affects: update-notifier (Ubuntu)
Importance: Undecided
Status: New
--
motd includes mathematically impossible numbers of updates
https://bugs.launchpad.net/bugs/394958
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs