LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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
Posts: 308

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: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
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
Posts: 308

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,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
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
Posts: 308

Original Poster
Rep: Reputation: 31
Talking

Widget,
 
  


Reply



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 8 02-21-2015 10:59 PM
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

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

All times are GMT -5. The time now is 01:41 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