Я нахожусь в Ubuntu 18.04, и теперь я имею дело с этой "фатальной ошибкой" в dpkg папке при попытке установить некоторые случайные приложения... Некоторые из них возвращают эту ошибку:
dpkg: unrecoverable fatal error, aborting:
reading files list for package 'libistack-commons-java': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)
Я не знаю точно, что этот пакет "libistack-commons-java" делает, но так как что-то не так с ним, я предположил, что мог обновить этот пакет и избавиться от поврежденных архивов всего potencial или чего-то вроде этого.
Затем я получил ту же ошибку, и я действительно не знаю то, что еще я мог попробовать!
guialleoni@guialleoni:~$ sudo apt-get update -y
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Hit:2 http://br.archive.ubuntu.com/ubuntu bionic InRelease
Get:3 http://br.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Get:4 http://br.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Fetched 252 kB in 6s (39,2 kB/s)
Reading package lists... Done
guialleoni@guialleoni:~$ sudo apt-get install -y libistack-commons-java
Reading package lists... Done
Building dependency tree
Reading state information... Done
libistack-commons-java is already the newest version (3.0.6-3~18.04).
libistack-commons-java set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
guialleoni@guialleoni:~$ sudo apt update && sudo apt install libcanberra-gtk-module libgconf-2-4
Hit:1 http://br.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://br.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Get:3 http://br.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Fetched 252 kB in 1s (236 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
5 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgconf-2-4 is already the newest version (3.2.6-4ubuntu1).
The following NEW packages will be installed:
libcanberra-gtk-module libcanberra-gtk0
0 upgraded, 2 newly installed, 0 to remove and 5 not upgraded.
Need to get 0 B/17,9 kB of archives.
After this operation, 84,0 kB of additional disk space will be used.
Selecting previously unselected package libcanberra-gtk0:amd64.
dpkg: unrecoverable fatal error, aborting:
reading files list for package 'libistack-commons-java': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)
Некоторое благородство для помощи dummie здесь?Пожалуйста!
Примечание: НЕ прерывайте сканирование сбойного блока!
Примечание: плохо не блокируйте Примечание SSD
: скопируйте свои важные файлы СНАЧАЛА!
Примечание: это займет много часов
Примечание: у Вас может быть незаконченный отказ жесткого диска
Начальная загрузка к Ubuntu Живой DVD/USB.
В terminal
...
sudo fdisk -l
# определяют все "разделы" Файловой системы Linux
sudo e2fsck -fcky /dev/sdXX
# тест только для чтения
или
sudo e2fsck -fccky /dev/sdXX
, # неразрушающий тест чтения-записи (рекомендовал)
,-k важен, потому что он сохраняет предыдущую таблицу дефектных блоков и добавляет любые новые сбойные блоки к той таблице. Без-k Вы освобождаете всю предшествующую информацию о сбойном блоке.
-fccky параметр...
-f Force checking even if the file system seems clean.
-c This option causes e2fsck to use badblocks(8) program to do a
read-only scan of the device in order to find any bad blocks.
If any bad blocks are found, they are added to the bad block
inode to prevent them from being allocated to a file or direc‐
tory. If this option is specified twice, then the bad block
scan will be done using a non-destructive read-write test.
-k When combined with the -c option, any existing bad blocks in the
bad blocks list are preserved, and any new bad blocks found by
running badblocks(8) will be added to the existing bad blocks
list.
-y Assume an answer of `yes' to all questions; allows e2fsck to be
used non-interactively. This option may not be specified at the
same time as the -n or -p options.