Cannot get debconf version after delete /var/lib/dpkg
Posted
by
pije76
on Ask Ubuntu
See other posts from Ask Ubuntu
or by pije76
Published on 2012-08-25T04:55:43Z
Indexed on
2012/10/27
11:23 UTC
Read the original article
Hit count: 323
As a new ubuntu user, I just make a mistaken. I've deleted a folder /var/lib/dpkg/ instead of /var/lib/dpkg/lock :)
Now when I execute apt-get -f install then it will display error message:
...
E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
...
I've try this tutorial: http://people.adams.edu/~cdmiller/posts/Ubuntu-dpkg-recovery/ but still no luck.
How can I fix this issue?
© Ask Ubuntu or respective owner