Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

apt-get update has insufficient permissions on ubuntu #11

Closed
5chdn opened this issue Mar 21, 2017 · 3 comments
Closed

apt-get update has insufficient permissions on ubuntu #11

5chdn opened this issue Mar 21, 2017 · 3 comments

Comments

@5chdn
Copy link
Contributor

5chdn commented Mar 21, 2017

## Populating apt-get cache...

 + apt-get update
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
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)
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Error executing command, exiting

Can't seem to see why. The script clearly prefixes it with sudo.

@arkpar
Copy link
Member

arkpar commented Mar 21, 2017

Probably there's another apt process already running. Background auto-update or package manager UI app.

@5chdn
Copy link
Contributor Author

5chdn commented Mar 21, 2017

Yeah, it was a fresh ubuntu desktop installation, was probably the auto-updater. makes sense.

@5chdn 5chdn closed this as completed Mar 21, 2017
@opensourcegamer111
Copy link

Try sudo apt-get update

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants