Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install packages because /var/lib/dpkg is deleted #12

Open
amalagaura opened this issue Mar 17, 2017 · 1 comment
Open

Unable to install packages because /var/lib/dpkg is deleted #12

amalagaura opened this issue Mar 17, 2017 · 1 comment

Comments

@amalagaura
Copy link

In the cleanup /var/lib/dpkg is deleted. This means that you cannot do any apt-get commands like update or install. We are unable to install any other dependencies. Is there a reason this is done?

It shows up with this error:

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

@amalagaura amalagaura changed the title Unable to install packages on the baseimage because /var/lib/dpkg is deleted Unable to install packages because /var/lib/dpkg is deleted Mar 17, 2017
@maxivak
Copy link

maxivak commented Oct 22, 2017

I have the same problem.

apt-get update

gives error

...
Get:35 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [6354 B]                                            
Fetched 26.3 MB in 11s (2328 kB/s)                                                                                                   
Reading package lists... Error!
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: No such file or directory)
E: Could not open file  - open (2: No such file or directory)
E: Problem opening 
E: The package lists or status file could not be parsed or opened.

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

No branches or pull requests

2 participants