Update interactes badly with noninteracitve automatic updates

Bug #369706 reported by Thomas Trummer
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Invalid
Medium
Unassigned
update-manager (Ubuntu)
Fix Released
Undecided
Michael Vogt
Karmic
Won't Fix
Undecided
Michael Vogt

Bug Description

Ubuntu 9.04, update-manager 1:0.111.9

I've enabled automatic installation of critical (security) updates. This conflicts with the behavior of the update manager. The update manager checks for new updates and shows the update dialog if there are critical and normal updates while installing the critical updates in the background. If you click Install in the dialog it will fail since it can't get the lock because there is already the installation of the critical updates running.

Related branches

description: updated
tags: added: notifications
Michael Vogt (mvo)
summary: - Update fails with automatic updates
+ Update interactes badly with noninteracitve automatic updates
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

When running in auto-open mode, update-notifier will now check for that and not auto-open for security updates because it knows that they are applied unattended.

Changed in update-manager (Ubuntu Karmic):
assignee: nobody → Michael Vogt (mvo)
status: New → Fix Committed
Revision history for this message
Vish (vish) wrote :

As per Michael Vogt 's comment

Changed in hundredpapercuts:
status: New → Fix Committed
Revision history for this message
5zwvKGFr (5zwvkgfr-deactivatedaccount) wrote :

Is is possible to check if unattended upgrades are running, before launching the update-notifier (vs. checking for security updates)?

From what I understand, the current fix would not prevent update-manager from launching to install some non security related update, even if unattended security updates are currently running in the background, leading to a lock error when I would click "install updates". Is this correct?

Vish (vish)
Changed in hundredpapercuts:
importance: Undecided → Medium
milestone: none → round-10
komputes (komputes)
summary: - Update interactes badly with noninteracitve automatic updates
+ update-manager cannot get a lock on /var/lib/dpkg/lock due to automatic
+ security updates
description: updated
Revision history for this message
Vish (vish) wrote :

@komputes :
Kindly refrain from changing the bug description and title
[Micheal is the maintainer of update-manger , the description and title have been changed by him , for him to recognize easily]

description: updated
summary: - update-manager cannot get a lock on /var/lib/dpkg/lock due to automatic
- security updates
+ Update fails with automatic updates
summary: - Update fails with automatic updates
+ Update interactes badly with noninteracitve automatic updates
Revision history for this message
David Siegel (djsiegel-deactivatedaccount) wrote :

I'm happy to see this bug fixed, but it's not a paper cut.

Changed in hundredpapercuts:
milestone: round-10 → none
status: Fix Committed → Invalid
Changed in update-manager (Ubuntu Karmic):
status: Fix Committed → Won't Fix
Changed in update-manager (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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