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.

  1. go /var/lib/dpkg directory
  2. make backup of "status" file
  3. open status file root , find package causes error. in case, "package: inkscape".
  4. delete text until next package: declaration in file.

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -