Public bug reported:

When I type "apt upgrade" in terminal, it showed, 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?

Please help,
Thank you

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-release-upgrader-core 1:20.04.27 [origin: unknown]
ProcVersionSignature: Ubuntu 5.4.0-49.53-generic 5.4.65
Uname: Linux 5.4.0-49-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckResult: skip
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Wed Oct  7 11:04:43 2020
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_IN:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_IN
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
Symptom: release-upgrade
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.update-manager.release-upgrades: 2020-10-02T22:19:50.834355

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: Incomplete


** Tags: amd64 apport-bug dist-upgrade focal third-party-packages

** Summary changed:

- Hello, When I was in the process of installing the latest version of ubuntu 
20.04.1 LTS , the process crashed. I restarted my system and then when I booted 
Ubuntu, it went fine. I was also able to install all updates and upgrade, but 
when I typed ''apt update" , it showed ''Reading package lists... Done E: Could 
not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: 
Unable to lock directory /var/lib/apt/lists/ W: Problem unlinking the file 
/var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied) W: Problem 
unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: 
Permission denied)'' . How can I give permission to this directory? 
+ Hello, When I was in the process of installing the latest version of ubuntu 
20.04.1 LTS , the process crashed. I restarted my system and then when I booted 
Ubuntu, it went fine. I was also able to install all updates and upgrades, but 
when I typed ''apt update" , it showed ''Reading package lists... Done E: Could 
not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: 
Unable to lock directory /var/lib/apt/lists/ W: Problem unlinking the file 
/var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied) W: Problem 
unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: 
Permission denied)'' . How can I give permission to this directory?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898820

Title:
  Hello, When I was in the process of installing the latest version of
  ubuntu 20.04.1 LTS , the process crashed. I restarted my system and
  then when I booted Ubuntu, it went fine. I was also able to install
  all updates and upgrades, but when I typed ''apt update" , it showed
  ''Reading package lists... Done E: Could not open lock file
  /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to
  lock directory /var/lib/apt/lists/ W: Problem unlinking the file
  /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied) W:
  Problem unlinking the file /var/cache/apt/srcpkgcache.bin -
  RemoveCaches (13: Permission denied)'' . How can I give permission to
  this directory?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1898820/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to