GalliumOS / galliumos-distro

Docs, issues, and artwork sources for GalliumOS
https://galliumos.org/
GNU General Public License v2.0
347 stars 11 forks source link

GalliumOS update error #568

Closed gwagnitz closed 4 years ago

gwagnitz commented 4 years ago

New installation on Samsung Chromebook 3 Not a dual boot with Chrome. Device is dedicated to GalliumOS. I try to update the OS with the following error. Help. Thanks. Greg

Updating packages... sudo apt full-upgrade E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? "sudo apt full-upgrade" returned an error. Proceed with caution.

reynhout commented 4 years ago

Make sure you are not running any other package management app at the same time. That's the most likely cause.

Generically, the issue is that another application has locked the package database. There are a few things that run in the background that would do this. If you still get the same error with no other apps running, just wait a few minutes.

Occasionally, an error will occur and leave the lockfiles behind even though there is no app that requires a lock on the database. There are a few possible filenames, and they are listed in the error message. They can be deleted (sudo rm /var/lib/dpkg/lock-frontend). Only do this if you are sure nothing else is running that needs a lock on the package database!