Bug 213765 - "Cannot Get Lock" Displayed Over and Over Again From KPackagekit [dpkg]
Summary: "Cannot Get Lock" Displayed Over and Over Again From KPackagekit [dpkg]
Status: RESOLVED FIXED
Alias: None
Product: kpackagekit
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Steven M. Parrish
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-08 21:56 UTC by Philip Muškovac
Modified: 2009-11-17 19:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Muškovac 2009-11-08 21:56:37 UTC
Version:           0.4.2-0ubuntu3 (using KDE 4.3.2)
Compiler:          gcc 4.4.1-4ubuntu8 
OS:                Linux
Installed from:    Ubuntu Packages

I am using Kubuntu Karmic 64-bit. I choose sometimes to upgrade my system manually through a terminal or a TTY, and today when I ran "sudo apt-get update && sudo apt-get dist-upgrade" I came back to my system and found over 20 KPackageKit errors waiting for me. (See screenshot). It seems to me that KPackageKit isn't able to see that I'm doing it manually.

This bug was originally filed as 
https://bugs.launchpad.net/ubuntu/+source/kpackagekit/+bug/434390

It seems that locking the dpkg database someway is enough to trigger this bug.
Comment 1 Daniel Nicoletti 2009-11-09 13:00:50 UTC
Well, I understand the issue.
Right now I can't think of a simple solution
since these errors are there so the user can help
KPackageKit to start updating things,
you will have lot's of them since it'll try
again and again.
Comment 2 Daniel Nicoletti 2009-11-17 17:40:38 UTC
Changed 'All packages' to 'Text search' in 0.5.1 version.
Comment 3 Daniel Nicoletti 2009-11-17 19:32:12 UTC
Oops.. sorry wrong comment in here..
But fixed anyway in commit 1050605 and KPK 0.5.1.1
Now when a error happens and it was triggered
by the automatic task it will not be persistent
thus going away in a few seconds. KPK will try again
in 5 minutes as usual..