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?

  • 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

Solved! For others with the same problem:

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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