SOLVIUM

Raspberry Pi

RaspberryPi: apt-get error: dpkg: unrecoverable fatal error, aborting: files list file for package ‚dmsetup‘ is missing final newline

When trying to install redis-server on my RaspberryPi using

sudo apt-get install redis-server

I ran into the following error:

dpkg: unrecoverable fatal error, aborting: files list file for package 'dmsetup' is missing final newline

Which left me confused. Trying to re-install package dmsetup did not work (or help) at all, neither did apt-get update. Even apt-get upgrade failed with the identical error message. When searching for the message I came across this topic over at the Ubuntu forums, of which the solution in post #3 helped to solve my problem.

So, in my case, I did a

sudo nano /var/lib/dpkg/info/dmsetup.list

(replace ‚dmsetup‘ with the package name in your error message, if different). It contained a bunch of crazy characters, so I just removed them all.

Finally save the file and you’re good to go. Leave me a comment below if it helped or if you needed to take additional steps. Thank you!

GD Star Rating
loading...
RaspberryPi: apt-get error: dpkg: unrecoverable fatal error, aborting: files list file for package 'dmsetup' is missing final newline, 5.0 out of 5 based on 1 rating

, , , , | Kommentar schreiben | Trackback einrichten

Einen Kommentar schreiben

  • Themen

  • Zeitliches Archiv

© 2006-2019 Solvium.de - Impressum

» Blog powered by Wordpress. Silk icons von FamFamFam.