LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-10-2010, 09:36 PM   #1
demiz
LQ Newbie
 
Registered: Jan 2010
Posts: 10
Blog Entries: 2

Rep: Reputation: 0
computer not working right


Its says E: dpkg was interrupted, you must run `sudo dpkg-- configure-a'to correct the problem. E:_ cache-> open() failed please report. But it doesn't tell me where to run the command or what to look under.
 
Old 02-10-2010, 09:56 PM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Open up a terminal (will be in Applications->Accessories or System or something like that), which will give you a way to enter commands.

Type in the command (use return at the end):
Code:
sudo dpkg --configure -a
This will attempt to configure any packages that were only partly installed when the last install was interrupted.

It may produce an error (ie, the error could be the reason why the install failed partway). If it does, post the error in a reply.

To exit the terminal window, type exit or just click on the close window.

It would also be helpful to know which Linux distro you are using.

Last edited by neonsignal; 02-10-2010 at 09:59 PM.
 
Old 02-11-2010, 12:12 AM   #3
demiz
LQ Newbie
 
Registered: Jan 2010
Posts: 10

Original Poster
Blog Entries: 2

Rep: Reputation: 0
It says command not found
 
Old 02-11-2010, 12:17 AM   #4
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
Is dpkg in your path? try running
Code:
whereis dpkg
Say it says its in /usr/bin, then try
Code:
sudo /usr/bin/dpkg --configure -a
of course replacing my /usr/bin with wherever your whereis command says dpkg is located.

Hope this helps
 
Old 02-11-2010, 01:19 AM   #5
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
It may be you don't have sudo installed (depends on the distro). If not, then either open a root terminal (if there is one in your menu), or just type the command 'su' in the normal terminal. It will ask you for the root (admin) password. Then you will be able to run dpkg directly:
Code:
su
dpkg --configure -a
 
Old 02-11-2010, 11:04 AM   #6
demiz
LQ Newbie
 
Registered: Jan 2010
Posts: 10

Original Poster
Blog Entries: 2

Rep: Reputation: 0
where can i find the usr bin & what termina do i put the code in
 
Old 02-11-2010, 11:10 AM   #7
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
you should be able to run these commands in any terminal window. And /usr/bin was just a guess, I don't use ubuntu, so I am not sure exactly where it puts things. Open a terminal window, and try neonsignals way, it would probably be the quickest.
 
Old 02-11-2010, 12:05 PM   #8
demiz
LQ Newbie
 
Registered: Jan 2010
Posts: 10

Original Poster
Blog Entries: 2

Rep: Reputation: 0
Tried that to it said the same thing command not found is their any way i can change to another system if not thanks for trying to help have a good day.
 
Old 02-11-2010, 12:12 PM   #9
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
if you open a terminal and type simply:
Code:
su
Does it say command not found for just that?

Thanks
 
Old 02-11-2010, 12:17 PM   #10
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
I am assuming that you have ubuntu, and you have apt-get installed? If dpkg is truly not installed, or got corrupt in some form, try:
Code:
sudo apt-get update
then
sudo apt-get install dpkg
or
sudo apt-get install --reinstall dpkg
 
Old 02-11-2010, 04:31 PM   #11
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: Arch / Mint 17
Posts: 297
Blog Entries: 3

Rep: Reputation: 50
Quote:
Originally Posted by DragonM15 View Post
I am assuming that you have ubuntu, and you have apt-get installed? If dpkg is truly not installed, or got corrupt in some form, try:
Code:
sudo apt-get update
then
sudo apt-get install dpkg
or
sudo apt-get install --reinstall dpkg
Just out of curiosity, don't you need dpkg working to use apt-get?
 
Old 02-12-2010, 12:36 AM   #12
demiz
LQ Newbie
 
Registered: Jan 2010
Posts: 10

Original Poster
Blog Entries: 2

Rep: Reputation: 0
The willingness to learn goes unseen because people these days are too smart too teach.
 
Old 02-12-2010, 02:55 AM   #13
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
Quote:
Originally Posted by Bratmon View Post
Just out of curiosity, don't you need dpkg working to use apt-get?
Well, now that you mention it, that does make perfect sense. Don't mind me as I go and hide in my Slackware corner with my slackpkg and pkgtools

Last edited by DragonM15; 02-12-2010 at 02:57 AM.
 
Old 02-13-2010, 10:18 AM   #14
demiz
LQ Newbie
 
Registered: Jan 2010
Posts: 10

Original Poster
Blog Entries: 2

Rep: Reputation: 0
It says invalid operation install reinstall
 
Old 02-13-2010, 10:23 AM   #15
demiz
LQ Newbie
 
Registered: Jan 2010
Posts: 10

Original Poster
Blog Entries: 2

Rep: Reputation: 0
For su it says authentication failure
 
  


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
configure your computer stopped working spalla Linux - Software 5 02-11-2007 12:43 PM
How to see the full path of the computer I'm working on DNRN Linux - General 5 10-06-2006 06:05 AM
wireless working, but random freeze my computer amitm02 Linux - Wireless Networking 5 05-04-2006 05:17 PM
installing lilo from a live cd on a working computer j0ck Slackware 4 01-17-2006 06:50 PM
What computer stuff can I listen to while working out? sandboy6184 General 4 05-05-2004 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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