Be aware of aptdaemon transaction which are running in the background

Bug #447683 reported by QPrime on 2009-10-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aptdaemon (Ubuntu)
Undecided
Unassigned
indicator-applet (Ubuntu)
Low
Unassigned
software-center (Ubuntu)
Low
Unassigned
update-notifier (Ubuntu)
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

QPrime (mwells) wrote :
QPrime (mwells) on 2009-10-10
tags: added: karmic
Michael Vogt (mvo) on 2009-10-13
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
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
Sebastien Bacher (seb128) wrote :

the issue is not an indicator-applet one

Changed in indicator-applet (Ubuntu):
status: Incomplete → Invalid
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
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.

Sebastian Heinlein (glatzor) wrote :

Which package provides the shutdown menu in Ubuntu?

Omer Akram (om26er) wrote :

> Which package provides the shutdown menu in Ubuntu?

its indicator-session

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  Edit
Everyone can see this information.

Other bug subscribers