dpkg: unrecoverable fatal error, aborting:
reading files list for package 'libxrender1:amd64': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)
Are you familiar with this error while installing new package or running update manager on your Ubuntu/Mint machine?
When the error appears, it is related with:
- A certain package which info is corrupted in the dpkg database. Or
- There are chances that your disk has gone bad.
- Go into the /var/lib/dpkg directory and keep a backup of the ‘status’ file
- Open the ‘status’ file in edit mode and search the package that gave the error
- Just delete the lines for the erroneous package and save changes
- Run: sudo dpkg –configure -a
- Force the reinstallation of missing dependencies with sudo apt-get -f install
What if you get same message again? Check your disk for bad sectors!!!
Note: This solution is something that worked for me and should work for others too in most cases, but if it doesn’t, let me know in the comments below.
CARA KEDUA :
Unfortunatelly there is no automated fix yet.
Do
And all should be fine. Source: http://ubuntuforums.org/showthread.php?t=863742 |
Tidak ada komentar:
Posting Komentar