Can't install applications: "E: could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-software (Ubuntu) |
New
|
Low
|
Unassigned |
Bug Description
1. Start Software Center.
2. Select an application to install
3. Click install
Expected: application installs
Actual: error message "E: could not get lock /var/lib/
Solutions attempted:
1. Closing and re-opening software center
2. Checking 'updates' tab in software center ('Software is up to date')
---
Version information:
$ lsb_release -rd
Description: Ubuntu 18.04.2 LTS
Release: 18.04
$ apt-cache policy gnome-software
gnome-software:
Installed: 3.28.1-
Candidate: 3.28.1-
Version table:
*** 3.28.1-
500 http://
100 /var/lib/
3.
500 http://
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gnome-software 3.28.1-
ProcVersionSign
Uname: Linux 4.15.0-45-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar 1 20:06:51 2019
InstallationDate: Installed on 2019-01-20 (40 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
InstalledPlugins:
gnome-
gnome-
gnome-
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gnome-software
UpgradeStatus: No upgrade log present (probably fresh install)
Thank you for your bug report, as indicated by the error message (which could probably be a bit nicer/user friendly) the packaging system seems currently locked by another proceess. Did you have any other packaging tools in use at the time? Did that resolve itself after some time?