[Bug 1964625] Re: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Brian Murray 1964625 at bugs.launchpad.net
Fri Mar 11 18:05:55 UTC 2022


** Package changed: ubuntu-release-upgrader (Ubuntu) => ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1964625

Title:
  Unable to lock the administration directory (/var/lib/dpkg/), are you
  root?

Status in Ubuntu:
  New

Bug description:
  Unable to lock the administration directory (/var/lib/dpkg/), are you
  root?

  sherylphar at sherylphar-Lite:~$ sudo apt-get update
  [sudo] password for sherylphar: 
  Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease    
  Hit:2 https://updates.signal.org/desktop/apt xenial InRelease       
  Hit:3 http://gb.archive.ubuntu.com/ubuntu focal InRelease
  Hit:4 http://gb.archive.ubuntu.com/ubuntu focal-updates InRelease
  Reading package lists... Done
  sherylphar at sherylphar-Lite:~$ apt-get install -f
  E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
  E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
  sherylphar at sherylphar-Lite:~$ 
  sherylphar at sherylphar-Lite:~$ apt-get install -f
  E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
  E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
  sherylphar at sherylphar-Lite:~$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
  --2022-03-11 12:28:28--  https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
  Resolving dl.google.com (dl.google.com)... 2607:f8b0:4023:1006::5d, 2607:f8b0:4023:1006::88, 2607:f8b0:4023:1006::be, ...
  Connecting to dl.google.com (dl.google.com)|2607:f8b0:4023:1006::5d|:443... connected.
  HTTP request sent, awaiting response... 200 OK
  Length: 83028384 (79M) [application/x-debian-package]
  Saving to: ‘google-chrome-stable_current_amd64.deb.3’

  google-chrome-stabl 100%[===================>]  79.18M   567KB/s    in
  2m 20s

  2022-03-11 12:30:49 (580 KB/s) - ‘google-chrome-
  stable_current_amd64.deb.3’ saved [83028384/83028384]

  sherylphar at sherylphar-Lite:~$ sudo apt install ./google-chrome-stable_current_amd64.deb
  [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 at sherylphar-Lite:~$ apt --fix broken install
  E: Command line option --fix is not understood in combination with the other options
  sherylphar at sherylphar-Lite:~$ apt -fix broken install
  E: Command line option 'i' [from -fix] is not understood in combination with the other options.
  sherylphar at sherylphar-Lite:~$ 

  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-release-upgrader-core 1:20.04.36
  ProcVersionSignature: Ubuntu 5.11.0-27.29~20.04.1-generic 5.11.22
  Uname: Linux 5.11.0-27-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.21
  Architecture: amd64
  CasperMD5CheckResult: skip
  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)
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubuntu-release-upgrader
  Symptom: dist-upgrade
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1964625/+subscriptions




More information about the foundations-bugs mailing list