Bug 415118

Summary: Not possible to update packages
Product: [Applications] Discover Reporter: maxisebajuarez
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED NOT A BUG    
Severity: critical CC: aleixpol, nate
Priority: NOR    
Version First Reported In: 5.15.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Error screenshot

Description maxisebajuarez 2019-12-13 04:12:32 UTC
Created attachment 124456 [details]
Error screenshot

SUMMARY:
When I click on update all packages, after a few seconds I get this error message:

Cannot obtain lock
E: could not get lock /var/lib/dpkg/lock-frontend -open (11: resource temporarily unavailable)
E: unable to acquire the dkpg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?


STEPS TO REPRODUCE
1. Open discover
2. Click on updates
3. Click on update all
OBSERVED RESULT
The error I wrote on the summary

EXPECTED RESULT
The app should have downloaded and installed the updates

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
Lubuntu 19.04 

ADDITIONAL INFORMATION
Comment 1 maxisebajuarez 2019-12-13 04:33:26 UTC
This was solved after rebooting my computer. Do you still think it's worth keeping it opened and investigating?
Comment 2 Nate Graham 2019-12-13 11:24:07 UTC
That means your command-line package manager was open and/or in use. We figure that if you're an expert enough to use a command-line package manager, you can interpret the error message to figure that out. :0 It's a bit cryptic for sure, but it comes from the process itself rather than Discover, so we can't really improve it, sorry.