LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Get an error when trying to load Synaptic Package Manager...? (https://www.linuxquestions.org/questions/linux-newbie-8/get-an-error-when-trying-to-load-synaptic-package-manager-689641/)

JPJ526 12-10-2008 01:17 PM

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?

JPJ526 12-10-2008 01:19 PM

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.

SkinnerC 12-10-2008 01:25 PM

Literally open a terminal and type 'dpkg --configure -a' without the quotes.

JPJ526 12-10-2008 01:29 PM

Quote:

Originally Posted by SkinnerC (Post 3370742)
Literally open a terminal and type 'dpkg --configure -a' without the quotes.

I get the message:
Quote:

dpkg: requested operation requires superuser privilege

malaprop 12-10-2008 01:36 PM

Code:

sudo dpkg --configure -a

JPJ526 12-10-2008 01:39 PM

Quote:

Originally Posted by malaprop (Post 3370758)
Code:

sudo dpkg --configure -a

:study:

That worked. Thank you.

Bear with me guys, I just switched from XP to linux yesterday. :scratch: It's driving me crazy.

farslayer 12-10-2008 01:57 PM

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 !!

JPJ526 12-10-2008 02:00 PM

Quote:

Originally Posted by farslayer (Post 3370794)
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)

malaprop 12-10-2008 02:02 PM

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.

farslayer 12-10-2008 05:39 PM

Quote:

Originally Posted by malaprop (Post 3370803)
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.

malaprop 12-10-2008 07:36 PM

Quote:

Originally Posted by farslayer (Post 3371016)
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


All times are GMT -5. The time now is 09:25 AM.