apt get - "reading files list for package 'inkscape': Input/output error" while trying to install packages -
it doesn't matter try install using package manager(sudo apt-get install whatever), error.
dpkg: unrecoverable fatal error, aborting: reading files list package 'inkscape': input/output error e: sub-process /usr/bin/dpkg returned error code (2)
i have researched , have tried rebuild dpkg status file, , have tried revert older version, either hasn't worked or doing wrong.
also, when try run command "sudo apt-get update", error.
the problem started when lost internet connection while downloading monodevelop. appreciated.
i figured out answer, post here in case else has same problem in future.
note: after fix, apt-get no longer installs dependencies me automatically without using -f flag.
- go /var/lib/dpkg directory
- make backup of "status" file
- open status file root , find package causes error. in case, "package: inkscape".
- delete text until next package: declaration in file.
Comments
Post a Comment