update-notifier does not handle locked packages correctly

Bug #27511 reported by Jacob Winski
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

If a package is given a locked status (tested through Synaptic only), this
package will not trigger update-notifier. However, if a different package
triggers update-notifier when this different, non locked package, requires
updating, the locked package is also shown to be in need of updating. This
assumes that an update is available for the locked package.

Directions:
1) lock a package to current version and wait until a newer version is available
2) wait until some other package requires an update, which will trigger
update-notifier
3) update-notifier will count only this new package as needing update; however,
upon running show updates (right click on update-notifier) the new package PLUS
the locked package (and all packages that are dependencies of locked package)
will also be marked for upgrade.

*NOTE: by show updates, it is meant that simple list of package with "Available
updates" and the "close" and "install" buttons, not the package manager Synaptic.

There is no problem using apt-get on the command line.

Michael Vogt (mvo)
Changed in update-notifier:
status: Unconfirmed → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

This should be fixed in the current version of dapper. Please reopen if you can still reproduce it there.

Changed in update-notifier:
status: Confirmed → Fix Released
Revision history for this message
xoristzatziki (simsonbike-bugs) wrote :

I normally use synaptic to install-deinstall software.
When I open my computer offline the software updater notifies me about specific updates :
yelp-xsl
libcgmanager0
libcgmanager0:i386

Synaptic also indicates these packages as needed update.
Even after I open the computer in a online enviroment (aka connected to Internet) the update manager continues to notify me for these updates. It takes sometime to notify me either for the packages that really are to be updated or that all software is updated.

pc runs with:
cinnamon with all zeitgeist and unity almost totally removed

uname -a
Linux pconuse 3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -rd
Description: Ubuntu 14.04.3 LTS
Release: 14.04

sources.list:
deb http://gr.archive.ubuntu.com/ubuntu/ trusty main restricted universe
deb-src http://gr.archive.ubuntu.com/ubuntu/ trusty main restricted universe

deb http://gr.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe
deb-src http://gr.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe

deb http://gr.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://gr.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://gr.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://gr.archive.ubuntu.com/ubuntu/ trusty-updates multiverse

deb http://gr.archive.ubuntu.com/ubuntu/ trusty-backports main restricted multiverse universe
deb-src http://gr.archive.ubuntu.com/ubuntu/ trusty-backports main restricted multiverse universe

deb http://gr.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe
deb-src http://gr.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe
deb http://gr.archive.ubuntu.com/ubuntu/ trusty-security multiverse
deb-src http://gr.archive.ubuntu.com/ubuntu/ trusty-security multiverse

deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner

deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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