LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-08-2008, 04:12 PM   #1
claudiorollandin
LQ Newbie
 
Registered: Sep 2008
Posts: 12

Rep: Reputation: 0
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.
 
Old 09-08-2008, 04:22 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
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
 
Old 09-08-2008, 04:24 PM   #3
arochester
Member
 
Registered: May 2006
Distribution: Debian
Posts: 601

Rep: Reputation: 96
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
 
Old 09-08-2008, 04:56 PM   #4
claudiorollandin
LQ Newbie
 
Registered: Sep 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jailbait View Post
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
 
Old 09-08-2008, 04:59 PM   #5
claudiorollandin
LQ Newbie
 
Registered: Sep 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by arochester View Post
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
 
Old 09-08-2008, 06:04 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
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
 
Old 09-10-2008, 11:15 AM   #7
claudiorollandin
LQ Newbie
 
Registered: Sep 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jailbait View Post
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:~$

Last edited by claudiorollandin; 09-10-2008 at 11:23 AM.
 
Old 09-10-2008, 07:04 PM   #8
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
Quote:
Originally Posted by claudiorollandin View Post

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
 
Old 09-11-2008, 10:55 AM   #9
claudiorollandin
LQ Newbie
 
Registered: Sep 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jailbait View Post
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
 
  


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
An error ocurred during the root filesystem check after a fresh install guedellas Slackware - Installation 4 04-21-2009 09:33 PM
error message when upgrading through synaptic package manager pbtest Linux - Newbie 21 11-20-2008 11:01 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 08:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration