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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-31-2007, 08:25 PM
|
#1
|
|
LQ Newbie
Registered: Aug 2007
Location: Eugene, Oregon
Posts: 1
Rep:
|
Synaptic Package Manager Error: 'dpkg --configure -a'
For some reason when I attempt to open synaptic package manager or add/remove, I get the following error:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
I've read several other forums, all suggesting to run
sudo 'dpkg --configure -a'
in terminal. In doing so I get command not found. I found on the same thread the following suggestion:
cd /var/lib/dpkg/updates
rm *
When I do this in terminal, I get: rm: remove write-protected regular file `0000'?
What am I supposed to do at this point? If I type yes I get a permission denied message.
I've had Ubuntu for a very short time, and am increasingly frustrated with the errors and difficulty I'm having with installations. If anyone can help me with this error message, I will be most grateful.
|
|
|
|
09-02-2007, 06:14 AM
|
#2
|
|
Senior Member
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian Testing; OpenSuSE 12.1; Fedora 17
Posts: 1,541
Rep: 
|
su to root user like so:
>su
root password
the do
>locate dpkg | less
find the dpkg command's path, and type the whole thing on the command line
|
|
|
|
09-03-2007, 08:18 AM
|
#3
|
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
I don't think that's going to work, unless he has enabled a root password -- not the default in an Ubuntu installation.
What should work is this:
Code:
$ sudo su
<your_regular_user_password>
# whereis dpkg
Since both my SimplyMEPIS 3.3.2 & 6.0 systems show
/usr/bin/dpkg
I have every reason to believe that that's the right answer for Ubuntu also.
OP, try:
Code:
sudo dpkg --configure -a
-- I don't think sudo needs the quotes.
Also, would you please post (by pasting) your key commands & error msgs.?
|
|
|
|
10-04-2007, 11:35 AM
|
#4
|
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Would you please post your results.
We answer your Q's here, not just to help you, but others w/ the same or similar problems. It's helpful for all to know what worked (or didn't work).
|
|
|
|
10-10-2007, 06:22 PM
|
#5
|
|
LQ Newbie
Registered: Oct 2007
Posts: 1
Rep:
|
dpkg problem
the same thing almost.must run command 'sudo dpkg --configure -a' etc...but my problem is that the package can't be downloaded, not even in terminal window.what should i do?i tried what u see down, but even with root account i can't repair the faulty synoptic package.i can't enter at all. advices?
root@salavin-desktop:~# passwd root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root@salavin-desktop:~# /var/lib/dpkg/status file
-bash: /var/lib/dpkg/status: Permission denied
root@salavin-desktop:~#
Last edited by salavin; 10-11-2007 at 06:32 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:48 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|