update-manager auto-opened after each apt use when security updates available

Bug #369198 reported by Sebastien Bacher on 2009-04-29
This bug affects 4 people
Affects Status Importance Assigned to Milestone
update-notifier (Ubuntu)
Michael Vogt

Bug Description

Binary package hint: update-notifier

When there is a security update available update-manager will auto open each time you use apt which is annoying

1. install stock jaunty
2. run apt-get update
3. verify that update-manager auto-open after some seconds
4. close update-manager
5. repeat step 2, 3 - this is the failure here, it auto opens after each apt-get update
    as long as there are pending security updates
6. install update-notifier from jaunty-proposed
7. repeat step 2-5
8. verify that in step 5 update-manager does not auto open
9. wait for a day and login into the system again
10. verify that update-manager auto-opens now again

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-notifier - 0.78

update-notifier (0.78) karmic; urgency=low

  * src/update.c:
    - better debug output
  * src/update-notifier.c:
    - fix typo (#365314)
  * data/apt_check.py:
    - check for security updates in the current running
      distro release (deals with cases where people have
      two distros in their sources.list)
  * remove some debug output

 -- Michael Vogt <email address hidden> Fri, 24 Apr 2009 15:39:34 +0200

Changed in update-notifier (Ubuntu):
status: New → Fix Released
Michael Vogt (mvo) wrote :

I uploaded the karmic fix as a backport to my PPA at
"deb http://ppa.launchpad.net/mvo/ubuntu jaunty main"

Michael Vogt (mvo) on 2009-05-07
Changed in update-notifier (Ubuntu Jaunty):
assignee: nobody → Michael Vogt (mvo)
importance: Undecided → Medium
status: New → In Progress
description: updated
Martin Pitt (pitti) wrote :

Accepted update-notifier into jaunty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in update-notifier (Ubuntu Jaunty):
status: In Progress → Fix Committed
tags: added: verification-needed
Paul Sladen (sladen) wrote :

Note that it's not apt specifically, 'dpkg -i ...' use triggers it.

Paul Sladen (sladen) wrote :

What gconf innvocation is necessary to _undo_ a previous use of:

  gconftool -s --type bool /apps/update-notifier/auto_launch false

is it enough to set it to true, or does the key need to be deleted before testing.

Martin Pitt (pitti) wrote :

Any testers?

Shahar Or (mightyiam) wrote :

Dear friends,

I've installed the jaunty-proposed version (0.76.8) and tomorrow I'll have some test results.

I think that it isn't enough to install the new package. I had to log out and log back in order to be running the new version's binary. I assume that this is because it is a daemon and the process has to be stopped and loaded again from the new binary.

Many blessings.

Shahar Or (mightyiam) wrote :

Dear friends,

Running apt-get update today didn't cause update-manager to launch.

When I launch it manually I see that there *are* updates; the security ones that were available yesterday and more security ones from today.

Many blessings.

Martin Pitt (pitti) wrote :

Indeed, you have to restart your session after the update for it to become effective.

Michael, Matthew, is it actually intentional that it doesn't pop up automatically if security updates are available?

Matthew Paul Thomas (mpt) wrote :

When non-security updates are available, Update Manager should open automatically whichever is later: (a) X days after it was last open, whether that was manually or automatically, or (b) X days after updates were installed by any apt-powered method. X should default to 7.

When security updates are available, Update Manager should open automatically whichever is later: (a) Y days after it was last open, whether that was manually or automatically, or (b) Y days after updates were installed by any apt-powered method. Y should default to 1.

So yes, it is intentional that running apt-get update shouldn't cause Update Manager to open automatically. If you run apt-get update manually, it's highly likely that you're about to install updates manually too, in which case you don't want Update Manager getting in your way.

Martin Pitt (pitti) wrote :

So it seems the update was too eager and now doesn't even open any more for security updates? Reopening bug.

tags: added: verification-failed
removed: verification-needed
Changed in update-notifier (Ubuntu Jaunty):
status: Fix Committed → Triaged
tags: added: regression-proposedd
tags: added: regression-proposed
removed: regression-proposedd
Martin Pitt (pitti) wrote :

I removed 0.76.8 from jaunty-proposed because it seems to be a regression, and there was no followup.

tags: removed: regression-proposed verification-failed
Michael Vogt (mvo) wrote :

I close the jaunty task of this.

Changed in update-notifier (Ubuntu Jaunty):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers