[Bug 976159] Re: Error while updating using muon: Another application seems to be using the package system at this time

Bug Watch Updater 976159 at bugs.launchpad.net
Tue Jul 10 21:24:51 UTC 2012


Launchpad has imported 6 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=297681.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2012-04-07T19:52:36+00:00 Robert Simmons wrote:

Created attachment 70217
the error message

Muon refuses to perform the current update to my system. I am trying to let it perform the April KDE updates from the kubuntu backports archive. When I click "Full Upgrade" then "Apply Changes" the update fails with the following error:
"Another application seems to be using the package system at this time. You must close all other package managers before you will be able to install or remove any packages."

I ran "ps -efl | egrep 'apt|dpkg'" and the only process that shows up is:
4 S root 2393 1 0 80 0 - 20790 poll_s 15:20 ? 00:00:00 /usr/bin/python /usr/share/apt-xapian-index/update-apt-xapian-index-dbus

Killing that process does not help.

I have tried the following, all fail to correct the problem:
1) sudo dpkg --configure -a
2) Logout
3) Reboot
4) All possible combinations of the above.

The only way to get past this is to use terminal:
sudo apt-get update
sudo apt-get upgrade

After that, the problem goes away.

Reply at: https://bugs.launchpad.net/qapt/+bug/976159/comments/2

------------------------------------------------------------------------
On 2012-04-07T22:57:52+00:00 Jonathan Thomas wrote:


*** This bug has been marked as a duplicate of bug 285787 ***

Reply at: https://bugs.launchpad.net/qapt/+bug/976159/comments/3

------------------------------------------------------------------------
On 2012-04-07T23:09:27+00:00 Jonathan Thomas wrote:

Ah, well, bug 285787 was half of it. The other half is that when you try
to mark a single package for upgrade when it has dependencies that will
need upgraded that need other dependencies upgraded (basically a 2 or
3-deep "need upgraded" chain), APT will fail to upgrade the package and
puts an error on its error stack.

The method that Muon uses to tell the QApt Worker which packages to
commit uses a single-mark system for each of the packages being changed,
which unfortunately uncovers this bug.

In the case of upgrades, the APT functions for marking upgrades resolve
the dependency issues when we hit the upgrade button in Muon, so the
other I updated the problem resolution for marking individual upgrades
to match that of the APT upgrade functions. (Basically, if marking
everything in the list of upgrades sent to the QApt worker resolves the
problem manually, then delete the error of APT's error stack.

Reply at: https://bugs.launchpad.net/qapt/+bug/976159/comments/4

------------------------------------------------------------------------
On 2012-04-08T19:54:25+00:00 Robert Simmons wrote:

The problem is that an error was being reported incorrectly as a locking
error.  Why then were there no errors at all reported when I used "sudo
apt-get upgrade"?  Wouldn't there still have been an error reported by
that command, just not a locking error?

Reply at: https://bugs.launchpad.net/qapt/+bug/976159/comments/6

------------------------------------------------------------------------
On 2012-04-08T22:08:28+00:00 Jonathan Thomas wrote:

See comment 2. :)

Reply at: https://bugs.launchpad.net/qapt/+bug/976159/comments/7

------------------------------------------------------------------------
On 2012-07-10T15:25:59+00:00 Kenyon Karl wrote:

I just went through the following routine:

The only way to get past this is to use terminal:
sudo apt-get update
sudo apt-get upgrade

And likewise:
After that, the problem goes away.

Reply at: https://bugs.launchpad.net/qapt/+bug/976159/comments/8


** Changed in: qapt
       Status: Unknown => Fix Released

** Changed in: qapt
   Importance: Unknown => High

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qapt in Ubuntu.
https://bugs.launchpad.net/bugs/976159

Title:
  Error while updating using muon: Another application seems to be using
  the package system at this time

To manage notifications about this bug go to:
https://bugs.launchpad.net/qapt/+bug/976159/+subscriptions




More information about the kubuntu-bugs mailing list