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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-24-2008, 08:41 AM
|
#1
|
LQ Newbie
Registered: Sep 2008
Posts: 2
Rep:
|
Cache Open Failed
Morning Everyone! I just wiped everything clean and installed Ubuntu 8.04. So far everything seems to work great. My only problem thus far is this... I tried going to add/remove software to add a couple programs. When they went to install I received an error message telling me
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
So I opened the terminal and tried to run the command and it tells me I have to be an administrator. I'm the only user, aren't I the administrator?? I'm not on a network or anything. Just me. It also did this when I tried to open music files. It loads the Totem player and says I need codecs. When I try to install them, I receive the same message.
Someone please help dumb and confused here!
|
|
|
09-24-2008, 03:13 PM
|
#2
|
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070
|
It is telling you that you need administrator privileges and, under Ubuntu, you can do this by using 'sudo'. So alter the line that you typed to
Code:
sudo dpkg --configure -a
and it should ask you for your password (your password, not a root password under Ubuntu) and you should be away.
|
|
|
11-28-2008, 09:57 AM
|
#3
|
Member
Registered: Feb 2004
Location: North London, England
Distribution: Ubuntu
Posts: 125
Rep:
|
I hope you don't mind if I join in because i have a very similar problem.
I did as you say
Code:
sudo dpkg -- configure -a
and use my password.
I then get a few line on the screen for a fraction of a second and then
Code:
┤ Configuring virtualbox-2.0 ├───────────────────────┐
│ │
│ Compilation of the kernel module FAILED! │
│ │
│ VirtualBox will not start until this problem is fixed. Please consult │
│ /var/log/vbox-install.log to find out why the kernel module does not │
│ compile. Most probably the kernel sources were not found. Install them │
│ (the package name is probably linux-headers-<version> whereby <version> │
│ can be determined by 'uname -r') and execute │
│ │
│ /etc/init.d/vboxdrv setup │
│ │
│ as root. │
│ │
│ <Ok>
If I run this nothing happens.
I suspect I have a failed installation lurking in the system, how do I clear this. Thanks for any help │
│
|
|
|
11-28-2008, 10:16 AM
|
#4
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
Did you install the kernel headers?
|
|
|
11-28-2008, 10:32 AM
|
#5
|
Member
Registered: Feb 2004
Location: North London, England
Distribution: Ubuntu
Posts: 125
Rep:
|
I assume installed when I installed Ubuntu 8.10
How do I check?
|
|
|
11-28-2008, 11:38 PM
|
#6
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
dpkg -l linux-headers-`uname -r`
|
|
|
11-30-2008, 05:51 AM
|
#7
|
Member
Registered: Feb 2004
Location: North London, England
Distribution: Ubuntu
Posts: 125
Rep:
|
Sorry for slow turn around, hope you are still with me.
Did as you suggest
Code:
dpkg -l linux-headers-'uname -r'
This gives me
PHP Code:
No packages found matching linux-headers-'uname -r'
So tried
this gives me 2.6.24-19-386
So next
Code:
sudo apt-get install linux-headers-2.6.24-19-386
I confirm password
This gives a new error message
PHP Code:
E: dpkg was interrupted, you must run 'dpkg --configure -a' to correct the problem
It then appears to try to set up virtualbox, ending with the Error message with which I started my question. See Error message in message #3 of this thread.
Please give me a way out!!
|
|
|
11-30-2008, 09:19 AM
|
#8
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
ummm.. can you apt-get remove virtualbox ?
|
|
|
11-30-2008, 10:06 AM
|
#9
|
Member
Registered: Feb 2004
Location: North London, England
Distribution: Ubuntu
Posts: 125
Rep:
|
This is what I get
cliff@HYACINTH:~$ sudo apt-get remove virtualbox
[sudo] password for cliff:
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
|
|
|
All times are GMT -5. The time now is 08:33 AM.
|
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
|
|