Unable to open files list file for package `libxslt1.1:armhf'

Hello when i trie to update my os i get this error message: dpkg: unrecoverable fatal error, aborting:
unable to open files list file for package `libxslt1.1:armhf’: No such device or address
E: Sub-process /usr/bin/dpkg returned an error code (2)

How can i fix this problem?

https://paste.osmc.tv/inalurasej

Please provide full logs using grab-logs -A and post the URL it returns.

https://paste.osmc.tv/inalurasej

It looks like some kind of file corruption. Please post the output from:

ls -l  "/var/lib/dpkg/info/libxslt1.1:armhf.list"
cat  "/var/lib/dpkg/info/libxslt1.1:armhf.list"

osmc@fresonew:/var/lib/apt$ ls -l “/var/lib/dpkg/info/libxslt1.1:armhf.list”
cr-Sr----T 1 root root 243, 10 May 10 2017 /var/lib/dpkg/info/libxslt1.1:armhf.list
osmc@fresonew:/var/lib/apt$ cat “/var/lib/dpkg/info/libxslt1.1:armhf.list”
cat: /var/lib/dpkg/info/libxslt1.1:armhf.list: Permission denied
osmc@fresonew:/var/lib/apt$ sudo cat “/var/lib/dpkg/info/libxslt1.1:armhf.list”
cat: /var/lib/dpkg/info/libxslt1.1:armhf.list: No such device or address

Yikes. That’s not what we should be seeing. Here’s what I see on my Pi3:

osmc@osmc:~$ ls -l  "/var/lib/dpkg/info/libxslt1.1:armhf.list"
-rw-r--r-- 1 root root 735 Aug  3 12:04 /var/lib/dpkg/info/libxslt1.1:armhf.list
osmc@osmc:~$ cat "/var/lib/dpkg/info/libxslt1.1:armhf.list"
/.
/usr
/usr/share
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/libxslt1.1
/usr/share/doc
/usr/share/doc/libxslt1.1
/usr/share/doc/libxslt1.1/FEATURES.gz
/usr/share/doc/libxslt1.1/NEWS.gz
/usr/share/doc/libxslt1.1/changelog.Debian.gz
/usr/share/doc/libxslt1.1/changelog.gz
/usr/share/doc/libxslt1.1/copyright
/usr/share/doc/libxslt1.1/TODO.Debian
/usr/share/doc/libxslt1.1/README.Debian
/usr/share/doc/libxslt1.1/TODO
/usr/share/doc/libxslt1.1/README
/usr/share/doc/libxslt1.1/AUTHORS
/usr/lib
/usr/lib/arm-linux-gnueabihf
/usr/lib/arm-linux-gnueabihf/libexslt.so.0.8.17
/usr/lib/arm-linux-gnueabihf/libxslt.so.1.1.28
/usr/lib/arm-linux-gnueabihf/libxslt.so.1
/usr/lib/arm-linux-gnueabihf/libexslt.so.0

You’ll need to remove the file, if possible:

sudo rm "/var/lib/dpkg/info/libxslt1.1:armhf.list"

though it might possibly not work because of filesystem corruption.

Then create a new copy of the file in a text editor and copy the above file list from the cat command into it.

The new file should have an md5sum value of 3567cead2116ab4bd6ac16256be5dcda.

And how i have to do this 2 steps?
Then create a new copy of the file in a text editor and copy the above file list from the cat command into it.

The new file should have an md5sum value of 3567cead2116ab4bd6ac16256be5dcda.

  1. sudo nano “/var/lib/dpkg/info/libxslt1.1:armhf.list”
  2. Copy list of files and save
  3. Run md5sum “/var/lib/dpkg/info/libxslt1.1:armhf.list”

Thanks dillthedog, its already running