LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 05-17-2011, 04:57 PM   #1
drmjh
Member
 
Registered: Mar 2005
Location: North Carolina, USA
Distribution: Ubuntu 12.04LTS
Posts: 258

Rep: Reputation: 31
dpkg was interrupted Error


I have been chasing this errror down on several areas of this site and one suggested moving it to Debian.

Upgrading to Ubuntu 11.04, trying to download and config. Java thus:
Code:
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
After entering the above command, it appeared as though the terminal copied the java file but then a common "Users Agreement" popped up over the shell, asking for <OK> , signalling acceptance. Of course, depressing <OK> etc. is useless, so the process hung up, forcing a closure of the shell.
When I tried to open Synaptic Package Mgr. I encountered this Err.

Err: dpkg was interrupted, you must manually run :
Code:
sudo dpkg -configure -a
E_cache ->open() failed, please report.

My attempt to run this corrective code snippet yielded:
Code:
mjh@mjh-desktop:/etc$ sudo dpkg -configure -a
      [sudo] password for mjh: 
      dpkg: error: unknown option -o
Another suggestion posted on this site, some time ago, recommended eliminating the spaces between configure and -a as such:
Code:
mjh@mjh-desktop:/etc$ sudo dpkg--configure-a
[sudo] password for mjh: 
sudo: dpkg--configure-a: command not found
I'm chasing my tail and would appreciate any suggestions.
 
Old 05-17-2011, 05:17 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
Quote:
Originally Posted by drmjh View Post
I have been chasing this errror down on several areas of this site and one suggested moving it to Debian.

Upgrading to Ubuntu 11.04, trying to download and config. Java thus:
Code:
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
After entering the above command, it appeared as though the terminal copied the java file but then a common "Users Agreement" popped up over the shell, asking for <OK> , signalling acceptance. Of course, depressing <OK> etc. is useless, so the process hung up, forcing a closure of the shell.
When I tried to open Synaptic Package Mgr. I encountered this Err.

Err: dpkg was interrupted, you must manually run :
Code:
sudo dpkg -configure -a
E_cache ->open() failed, please report.

My attempt to run this corrective code snippet yielded:
Code:
mjh@mjh-desktop:/etc$ sudo dpkg -configure -a
      [sudo] password for mjh: 
      dpkg: error: unknown option -o
Another suggestion posted on this site, some time ago, recommended eliminating the spaces between configure and -a as such:
Code:
mjh@mjh-desktop:/etc$ sudo dpkg--configure-a
[sudo] password for mjh: 
sudo: dpkg--configure-a: command not found
I'm chasing my tail and would appreciate any suggestions.
Ubuntu is not Debian, so I don't know why this should be moved to Debian. Anyways, the correct command is
Code:
sudo dpkg --configure -a
That shouldn't be that hard to find out, Synaptic should have given you the exact command. May be you wrote it wrong, but if you encounter an error with those options you should always have a look at the manpage, in your case with
Code:
man dpkg
 
1 members found this post helpful.
Old 05-17-2011, 05:18 PM   #3
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,644

Rep: Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523
You need the spaces and two dashes before long options.
Code:
sudo dpkg --configure -a
In the future, you can just copy and paste what the error message said to avoid errors like this.
 
1 members found this post helpful.
Old 05-17-2011, 06:32 PM   #4
drmjh
Member
 
Registered: Mar 2005
Location: North Carolina, USA
Distribution: Ubuntu 12.04LTS
Posts: 258

Original Poster
Rep: Reputation: 31
All,
Many thanks for the input. I have spotted the problem.
I have copied the latter part of the command: " --configure -a " With my 75 year old eyes, I cannot see that the -- in front of configure is 2 dashes!
I just entered this in a terminal and this problem is solved.
Thanks for your patience.
 
Old 05-17-2011, 09:21 PM   #5
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,221

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by drmjh View Post
All,
Many thanks for the input. I have spotted the problem.
I have copied the latter part of the command: " --configure -a " With my 75 year old eyes, I cannot see that the -- in front of configure is 2 dashes!
I just entered this in a terminal and this problem is solved.
Thanks for your patience.
I really like to see folks older than I am on here.

Remember to have FUN with your OS.
 
Old 05-18-2011, 07:57 AM   #6
drmjh
Member
 
Registered: Mar 2005
Location: North Carolina, USA
Distribution: Ubuntu 12.04LTS
Posts: 258

Original Poster
Rep: Reputation: 31
Talking

Widget,
 
  


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


All times are GMT -5. The time now is 06:10 AM.

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