Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have an empty /var/lib/dpkg and as consequence both apt and dpkg are starting to complain about everything and with every simple task I would like to do with them: there is a way to rebuild that directory ?

I simply got this directory deleted ... don't ask why, it's something too "experimental" that I should not have try.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Unless you have a backup you can restore from, no. You will have to reinstall.

share|improve this answer
    
I noticed some automated backups under /var/backups/ but they are causing more troubles than benefits, also this way the rebuilding and the re-indexing of all the packages just takes forever ... –  user2311177 Apr 29 '13 at 1:17
    
do you know where i can download the most up to date iso of Precise so I don't have to re-download all the updates separately ? –  user2311177 Apr 29 '13 at 1:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.