Submitted by support0 on Thu, 12/01/2011 - 10:09
When I issue the command:
"sudo apt-get install pgsql"
I get
"E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem."
Then I run:
"sudo dpkg --configure -a"
and I get this error"
"dpkg: parse error, in file '/var/lib/dpkg/updates/0004' near line 0: newline in field name `#padding'"
Status:
Closed (fixed)
Comments
Submitted by andreychek on Thu, 12/01/2011 - 10:12 Comment #1
Hmm, that's an unusual one.
What is the contents of the file "/var/lib/dpkg/updates/0004"?
We might be able to use that to determine what's going on.
Submitted by support0 on Fri, 12/02/2011 - 08:07 Comment #2
I opened with pico and got page after page of this...
padding padding padding padding padding padding padding padding padding padding padding padding padding padding padding padding padding padding padding padding padding padding padding padding padding padding padding padding padding paddingSubmitted by andreychek on Fri, 12/02/2011 - 10:08 Comment #3
Okay, here's what I would do -- I would recommend deleting that file.
Or actually, let's just move it somewhere else... you can do that by running this command:
sudo mv /var/lib/dpkg/updates/0004 /tmp
After that, what happens when you run this:
sudo dpkg --configure -a
Submitted by support0 on Fri, 12/02/2011 - 15:54 Comment #4
No error or output when running
sudo dpkg --configure -a
I tried then
sudp apt-get install pgsql
and I get Package not found
Submitted by andreychek on Fri, 12/02/2011 - 19:11 Comment #5
Okay, so it sounds like we've solved the first problem!
The second problem is that there isn't actually a package in Debian named "pgsql".
There are, however, quite a few packages with "pgsql" in the name. You can see the list here:
http://packages.debian.org/search?keywords=pgsql&searchon=names&suite=st...
Is one of those what you're looking for?
Submitted by support0 on Sat, 12/03/2011 - 06:53 Comment #6
Yes, got it. Thank you, it was php5-pgsql
I appreciate your help, we can close this issue.
Submitted by andreychek on Sat, 12/03/2011 - 09:31 Comment #7
Great, I'm glad you got it working!
Submitted by Issues on Sat, 12/17/2011 - 09:46 Comment #8
Automatically closed -- issue fixed for 2 weeks with no activity.