I'm in Ubuntu 18.04, and now I'm dealing with this "fatal error" in dpkg folder, while trying to install some random apps... Some of them are returning this error:
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)
I don't know exactly what this pack "libistack-commons-java" does, but since is something wrong with it, I supposed I could update this pack and get rid of all potencial corrupted archives or something like this.
Then I got the same error, and I don't really know what else I could try!
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)
Some big heart to help the dummie here? Please!
Input/output error
means a possible hardware failure, among other (less-likely) possible causes. Look up how to run a SMART test on your hard drive. – user535733 Dec 17 '19 at 18:05Disks
applicationSMART Data & Tests
. It may take two screenshots to get all of the data. Also show megrep -i sda /var/log/syslog*
. Report back. Start comments to me with @heynnema or I may miss them. – heynnema Dec 17 '19 at 19:46Hey, guys! Thanks for your availability. I'm running Check for bad blocks right now... I've already edited the question with the SMART Data & Tests prints!
Im also trying to understand exactly how to proceed with the
grep -i sda /var/log/syslog*
that @heynnema asked... I think I'll have to wait till the checking finish...Thanks a lot!
– Guilherme Alleoni Dec 17 '19 at 20:41grep
command is run from within theterminal
app. – heynnema Dec 17 '19 at 20:56sudo badblocks -sv /dev/sda
then, i'd run this:
sudo badblocks -sv /dev/sda > bad-blocks-result sudo fsck -t ext4 -l bad-blocks-result /dev/sda1
I'll print the terminal right now and edit in the question
– Guilherme Alleoni Dec 17 '19 at 21:29man badblocks
... Important note: If the output of badblocks is going to be fed to the e2fsck or mke2fs programs, it is important that the block size is prop‐ erly specified, since the block numbers which are generated are very dependent on the block size in use by the filesystem. For this reason, it is strongly recommended that users not run badblocks directly, but rather use the -c option of the e2fsck and mke2fs programs. – heynnema Dec 17 '19 at 21:36done Pass completed, 52 bad blocks found. (52/0/0 errors)
That was the output from badblock check... That means my HD is ruinned? Thats chocking considering that the notebook went from dell assistance few weeks ago, and since then I did not use it... I just made a test...
– Guilherme Alleoni Dec 17 '19 at 21:52