LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-24-2014, 03:32 PM   #1
TRUNoise
Member
 
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.

Code:
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

Code:
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.

Thanks.
 
Old 05-25-2014, 10:35 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

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

Quote:
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
Code:
files list file for package is missing final newline
and read the first result (an LQ post started in 2004).
 
  


Reply


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 11 02-10-2016 12:52 AM
Ubuntu 'dpkg--configure-a' E: dpkg was interrupted error Mountain Man 77 Linux - Newbie 8 02-21-2015 11:59 PM
dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the prob krishna.nitk Linux - Newbie 3 03-21-2009 03:41 PM
Ubuntu newbie, E: dpkg was interrupted, you must manually run 'dpkg --configure -a' ? chinkychan Linux - Newbie 1 01-28-2009 11:21 PM
E:dpkg was interrupted,you must manually run"dpkg --configure -a" to correct problem loplop4 Debian 5 09-29-2008 12:11 PM


All times are GMT -5. The time now is 11:59 AM.

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