Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-24-2014, 02:32 PM   #1
Registered: Apr 2013
Location: /home/
Distribution: Ubuntu 14.04
Posts: 50

Rep: Reputation: 7
Smile dpkg interrupted/errors (missing file newline)

When I try to update my sources via sudo apt-get update I come across this error.

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
So, after running that, I try to update again. It tells me I need about 2MB of updates, so I allow them to download. Then, after a second or two after it says "Fetched 1,975 kB in 5s (356 kB/s)" is says

dpkg: unrecoverable fatal error, aborting:
 files list file for package 'x11proto-gl-dev' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
I cant find anything on the Internet to help fix this problem, though I know from a couple pages that it shouldn't be too much of a fix.

Old 05-25-2014, 09:35 AM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,823

Rep: Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611
rm /var/lib/dpkg/info/x11proto-gl-dev.list
apt-get install x11proto-gl-dev --reinstall

I cant find anything on the Internet
here's a tip on how to search: Google the error message but remove the specific package. To bring you this answer, I just searched for
files list file for package is missing final newline
and read the first result (an LQ post started in 2004).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get dpkg error: files list file ... missing final newline PBSchmidt Debian 12 02-07-2017 10:41 PM
Ubuntu 'dpkg--configure-a' E: dpkg was interrupted error Mountain Man 77 Linux - Newbie 8 02-21-2015 10:59 PM
dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the prob krishna.nitk Linux - Newbie 3 03-21-2009 02:41 PM
Ubuntu newbie, E: dpkg was interrupted, you must manually run 'dpkg --configure -a' ? chinkychan Linux - Newbie 1 01-28-2009 10:21 PM
E:dpkg was interrupted,you must manually run"dpkg --configure -a" to correct problem loplop4 Debian 5 09-29-2008 11:11 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration