Bug 284962 - MUON refuses to install/remove software
Summary: MUON refuses to install/remove software
Status: RESOLVED NOT A BUG
Alias: None
Product: muon
Classification: Applications
Component: muon (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Jonathan Thomas
URL:
Keywords:
: 310212 312250 312459 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-25 20:38 UTC by ttom
Modified: 2013-02-17 21:33 UTC (History)
4 users (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 ttom 2011-10-25 20:38:19 UTC
Version:           4.7 (using KDE 4.7.2) 
OS:                Linux

MUON refuses to install/remove software by displaying this 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.

No other package managers is open during this sequence. This occurs in the software manager and the package manager.

Reproducible: Always

Steps to Reproduce:
Trying to install/remove software.

Actual Results:  
MUON refuses to proceed.

Expected Results:  
Install requested items.
Comment 1 Jonathan Thomas 2011-10-25 22:47:55 UTC
This could be a stale dpkg lock. Try running "sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a"
Comment 2 ttom 2011-10-26 17:38:54 UTC
(In reply to comment #1)
> This could be a stale dpkg lock. Try running "sudo fuser -vki
> /var/lib/dpkg/lock;sudo dpkg --configure -a"

Great ! Many thanks, your command line solved my issue. I'll write it down should the bug reappear. By the way, what action can cause a dpkg lock ?
Comment 3 Jonathan Thomas 2011-10-26 21:16:47 UTC
A power loss during an update or something similar could cause the lock to remain.
Comment 4 josh 2012-01-06 20:51:11 UTC
hi, total newb here.  not sure how to enter that command line in the konsole.  should i copy and paste as is or is it multiple commands?  any help would be great, thanks!
Comment 5 Jonathan Thomas 2012-01-06 20:59:25 UTC
Copy "sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a" (without quotes) and paste it in to konsole, then hit enter. You will be prompted for your password afterwards.
Comment 6 josh 2012-01-06 23:23:24 UTC
Thanks johnathan!  That worked wonders!
On Jan 6, 2012 2:59 PM, "Jonathan Thomas" <echidnaman@kubuntu.org> wrote:
>
> https://bugs.kde.org/show_bug.cgi?id=284962
>
>
>
>
>
> --- Comment #5 from Jonathan Thomas <echidnaman kubuntu org>  2012-01-06
20:59:25 ---
> Copy "sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a"
(without
> quotes) and paste it in to konsole, then hit enter. You will be prompted
for
> your password afterwards.
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
Comment 7 Jonathan Thomas 2013-02-17 21:30:05 UTC
*** Bug 312250 has been marked as a duplicate of this bug. ***
Comment 8 Jonathan Thomas 2013-02-17 21:32:56 UTC
*** Bug 310212 has been marked as a duplicate of this bug. ***
Comment 9 Jonathan Thomas 2013-02-17 21:33:23 UTC
*** Bug 312459 has been marked as a duplicate of this bug. ***