Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
New
|
Undecided
|
Unassigned |
Bug Description
Unable to lock the administration directory (/var/lib/dpkg/), are you root?
sherylphar@
[sudo] password for sherylphar:
Hit:1 http://
Hit:2 https:/
Hit:3 http://
Hit:4 http://
Reading package lists... Done
sherylphar@
E: Could not open lock file /var/lib/
E: Unable to acquire the dpkg frontend lock (/var/lib/
sherylphar@
sherylphar@
E: Could not open lock file /var/lib/
E: Unable to acquire the dpkg frontend lock (/var/lib/
sherylphar@
--2022-03-11 12:28:28-- https:/
Resolving dl.google.com (dl.google.com)... 2607:f8b0:
Connecting to dl.google.com (dl.google.
HTTP request sent, awaiting response... 200 OK
Length: 83028384 (79M) [application/
Saving to: ‘google-
google-chrome-stabl 100%[==
2022-03-11 12:30:49 (580 KB/s) - ‘google-
sherylphar@
[sudo] password for sherylphar:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
sherylphar@
E: Command line option --fix is not understood in combination with the other options
sherylphar@
E: Command line option 'i' [from -fix] is not understood in combination with the other options.
sherylphar@
After a previous update I started getting this message:
The Package System Is Broken
Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f
Transaction failed: The package system is broken
The following packages have unmet dependencies:
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 5.11.0-27-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar 11 12:14:25 2022
InstallationDate: Installed on 2020-12-18 (448 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
PackageArchitec
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-
Symptom: dist-upgrade
UpgradeStatus: No upgrade log present (probably fresh install)
affects: | ubuntu-release-upgrader (Ubuntu) → ubuntu |