LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 12-10-2008, 02:17 PM   #1
JPJ526
LQ Newbie
 
Registered: Dec 2008
Location: south-east michigan
Distribution: Ubuntu 8.10
Posts: 14

Rep: Reputation: 0
Get an error when trying to load Synaptic Package Manager...?


Quote:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
How would I go about fixing this?
 
Old 12-10-2008, 02:19 PM   #2
JPJ526
LQ Newbie
 
Registered: Dec 2008
Location: south-east michigan
Distribution: Ubuntu 8.10
Posts: 14

Original Poster
Rep: Reputation: 0
BTW, this happened after I installed KDE and then removed it. I restarted my machine and got this error.

I think I'm going to stick with Gnome.
 
Old 12-10-2008, 02:25 PM   #3
SkinnerC
Member
 
Registered: Dec 2007
Location: New England, USA
Distribution: Ubuntu 8.04 LTS, Slackware 12.2
Posts: 138
Blog Entries: 1

Rep: Reputation: 20
Literally open a terminal and type 'dpkg --configure -a' without the quotes.
 
Old 12-10-2008, 02:29 PM   #4
JPJ526
LQ Newbie
 
Registered: Dec 2008
Location: south-east michigan
Distribution: Ubuntu 8.10
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by SkinnerC View Post
Literally open a terminal and type 'dpkg --configure -a' without the quotes.
I get the message:
Quote:
dpkg: requested operation requires superuser privilege
 
Old 12-10-2008, 02:36 PM   #5
malaprop
LQ Newbie
 
Registered: Dec 2008
Location: TX
Distribution: Ubuntu 8.10
Posts: 26

Rep: Reputation: 15
Code:
sudo dpkg --configure -a
 
Old 12-10-2008, 02:39 PM   #6
JPJ526
LQ Newbie
 
Registered: Dec 2008
Location: south-east michigan
Distribution: Ubuntu 8.10
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by malaprop View Post
Code:
sudo dpkg --configure -a


That worked. Thank you.

Bear with me guys, I just switched from XP to linux yesterday. It's driving me crazy.
 
Old 12-10-2008, 02:57 PM   #7
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
not a problem, we are used to new people around here.. But, could you please update your profile with what Version / Distribution of Linux you are running (i.e. Ubuntu 8.10 or whatever) so people will better be able to assist you with your future inquiries.


Thanks & Welcome to Linuxquestions.org !!
 
Old 12-10-2008, 03:00 PM   #8
JPJ526
LQ Newbie
 
Registered: Dec 2008
Location: south-east michigan
Distribution: Ubuntu 8.10
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by farslayer View Post
not a problem, we are used to new people around here.. But, could you please update your profile with what Version / Distribution of Linux you are running (i.e. Ubuntu 8.10 or whatever) so people will better be able to assist you with your future inquiries.


Thanks & Welcome to Linuxquestions.org !!
Done! Thanks again. (It took my 5 min to find out what the hell the Terminal was. hehe)
 
Old 12-10-2008, 03:02 PM   #9
malaprop
LQ Newbie
 
Registered: Dec 2008
Location: TX
Distribution: Ubuntu 8.10
Posts: 26

Rep: Reputation: 15
Yeah, XP drives me crazy too!!

OH wait, that's not what you meant

as a standard user, you don't have rights to access various areas of the OS.
sudo is like the "runas" in XP...except sudo works, where as runas...might work.

welcome to linux, it can be incredibly frustrating at times, but man it's worth it.
 
Old 12-10-2008, 06:39 PM   #10
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Quote:
Originally Posted by malaprop View Post
except sudo works, where as runas...might work.
That statement is OH so true..

runas /User:domain\username p:\directory\filename.exe
file not found !


When I did runas administrator the file is usually on a network share and since the drive was mapped as the user the administrator in windows can't see it, so I either first have to map the drive as administrator or copy the install locally and hope that it actually works with runas.
Sometimes like you say runas doesn't give you the permissions you need, even when all the planets are aligned properly it fails..

Either I am running an application as administrator or I'm not.. which is it ?? come on MS get this fixed.

This is a pet peeve of mine with Windows as well.
 
Old 12-10-2008, 08:36 PM   #11
malaprop
LQ Newbie
 
Registered: Dec 2008
Location: TX
Distribution: Ubuntu 8.10
Posts: 26

Rep: Reputation: 15
Quote:
Originally Posted by farslayer View Post
That statement is OH so true..

runas /User:domain\username p:\directory\filename.exe
file not found !


When I did runas administrator the file is usually on a network share and since the drive was mapped as the user the administrator in windows can't see it, so I either first have to map the drive as administrator or copy the install locally and hope that it actually works with runas.
Sometimes like you say runas doesn't give you the permissions you need, even when all the planets are aligned properly it fails..

Either I am running an application as administrator or I'm not.. which is it ?? come on MS get this fixed.

This is a pet peeve of mine with Windows as well.
Yeah, don't you just LOVE that??

btw, the /env switch MIGHT help that, uses the current user's profile...but does windows keep mapped drives in the profile???

either way, huge PIMA
 
  


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
Error with Synaptic package manager in installing ahmed_as8 Linux - Software 1 11-20-2008 08:28 AM
Error with Synaptic package manager in installing ahmed_as8 Linux - Newbie 1 11-20-2008 07:58 AM
Synaptic Package Manager Error: 'dpkg --configure -a' cerc Linux - Software 4 10-10-2007 07:22 PM
Synaptic Package Manager problems prioxy error SVwander Ubuntu 2 05-06-2007 11:22 AM
Synaptic Package Manager Error.... openbsd-inetd Perquisitor Debian 2 09-05-2006 11:30 AM


All times are GMT -5. The time now is 02:35 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration