Be aware of aptdaemon transaction which are running in the background

Bug #447683 reported by QPrime
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aptdaemon (Ubuntu)
Confirmed
Undecided
Unassigned
indicator-applet (Ubuntu)
Invalid
Low
Unassigned
software-center (Ubuntu)
Incomplete
Low
Unassigned
update-notifier (Ubuntu)
New
Undecided
Unassigned

Bug Description

Aptdaemon allows to close a client application also if the transaction is still running or queued. Update-notifier should be aware of queued transaction and should allow users to access the background transaction.

To avoid writting a C client for aptdaemon, update-notifier could listen to the ActiveTransactionChanged signal and launch software-center on request.

Furthermore the shutdown dialog should check if there are still running transactions.

Original bug report:

Binary package hint: update-manager

A manually triggered update will sometimes silently update in the background with no interactive feedback. The user is left with a "Waiting for other tasks" dialogue. The update will continue as normal but the user is never informed as to its status. On at least one occasion this has resulted in damaged (but repairable) apt database due to shutdown while an update was taking place.

ProblemType: Bug
Architecture: i386
Date: Fri Oct 9 20:28:35 2009
DistroRelease: Ubuntu 9.10
Package: update-manager 1:0.126
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-13.42-generic
SourcePackage: update-manager
Uname: Linux 2.6.31-13-generic i686

Revision history for this message
QPrime (mwells) wrote :
QPrime (mwells)
tags: added: karmic
Michael Vogt (mvo)
affects: update-manager (Ubuntu) → aptdaemon (Ubuntu)
summary: - update-manager: manual update 'backgrounds' the update and gives no user
- feedback
+ Be aware of aptdaemon transactions running in the background
summary: - Be aware of aptdaemon transactions running in the background
+ Allow to monitor aptdaemon transaction which are running in the
+ background
description: updated
summary: - Allow to monitor aptdaemon transaction which are running in the
- background
+ Be aware of aptdaemon transaction which are running in the background
Changed in aptdaemon (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

could you give details on what you would like to see changed in indicator-applet there?

Changed in indicator-applet (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue is not an indicator-applet one

Changed in indicator-applet (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

I'm trying to triage this bug for Ubuntu Software Center, but I don't understand it fully because there are no steps to reproduce it. Could someone update the description to include those steps? Thanks.

<https://wiki.ubuntu.com/SoftwareCenter#installing> and <https://wiki.ubuntu.com/SoftwareCenter#removing> both say that USC "should begin blocking session exit". (I guess maybe aptdaemon should be responsible for that instead.) Is there anything else USC needs to do to fix this bug?

Changed in software-center (Ubuntu):
status: New → Incomplete
Revision history for this message
Sebastian Heinlein (glatzor) wrote :

Aptdaemon hasn't got any access to the session of the user (by design).

Steps to reproduce:

1. upgrade package using update-manager or installing packages using s-c
2. kill s-c or upgrade-manager during the installation
3. Choose shutdown from the panel
=> broken system

The shutdown menu should not allow to shutdown during a running transaction installation and should cancel queued transactions before shutting down.

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

Which package provides the shutdown menu in Ubuntu?

Revision history for this message
Omer Akram (om26er) wrote :

> Which package provides the shutdown menu in Ubuntu?

its indicator-session

Revision history for this message
Victor Vargas (kamus) wrote :

Sebastian, Please could you check if this behaviour is still occurring in latest release included in Ubuntu Maverick?

Changed in software-center (Ubuntu):
importance: Undecided → Low
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.