Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I was playing with package manager on my debian squeeze, was trying to install php 5.4 instead of php 5.3 and now it acts like everything is removed, I dont see any green "checkboxes" on already installed software, all the checkboxes are clean and it acts like nothing is installed. It looks like I completely removed all the data about already installed packages.. Is there a way back? How to restore it?

share|improve this question
    
Please post your resolution as an answer and mark it accepted when you're able. –  jscott Mar 5 '13 at 14:24
    
Will do, Sir! Just have to wait 6-8 hours to answer my Q. –  Wiggler Jtag Mar 5 '13 at 14:51
add comment

1 Answer

up vote 0 down vote accepted

Solved! For others with the same problem:

cp /var/backups/dpkg.status.0 /var/lib/dpkg/status
share|improve this answer
add comment

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.