LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-10-2005, 12:11 AM   #1
eljaco
LQ Newbie
 
Registered: Sep 2005
Location: Cambridge, MA
Distribution: Kubuntu / WinXP
Posts: 11

Rep: Reputation: 0
"dpkg --configure -a" error


Ok, so here goes:
I have a Dell PowerEdge 400SC dual boot with Kubuntu and WinXP. I had been using the WinXP boot for the past few months and I finally got a new video card (ChainTech GeForce 6600) because it was just too painful. I installed the drivers on the WinXP part and decided I would configure my Kubuntu to the new video card now that I have some free time.
I believe I got everything to work as far as configuring the video card, but for some reason it started up Ubuntu with KDE (instead of Gnome) and I thought I would be a good idea to just update everything while I was at it. So I ran a smart update with Kynaptic, and after downloading all the new packages, it started to install but about a minute after it started, the computer froze. I shut it down, restarted it on Kubuntu (also KDE) and ran Kynaptic. I got this error:

!--
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
--!

So, I went to my terminal window and ran that command, but now I get this error:

!--
dpkg: parse error, in file `/var/lib/dpkg/updates/0024' near line 24 package `dbus-1':
EOF during value of field `Description' (missing final newline)
--!

I have no clue what to do now. If you need more info on my system, let me know.

Thanks!
 
Old 09-10-2005, 09:31 AM   #2
mlomker
Member
 
Registered: Aug 2005
Location: Saint Paul, MN
Distribution: Kubuntu
Posts: 34

Rep: Reputation: 15
Re: "dpkg --configure -a" error

cd /var/lib/dpkg/updates
rm *


That ought to do it!

That directory is empty on my machine so I'd assume that it is a temporary directory and you have a damaged file in there.
 
Old 09-10-2005, 10:17 AM   #3
eljaco
LQ Newbie
 
Registered: Sep 2005
Location: Cambridge, MA
Distribution: Kubuntu / WinXP
Posts: 11

Original Poster
Rep: Reputation: 0
Thumbs up

Thanks!
That seems to do the trick.
 
Old 04-21-2007, 04:28 AM   #4
DeathRover
LQ Newbie
 
Registered: Apr 2007
Posts: 1

Rep: Reputation: 0
I'm having the same problem. A different error though. This is the error I'm getting:
dpkg: requested operation requires superuser privilege

I have no idea wat do, any help would be gladly appreciated.

DR
 
Old 04-21-2007, 10:33 AM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by DeathRover
I'm having the same problem. A different error though. This is the error I'm getting:
dpkg: requested operation requires superuser privilege

I have no idea wat do, any help would be gladly appreciated.

DR
Put sudo in front of the command and it is usually best to start new threads for your problems instead of digging up old ones and posting into them.
 
Old 12-20-2007, 10:18 AM   #6
Bobrm2
Member
 
Registered: Oct 2007
Posts: 53

Rep: Reputation: 0
Question dpgk --configure -a

I have been following this hoping to solve my problem, created I suspect when I removed four different java folders. Now I am unable to install, via Synaptic, security upgrades and get the following:

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.

running the requested command results in:

bob@Bob:~$ sudo dpkg --configure -a
Setting up sun-java6-doc (6-03-0ubuntu2) ...
This package is an installer package, it does not actually contain the
JDK documentation. You will need to go download one of the
archives:

jdk-6-doc.zip jdk-6-doc-ja.zip

(choose the non-update version if this is the first installation).
Please visit

http://java.sun.com/javase/downloads/

now and download. The file should be owned by root.root and be copied
to /tmp.

[Press RETURN to try again, 'no' + RETURN to abort]

-----------------------------------

I am confused when reaching the java.sun.com/savase/downloads/ site because the requested files do not appear there, maybe it is my eyes,.


Confusion reigns, your assistance appreciated

Bob
 
Old 12-20-2007, 10:37 AM   #7
Bobrm2
Member
 
Registered: Oct 2007
Posts: 53

Rep: Reputation: 0
Question addition to the above post

running aboutlugins shows JAVA installed and running in Foxfire browser? So, it would not appear to need to run/install the complete JDK for the the Java site???

Bob
 
Old 12-24-2007, 10:52 AM   #8
Bobrm2
Member
 
Registered: Oct 2007
Posts: 53

Rep: Reputation: 0
Solved, is there somewhere else to note the solution?

See Bug #113424, I also downloaded, again, and installed. Finally removed files from /usr/jvm. Probably would have been much easier, for me, but as a newbie it was a good learning experience. Finding the terminal has become very important, but frustrated that it too is a steep learning curve. Patience is something acquired very slowly.,

Bob
 
Old 02-08-2008, 04:46 PM   #9
ghostwolf29
LQ Newbie
 
Registered: Feb 2008
Posts: 5

Rep: Reputation: 0
Question ubuntu update

"E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report."
was my message when i tried to update. i have ubuntu and don't know that much about computers but i went to the terminal and typed in "dpkg --configure -a" like it said what i got was "dpkg:requested operation requires super user privileges"
i know that means you need admin permission but I am the admin. so what do i do?
 
Old 02-09-2008, 10:13 PM   #10
Bobrm2
Member
 
Registered: Oct 2007
Posts: 53

Rep: Reputation: 0
Question dpkg --configure -a error

I'm pretty new at this; but I typed:

"sudo dpkg --configure -a" (sudo) giving super user privilege. Was asked for loging password; provided same. and I don't know what if anything happened (was returned to the bob@bob: -$ how do I confirm the action(s) have taken place?
 
Old 02-09-2008, 11:27 PM   #11
ghostwolf29
LQ Newbie
 
Registered: Feb 2008
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by Bobrm2 View Post
I'm pretty new at this; but I typed:

"sudo dpkg --configure -a" (sudo) giving super user privilege. Was asked for loging password; provided same. and I don't know what if anything happened (was returned to the bob@bob: -$ how do I confirm the action(s) have taken place?
thank you! it fixed the problem. as for you're question, if you were having the same problem as me and couldn't update then you should check you're update manager and it should work fine!
thanks again

P.S. lol i have to wait a couple hours because i have 73 updates now
 
Old 03-21-2008, 05:48 AM   #12
molkomit
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Rep: Reputation: 0
"E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report." was my message when I tried to update my Ubuntu.
I opened the terminal and typed in "dpkg --configure -a" as the message said.
Subsequently, I got this message "dpkg:requested operation requires super user privileges"; therefore I typed in "sudo dpkg --configure -a" as it was suggested in the forum. At this point, the password was asked for the login ("[sudo] password for user:"), but as soon as I try to type my password, no word is written. Do you have any suggestion?

Thanks a lot
 
Old 03-21-2008, 08:02 AM   #13
Bobrm2
Member
 
Registered: Oct 2007
Posts: 53

Rep: Reputation: 0
You won't see the password repeated in the terminal window. Just hit a return and either the command will run, or a conplaint will be returned, tell you what went wrong, asking you to re-enter the command.

Bob
 
Old 03-25-2008, 05:35 AM   #14
gyang
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by ghostwolf29 View Post
"E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report."
was my message when i tried to update. i have ubuntu and don't know that much about computers but i went to the terminal and typed in "dpkg --configure -a" like it said what i got was "dpkg:requested operation requires super user privileges"
i know that means you need admin permission but I am the admin. so what do i do?
i have the sam problem...help would be nice?
 
Old 03-28-2008, 12:19 PM   #15
molkomit
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by gyang View Post
I have the same problem...help would be nice!
Once you got the message "dpkg:requested operation requires super user privileges", you have to type in "sudo dpkg --configure -a".
As soon as the password will be asked for the login ("[sudo] password for user:"), you have to type your password, but as Bobrm2 pointed out in his comment (Btw, thank you very much! You were incredibly useful!), you won't see the password repeated in the terminal window.
Subsequently, the command will run or a complaint will be returned and will tell you what went wrong, asking you to re-enter the command.

Good luck!
 
  


Reply

Tags
configure, dpkg



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
Getting "Short read in buffer_copy" error with "dpkg" stalefries Linux - Software 6 03-24-2010 03:19 PM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM
DPKG & "files list file for package `pkg-config' contains empty filename" error :( Angelus Debian 2 04-02-2005 07:34 AM
ardour wont configure: configure: error: C preprocessor "/lib/cpp" fails sanity check disciple061 Linux - Software 4 01-22-2005 12:35 PM
Synaptic error: "sub-process /usr/bin/dpkg returned an error code (2)" firefly2442 Linux - Software 3 02-04-2004 06:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:57 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
Open Source Consulting | Domain Registration