Answer the question
In order to leave comments, you need to log in
How to defeat "dpkg was interrupted"?
Hello. I recently installed Ubuntu 16.04. Everything was fine, but every day she began to fail more and more. Today it was just the climax, I went to the toaster from 5 times, barely launching chrome. When I tried to install something, I started to throw out in the console:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Generating grub configuration file ...
error: cannot read `/dev/sda': Input/output error.
sudo dpkg --configure -a
Setting up linux-image-4.4.0-24-generic (4.4.0-24.43) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
initrd.img(/boot/initrd.img-4.4.0-24-generic
) points to /boot/initrd.img-4.4.0-24-generic
(/boot/initrd.img-4.4.0-24-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-4.4.0-24-generic.postinst line 491.
vmlinuz(/boot/vmlinuz-4.4.0-24-generic
) points to /boot/vmlinuz-4.4.0-24-generic
(/boot/vmlinuz-4.4.0-24-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-4.4.0-24-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-24-generic /boot/vmlinuz-4.4.0-24-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-24-generic /boot/vmlinuz-4.4.0-24-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-24-generic /boot/vmlinuz-4.4.0-24-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-24-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-24-generic /boot/vmlinuz-4.4.0-24-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-24-generic /boot/vmlinuz-4.4.0-24-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-24-generic /boot/vmlinuz-4.4.0-24-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-24-generic /boot/vmlinuz-4.4.0-24-generic
Generating grub configuration file ...
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
error: cannot read `/dev/sda': Input/output error.
Answer the question
In order to leave comments, you need to log in
Бэкапь все что есть на внешний диск.
После покажи сюда вывод dmesg | grep sda
Скорее всего диск полностью под замену
У тебя проблема с диском
Не перезагружайся
Забекапь все самое необходимое на внешний диск
Потом читай /var/log/syslog
я бы советовал установить после бэкапа smartmontools и сделать long-test.
Так бывает и при хреновом кабеле SATA и при дохлом диске.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question