LinuxQuestions.org
Review your favorite Linux distribution.
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 08-23-2008, 11:39 PM   #16
johntc23
LQ Newbie
 
Registered: Aug 2008
Location: northern california
Posts: 1

Rep: Reputation: 0
dpkg thread


the questions and answers on this thread solved my immediate issues
 
Old 10-23-2008, 12:35 PM   #17
pinejoker
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Rep: Reputation: 0
Question

I got a same problem with them.. but mine is stuck...

here's the error:

family@family-desktop:~$ sudo dpkg --configure -a
[sudo] password for family:
Setting up ocsinventory-agent (1:0.0.8-1) ...
dpkg: error processing ocsinventory-agent (--configure):
subprocess post-installation script killed by signal (Interrupt)
Errors were encountered while processing:
ocsinventory-agent
 
Old 11-25-2008, 04:38 PM   #18
Evil Overlord
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
Exclamation Sudo not effective

Ubuntu 8.10

I have the same problem, and have tried both sudo and gksudo.

gksudo ... tells me that there is no --configure option.
sudo ... gives me "Parse error, in file '/var/lib/dpkg/updates/0034' near line 1: newline in field name 'padding' "
 
Old 11-30-2008, 12:33 AM   #19
Leveecius
Member
 
Registered: Jun 2006
Posts: 34

Rep: Reputation: 15
Hey guys, I'm having somewhat of similar problems as you. I have to use the --buildpkg as well, but I'm getting somewhat of the same but different error message. I've already made a post about it but if you have the time, can you check it out and see if you might be able to make something out of it?

http://www.linuxquestions.org/questi...stall.-687199/

Thanks guys!
 
Old 11-30-2008, 09:02 AM   #20
Evil Overlord
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
Solution to my problem

I was able to solve my problem by deleting the file referred to in the error I got, as well as tmp.i, both of which appeared corrupted. Then the dpkg --configure, etc worked okay, and I seem to be roughly back to normal. Doesn't sound like this would work for you.
 
Old 12-02-2008, 06:43 AM   #21
Leveecius
Member
 
Registered: Jun 2006
Posts: 34

Rep: Reputation: 15
Yeah I don't know. I'll try to re-download the drivers and Catalyst again and see if that solves anything, but if it doesn't, then I'll let you guys know. I'm completely lost, I've never even seen an error like this before.
 
Old 01-06-2009, 02:14 PM   #22
metacym
LQ Newbie
 
Registered: Jan 2009
Posts: 10

Rep: Reputation: 0
I am having similar issues, and am very confused.

when attempting to run Synaptic, i am also prompted: "an error occurred. E: dpkg was interrupted, you must manually run 'dpkg --configure -a'
to correct the problem.

E:_cache->open()failed, please report."


Then, when i go to run that command in terminal, i immediately get this error:
"Package configuration, Configuring bacula-director-mysql

password mismatch

the password and it's confirmation do not match. please reenter the passwords. Ok"


Only the terminal window looks like a linux-installer, and the terminal does not provide anywhere to type, nor will the "ok" button yield
any results, change or environment, or a cursor to enter commands with.


And just to through another curveball in there, After the first time this happened, i went to try and remove "bacula" and "mysql" and i was told that neither were installed.

...any ideas ?


help would be greatly appreciated.
i also have IM on: sunyata4@mac.com


specs: Ubuntu 8.04
linux kernel 2.6.24-22-generic
Gnome 2.223
emachines intel Celeron D 3.46ghz

Last edited by metacym; 01-06-2009 at 02:23 PM. Reason: typos!
 
Old 01-25-2009, 12:54 AM   #23
cindini
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
Thumbs up 'sudo' worked! Thanks.

Very new to Linux and I found this forum and post through a search using Google after I received the '--configure -a' error when attempting to download updates. I appended 'sudo' to the command and I am now breezing through the 113 (!) updates. Thank you! Thank you! If this was a windows error I would still be looking for the solution, wading though countless pages or using some troubleshooting wizard.
 
Old 02-03-2009, 05:31 AM   #24
liuxsever
LQ Newbie
 
Registered: Feb 2009
Posts: 15

Rep: Reputation: 0
Question still not working

i done that but it said
dpkg: requested operation requires superuser privilege

What do i do
 
Old 02-03-2009, 05:47 AM   #25
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Rep: Reputation: 70
Quote:
Originally Posted by liuxsever View Post
i done that but it said
dpkg: requested operation requires superuser privilege

What do i do
read through the whole thread, this has been addressed several times..

run the command w/ sudo.

Code:
sudo dpkg.. whatever
Enter your password, and it should work fine.

IGF
 
Old 02-12-2009, 07:44 PM   #26
Newbubuntu
LQ Newbie
 
Registered: Feb 2009
Posts: 9

Rep: Reputation: 0
Unhappy uhmm...

how do i manually run dpkg --configure -a on ubuntu 8.10? I got an error screen saying E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
after i tryied to download wine using application>add/remove application.
 
Old 02-15-2009, 01:39 AM   #27
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by Newbubuntu View Post
how do i manually run dpkg --configure -a on ubuntu 8.10? I got an error screen saying E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
after i tryied to download wine using application>add/remove application.
Is that the full error message? If not, please post the full message.

To run the command, open a terminal: applications > accessories > terminal, and run
Code:
sudo dpkg --configure -a
If that returns errors, try:
Code:
sudo dpkg --clear-avail && sudo apt-get update
See this thread:
http://ubuntuforums.org/showthread.php?t=1022727
If that does not work, try:
Code:
sudo apt-get install -f
sudo dpkg --configure -a
sudo apt-get update
Sudo apt-get upgrade
What problem are you having that makes you want to run sudo dpkg --configure -a?

And welcome to the LQ forums!

Last edited by tommcd; 02-15-2009 at 01:51 AM.
 
Old 03-11-2009, 07:27 PM   #28
sonniq
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
i have a everex computer and it will not let me intall anything because of the dpkg has failed and i need to configure it..what should i do??
 
Old 03-12-2009, 02:42 AM   #29
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by sonniq View Post
i have a everex computer and it will not let me intall anything because of the dpkg has failed and i need to configure it..what should i do??
1. What operating system is on the Everex? Is it Ubuntu?
2. Are you getting the same errors as the others who have posted to this thread?
3. In any case, if you are running Ubuntu, open a terminal (applications > accessories > terminal) and run:
Code:
sudo dpkg --configure -a
You will be prompted for your password. If this returns errors, run the commands that I have posted in post #27 (just above yours) in this thread.

And welcome to the LQ forums! Welcome to the cool side of computing!
 
Old 03-17-2009, 10:47 PM   #30
ldumas
LQ Newbie
 
Registered: Feb 2009
Location: Austin, TX
Posts: 1

Rep: Reputation: Disabled
Question dpkg--configure-a

Total newbie to this. I am getting the same message that "dpkg was interrupted, you must run 'dpkg -- configure -a' to correct the problem. I opened the terminal and typed in "dpkg--configure-a" and got this "bash: dpkg--configure-a: command not found"

So what am I doing wrong? Spaces in the wrong place or no spaces. Do I need to do something in the terminal before I try the 'dpkg--configure-a'?

Thanks.
Lee Ann
 
  


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:38 PM.

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