A few days back, I was messing with a custom kernel for Acer Aspire One. Some time after that, apt-get and Synaptic was failing. apt-get threw a “Run dpkg –configure -a” to fix the problem. Opps.. that didn’t work.
That got me searching for answers. My system was practically un-updateable. I followed what apt-get told me to do so i ran
sudo dpkg –configure -a
That didn’t work. It failed. I was feeling like a complete reinstall. Not something I want to do on my wife’s Aspire One. (Yikes!)
After much searching, somebody suggested this
sudo update-initramfs -u
That didn’t work either. At last, I found that update-initramfs was reading fromthe folder /var/lib/initramfs-tools
ls /var/lib/initramfs-tools
gave me this
2.6.27.2-one 2.6.27-7-generic
Then I ran
sudo rm /var/lib/initramfs-tools/2.6.27.2-one
I tried
sudo dkpg –configure -a
Success! Now Synaptic works and I’m able to update the system again.. Yay! Go to sleep now.
Tags: apt-get, dpkg, fail, format

WHAT TO DO NOW?