aptdaemon error

Liam Proven lproven at gmail.com
Sat Oct 4 17:20:48 UTC 2014


On 4 October 2014 16:04, Thomas Blasejewicz <thomas at s7.dion.ne.jp> wrote:
> * trying "sudo apt-get dist-upgrade" ->
> * I get another error: "dpkg was disrupted; you must use 'sudo dpkg
> --configure -a' to fix the problem"
> * trying that shows: "error reading package '/var/lib/dpkg/status'
> Input/Output error


That's not good.

>From a shell:

sudo touch /forcefsck

Then reboot.

On reboot, do

sudo dpkg --configure -a

If that works, do:

sudo apt-get install -f

This should report no errors.

Then do:

sudo apt-get clean
sudo apt-get autoclean
sudo apt-get purge

Then

sudo apt-get update
sudo apt-get dist-upgrade -y

This *should* sort out any disk corruption or package problems.


-- 
Liam Proven • Profile: http://lproven.livejournal.com/profile
Email: lproven at cix.co.uk • GMail/G+/Twitter/Flickr/Facebook: lproven
MSN: lproven at hotmail.com • Skype/AIM/Yahoo/LinkedIn: liamproven
Cell/Mobiles: +44 7939-087884 (UK) • +420 702 829 053 (ČR)




More information about the ubuntu-users mailing list