LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 01-18-2007, 06:40 AM   #1
dimi
Member
 
Registered: May 2003
Location: Sydney, Australia
Distribution: Debian
Posts: 67

Rep: Reputation: 15
dpkg error


Hi all

Just wondering if anyone has seen following error messages when trying to install a package using apt-get?

(Reading database ... dpkg: error processing /var/cache/apt/archives/synergy_1.3.1-2_i386.deb (--unpack):
files list file for package `passwd' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (1)

For some reason I keep on getting the above error message no matter what package i try to install.

Any help would be greatly appreciated.

Thanks in advance
DF
 
Old 01-18-2007, 09:54 AM   #2
kenneth.ramsey
LQ Newbie
 
Registered: Sep 2005
Posts: 23

Rep: Reputation: 15
Would you please post your sources.list?
 
Old 01-19-2007, 04:15 AM   #3
dimi
Member
 
Registered: May 2003
Location: Sydney, Australia
Distribution: Debian
Posts: 67

Original Poster
Rep: Reputation: 15
Its as below.

#deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official i386 Binary-7 (20020718)]/ unstable contrib main non-US/contrib non-US/main
#deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official i386 Binary-6 (20020718)]/ unstable contrib main non-US/contrib non-US/main
#deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official i386 Binary-5 (20020718)]/ unstable contrib main non-US/contrib non-US/main
#deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official i386 Binary-4 (20020718)]/ unstable contrib main non-US/contrib non-US/main
#deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official i386 Binary-3 (20020718)]/ unstable contrib main non-US/contrib non-US/main
#deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official i386 Binary-2 (20020718)]/ unstable contrib main non-US/contrib non-US/main
#deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official i386 Binary-1 (20020718)]/ unstable contrib main non-US/contrib non-US/main

deb http://mirror.aarnet.edu.au/pub/debian testing main
deb http://security.debian.org/ stable/updates main

#deb ftp://ftp.monash.edu.au/pub/linux/debian testing main


Thanks
DF
 
Old 01-19-2007, 03:56 PM   #4
kenneth.ramsey
LQ Newbie
 
Registered: Sep 2005
Posts: 23

Rep: Reputation: 15
What verison of Debian are you using? At the top of your sources.list it makes me think Woody; but yo're getting packages for unstable (Sid), why? WHy not pull packages for Woody? I'll be one of the first to tell you I'm new at this and that might not be an issue but it seems that way to me.
 
Old 01-19-2007, 03:59 PM   #5
kenneth.ramsey
LQ Newbie
 
Registered: Sep 2005
Posts: 23

Rep: Reputation: 15
I just google'd the last line in your error message; here's the link: http://www.linuxquestions.org/questi...hreadid=171107
Based on that and my first thought my advice would be change around your sources.list to point to the Woody package, maybe stable packages or upgrade your OS. I"m running Etch on my laptop and 2 servers with no problems for my business.
 
Old 01-19-2007, 04:50 PM   #6
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
All of his woody sources are commented out. So is the last one, the monash.edu. The only 2 sources he has working are:

deb http://mirror.aarnet.edu.au/pub/debian testing main
deb http://security.debian.org/ stable/updates main

Those lines are from the woody cdrom install, which as his sources state, goes back to 2002. Commented out, they only cause a problem to human readers. Good thing our computers are more careful than we are!

Peace,
JimBass
 
Old 01-23-2007, 06:39 AM   #7
dimi
Member
 
Registered: May 2003
Location: Sydney, Australia
Distribution: Debian
Posts: 67

Original Poster
Rep: Reputation: 15
Yes I was running Woody and this machine was installed some years back. I upgraded from Woody sometime back as well. As JimBass mentioned those woody source lines are commented out. I have been using testing updates for sometime with no issues. Only very recently i came across this issue.

If anyone has seen this error please drop a line, in the meantime if I find any solution i'll post it here.

Thanks again for ur time.
 
Old 01-23-2007, 06:42 AM   #8
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
http://www.linuxquestions.org/questi...d.php?t=271118

Something got corrupted..
 
Old 01-24-2007, 05:53 AM   #9
dimi
Member
 
Registered: May 2003
Location: Sydney, Australia
Distribution: Debian
Posts: 67

Original Poster
Rep: Reputation: 15
Thanx nx5000, that fixed the problem.

appreciate ur help.

DF
 
  


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
Input/Output Error; dpkg sub-process /usr/bin/dpkg returned and error code (2) NosLycn Linux - Software 7 12-12-2011 03:50 AM
APT/dpkg errors! /var/lib/dpkg/status bassclarinet Debian 16 12-01-2011 10:24 AM
dpkg is dead! error in /var/lib/dpkg/available dezert_fox Debian 4 11-22-2011 11:28 AM
dpkg error, need help cheater1034 Linux - Software 3 05-10-2005 01:49 AM
Debian dpkg error aliensub Linux - Distributions 1 02-24-2003 01:10 PM


All times are GMT -5. The time now is 12:20 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration