LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-11-2010, 03:10 AM   #1
Kathy A.
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Rep: Reputation: 0
Exclamation dpkg problem add remove package won't work


I an new to the Ubuntu forums and I do not know at all how to type into the terminal.
When I am adding removing packages to get more hard drive space, this is not the first time I left too many pages open and it crashes on me. My son would fix it by typing in the terminal sudo something, but I want to know how to do this. The only thing not working is the add/remove packages at the moment. Here is what it said, E:dpkg was interrupted you must manually run 'dpkg--configure -a' to correct the problem E: _cache-open()failed please report. Please, could someone tell me how to get the default back or whatever. When I type in the terminal, it refused my password until I tried several times, plus, it finally says in the terminal No such command. Bash. No such command. I am hoping this question is one you do recognize the answer for.

I tried using Yum to remove the package. Like this:
To remove or uninstall a package:

Code:

yum -y remove ,package name>

Terminal goes: Bash syntax error near unexpected token `newline'
 
Old 03-11-2010, 05:57 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,749

Rep: Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551
1) As your text says, please start with this command :
sudo dpkg --configure -a

2) Ubuntu, you say .. : No 'yum' then !
Ubuntu uses " sudo apt-get remove <package> "
.. and .. : sudo apt-get install <package>

3) But why not use the versatile and easy GUI tool = Synaptic.
Synaptic has all the functions : Search , install , remove.
.....

Last edited by knudfl; 03-11-2010 at 12:04 PM.
 
Old 03-11-2010, 08:34 PM   #3
Kathy A.
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Original Poster
Rep: Reputation: 0
kathy@kathy-desktop:~$ sudo dpkg --configure -a
Terminal goes:
Setting up libc6 (2.7-10ubuntu5) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
kathy@kathy-desktop:~$
kathy@kathy-desktop:~$
What should I put next?, Enter just repeated home@desktop
 
Old 03-11-2010, 08:35 PM   #4
Kathy A.
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Also, the synaptic package manager turns up with the same failure notice. I tried that.
I finally misspelled something and the answers started coming.`
bash: *****: command not found
kathy@kathy-desktop:~$ sudp apt-get remove Waterfall
bash: sudp: command not found
kathy@kathy-desktop:~$ sudo apt-get remove Waterfall
[sudo] password for kathy:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
kathy@kathy-desktop:~$ dpkg --configure -a
dpkg: requested operation requires superuser privilege
kathy@kathy-desktop:~$ sudo dpkg --configure -a
Setting up libc6 (2.7-10ubuntu5) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
kathy@kathy-desktop:~$

Thanks for trying to answer me.

Last edited by Kathy A.; 03-12-2010 at 02:47 AM. Reason: More information found.
 
Old 12-14-2011, 09:02 AM   #5
kttej
LQ Newbie
 
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
i have done "sudo dpkg --configure -a" as it suggested.
then some install process had taken place..after finished some file was opened quoting agreements and warranties.
i was unable close that file.
hope u understood what was the file i am talking about.
 
  


Reply

Tags
dpkg, terminal


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
dpkg can't remove a package, dependency problems AncientPC Linux - Newbie 6 05-14-2010 03:45 PM
synaptic package mng or add/remove application abhijeetnayak Ubuntu 4 03-13-2010 09:26 AM
Confused on how to remove a deb package with dpkg dr_zayus69 Debian 5 06-04-2006 02:02 PM
Cannot uninstall with add/remove package tool benk Fedora 1 08-05-2004 04:10 PM
Add/Remove Package problem RH9.0 chrisjbzero Red Hat 5 03-31-2004 09:32 AM


All times are GMT -5. The time now is 07:40 PM.

Main Menu
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