LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   synaptic pkg manager responds with AN ERROR OCURRED (https://www.linuxquestions.org/questions/linux-newbie-8/synaptic-pkg-manager-responds-with-an-error-ocurred-668464/)

claudiorollandin 09-08-2008 03:12 PM

synaptic pkg manager responds with AN ERROR OCURRED
 
synaptic pkg manager responds with AN ERROR OCURRED. and then follows on with the following instuctions. No idea how to execute this comand


E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.

jailbait 09-08-2008 03:22 PM

I have had the same problem in the past. What you do is run the suggested command on the command line as root or sudo. The command will rebuild a broken dpkg data base.

dpkg --configure -a

---------------------
Steve Stites

arochester 09-08-2008 03:24 PM

Do you use *buntu or Debian?Open a terminal and input:
Quote:

sudo dpkg --configure -a
Otherwise log in as Root open a terminal and input:
Quote:

dpkg --configure -a

claudiorollandin 09-08-2008 03:56 PM

Quote:

Originally Posted by jailbait (Post 3273704)
I have had the same problem in the past. What you do is run the suggested command on the command line as root or sudo. The command will rebuild a broken dpkg data base.

dpkg --configure -a

---------------------
Steve Stites

thank you steve, i'm a complete iliterate when it comes to this. what exactly is the command line, how do i get there

claudiorollandin 09-08-2008 03:59 PM

Quote:

Originally Posted by arochester (Post 3273707)
Do you use *buntu or Debian?Open a terminal and input:

Otherwise log in as Root open a terminal and input:

does ubuntu 8.04 tell you anything

jailbait 09-08-2008 05:04 PM

The command line is a program where you type in commands instead of clicking on icons with a mouse. You get to the command line by clicking on a desktop icon or a menu entry. I don't know exactly what Ubuntu calls the command line program. It may be "terminal", "konsole", "gnome terminal", or something similar.

In Ubunto you use sudo to get root access so the command will be:

sudo dpkg --configure -a

---------------
Steve Stites

claudiorollandin 09-10-2008 10:15 AM

Quote:

Originally Posted by jailbait (Post 3273815)
The command line is a program where you type in commands instead of clicking on icons with a mouse. You get to the command line by clicking on a desktop icon or a menu entry. I don't know exactly what Ubuntu calls the command line program. It may be "terminal", "konsole", "gnome terminal", or something similar.

In Ubunto you use sudo to get root access so the command will be:

sudo dpkg --configure -a

---------------
Steve Stites

hi steve,

was out of the office yesterday today i found the terminal entrance and inputted the command but received the following answer dpkg: requested operation requires superuser privilege


i tried typing in my password but to no avail. i typed in the command with sudo and it worked now i have the following prompts

-E|--skip-same-version Skip packages whose same version is installed.
-G|--refuse-downgrade Skip packages with earlier version than installed.
-B|--auto-deconfigure Install even if it would break some other package.
[--no-]triggers Skip or force consequential trigger processing.
--no-debsig Do not try to verify package signatures.
--no-act|--dry-run|--simulate
Just say what we would do - don't do it.
-D|--debug=<octal> Enable debugging (see -Dhelp or --debug=help).
--status-fd <n> Send status change updates to file descriptor <n>.
--log=<filename> Log status changes and actions to <filename>.
--ignore-depends=<package>,...
Ignore dependencies involving <package>.
--force-... Override problems (see --force-help).
--no-force-...|--refuse-...
Stop when problems encountered.
--abort-after <n> Abort after encountering <n> errors.

Comparison operators for --compare-versions are:
lt le eq ne ge gt (treat empty version as earlier than any version);
lt-nl le-nl ge-nl gt-nl (treat empty version as later than any version);
< << <= = >= >> > (only for compatibility with control file syntax).

Use `dselect' or `aptitude' for user-friendly package management.
claudio@claudio-dell:~$

jailbait 09-10-2008 06:04 PM

Quote:

Originally Posted by claudiorollandin (Post 3275888)

i typed in the command with sudo and it worked now i have the following prompts

If the configure command worked then you should be able to go into synaptic and do whatever you were trying to do when the problem arose.

---------------------
Steve Stites

claudiorollandin 09-11-2008 09:55 AM

Quote:

Originally Posted by jailbait (Post 3276403)
If the configure command worked then you should be able to go into synaptic and do whatever you were trying to do when the problem arose.

---------------------
Steve Stites

thank you very much for your help. finally got this working and learnt something along the way


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