HELP! I destroyed /var/cache/apt

Steve yorvik.ubunto at
Sat Jan 30 16:40:43 UTC 2010

On Sat, 30 Jan 2010 16:35:39 -0000, Jay Ridgley <jridgley2 at>  

> Folks,
> Well to put it simply "I shot myself in the foot"!
> How do I recover a completely destroyed /var/cache/apt directory? I
> messed up with an sudo rm -rf to get rid of some files in /var...
> How do I rebuild the information on installed packages?? Can I copy one
> from another system?
> With egg on my face,
> Jay
> PS Thanks for the help about the NFS entry in my /etc/fstab
Restore from your backup  :p

...or have a read of man apt-cache


More information about the ubuntu-users mailing list