[Bug 368928] [NEW] running Third-Party Software reload and Software Updates simultaneously locked up both

skierpage info at skierpage.com
Tue Apr 28 23:06:28 UTC 2009


Public bug reported:

Binary package hint: kpackagekit

Running KDE 4.2.2 on Kubuntu 9.04

I started KDE and "Software Updates" displayed a message about software
updates.  I confirmed installing them, and a Package Install progress
dialog appeared.

Meanwhile I wanted to install Amarok 2.1beta, so I went into KPackageKit
Settings > Edit Software Sources > Third-Party Software and added "deb
http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu jaunty main".  This
popped up a software-properties-kde window alerting "The information
about available software is out-of-date", so I clicked its [Reload]
button.  That window went away but thereafter various windows got stuck
and went blank.  As I tried various things additional alerts appeared.
Here's my best recollection of the sequence of events:

* Software Sources went blank
* The Package Install progress dialog got stuck at "Downloading additional package files... File 47 of 48" 99%
* Software Updates is stuck at Check and Install Updates with a "Refreshing package cache" alert.

In the latter I clicked [Cancel] and maybe clicked [Refresh] in "Software Updates".  I immediately got a "Cannot get lock" warning alert:
  Cannot get the exclusive lock on the packaging backend.
  Please close any other legacy packaging tools that may be open.
  Details: Only use one package management programme at the the same time.
This alert displayed truncated, I had to resize it (I filed bug 368904).

When I clicked on Package Kit in the task bar, another warning alert appeared:
  Window with title "Software Sources" is not responding. This window belongs to application software-properties-kde ...


Expected behavior: Don't let users mess up software updater/package install by doing two things at once.


More details: 
After I clicked OK in "Cannot get lock" and clicked "Keep running" in "Not responding", Software Sources remained blank and Package Install remained at 47 of 48.  If I click the close box in "Software Sources" I get another warning it's not responding.

I closed Software Updates and the other two windows remained as before.

% ps alx -w -w -w shows
 F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
 0  1000  3686  3552  39  19 406940 53220 poll   SNl  ?          0:08 python /usr/bin/update-notifier-kde
 1  1000 10604     1  20   0 273308 21040 poll   Sl   ?          0:03 /usr/bin/kpackagekit -caption KPackageKit -icon applications-other
 4     0 12952 12940  20   0 320644 74592 poll   S    ?          0:01 python /usr/bin/install-package --update

I clicked the close box in "Package Install" and it and the "Software
Sources" windows went away and now my system is OK.  So close enough
windows in the right order and the lockup goes away.

** Affects: kpackagekit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
running Third-Party Software reload and Software Updates simultaneously locked up both
https://bugs.launchpad.net/bugs/368928
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kpackagekit in ubuntu.




More information about the kubuntu-bugs mailing list