Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Ubuntu Help > Ubuntu and Virtualbox. Broken packages.

Forgot Password?
 Ubuntu Help   Discussion and help about Ubuntu, Kubuntu, Xubuntu, and all the Ubuntu family

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 09-07-2008   #1 (permalink)
Just Joined!
 
Join Date: Sep 2008
Posts: 3
Ubuntu and Virtualbox. Broken packages.

Hi,

i am trying to install virtual box on ubuntu 8.04. i have installed it 2 or 3 times now but it dosnt work. i have totally removed virtual box in synaptic using totally remove, then i go to the terminal and type
Code:
sudo aptitude install virtualbox-ose virtualbox-ose-modules-generic
then my password. it gives me this
Code:
[sudo] password for joe: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initialising package states... Done
Writing extended state information... Done
Building tag database... Done             
The following packages are BROKEN:
  virtualbox-ose-modules-2.6.24-20-generic 
The following packages have been automatically kept back:
  libpq5 
The following NEW packages will be automatically installed:
  virtualbox-ose-modules-2.6.24-16-386 
The following NEW packages will be installed:
  virtualbox-ose virtualbox-ose-modules-2.6.24-16-386 
  virtualbox-ose-modules-generic 
0 packages upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
Need to get 331kB/7011kB of archives. After unpacking 22.5MB will be used.
The following packages have unmet dependencies:
  virtualbox-ose-modules-2.6.24-20-generic: Depends: linux-image-2.6.24-20-generic which is a virtual package.
Resolving dependencies...
The following actions will resolve these dependencies:

Keep the following packages at their current version:
virtualbox-ose-modules-2.6.24-20-generic [Not Installed]
virtualbox-ose-modules-generic [Not Installed]

Score is -9872

Accept this solution? [Y/n/q/?]
if i type y the terminal says
Code:
The following packages have been automatically kept back:
  libpq5 
The following NEW packages will be automatically installed:
  virtualbox-ose-modules-2.6.24-16-386 
The following NEW packages will be installed:
  virtualbox-ose virtualbox-ose-modules-2.6.24-16-386 
0 packages upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/6680kB of archives. After unpacking 21.5MB will be used.
Do you want to continue? [Y/n/?]
i then install and restart. virtualbox then appears in the apps menu, but clicking on the icon does nothing.

i have searched on google and the forums but i cant find a solution.

can anyone help?

thanks in advance,

Joe
jbaldwinroberts is offline  


Reply With Quote
Old 09-07-2008   #2 (permalink)
Linux Newbie
 
Join Date: Jun 2006
Location: Greece, Athens
Posts: 214
Try removing it one more time and also do the following:
Code:
sudo apt-get clean all
sudo apt-get install -f
Then try to install it again.
__________________
In a world without walls and fences, who needs windows and gates?
kostasan is offline   Reply With Quote
Old 09-07-2008   #3 (permalink)
Just Joined!
 
Join Date: Sep 2008
Posts: 3
thanks for your reply. i tried what you said, but the terminal still says the same thing.

Code:
joe@joes-desktop:~$ sudo apt-get clean all
[sudo] password for joe: 
joe@joes-desktop:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
joe@joes-desktop:~$ sudo aptitude install virtualbox-ose virtualbox-ose-modules-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initialising package states... Done
Building tag database... Done      
The following packages are BROKEN:
  virtualbox-ose-modules-2.6.24-20-generic 
The following packages have been automatically kept back:
  libpq5 
The following NEW packages will be automatically installed:
  virtualbox-ose-modules-2.6.24-16-386 
The following NEW packages will be installed:
  virtualbox-ose virtualbox-ose-modules-2.6.24-16-386 
  virtualbox-ose-modules-generic 
0 packages upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
Need to get 7011kB of archives. After unpacking 22.5MB will be used.
The following packages have unmet dependencies:
  virtualbox-ose-modules-2.6.24-20-generic: Depends: linux-image-2.6.24-20-generic which is a virtual package.
Resolving dependencies...
The following actions will resolve these dependencies:

Keep the following packages at their current version:
virtualbox-ose-modules-2.6.24-20-generic [Not Installed]
virtualbox-ose-modules-generic [Not Installed]

Score is -9872

Accept this solution? [Y/n/q/?] 
joe@joes-desktop:~$
thanks

Joe
jbaldwinroberts is offline   Reply With Quote
Old 09-09-2008   #4 (permalink)
Just Joined!
 
Join Date: Sep 2008
Posts: 3
Does anyone know anything else i can try?

thanks
jbaldwinroberts is offline   Reply With Quote
Old 09-10-2008   #5 (permalink)
Just Joined!
 
Join Date: Sep 2008
Posts: 2
Welll this might not be what you want, but it should work:
Uninstall the virtualbox open source edition provided by ubuntu and just go to the virtualbox website and download the regular version. The non open source version (well its mostly open source it just has a few things in it that are not) works much better in my opinion, and has a few bells and whistles that the regular version doesn't have (check out seemless mode).
Shared folders (with linux) and usb support were the main reasons I switched to the non open source version and have never looked back. I love open source, and hopefully virtualbox will open all of its source, however in the meantime I'll give them props for providing what I consider a better program than vmware server.

One minor annoyance with the non open source version is that when you upgrade your kernel you'll need to reinstall the package. Just keep the .deb file laying around and all you need to do is double click to install.

This isnt a big deal considering its much more user friendly than having broken packages when the kernel is upgraded which seemed to occur when using the open source edition.
mwolfe38 is offline   Reply With Quote
Old 09-12-2008   #6 (permalink)
Just Joined!
 
Join Date: Sep 2008
Posts: 1
You should for the install of a virtualbox package with the same version of your kernel. Try (my sample):

$ uname -r
2.6.25-2-686

$ apt-cache search virtualbox `uname -r`
virtualbox-ose-guest-modules-2.6.25-2-686 - PC virtualization solution modules for Linux 2.6.25 on PPro/Celeron/PII/PIII/P4
virtualbox-ose-guest-modules-2.6.25-2-686-bigmem - PC virtualization solution modules for Linux 2.6.25 on PPro/Celeron/PII/PIII/P4
virtualbox-ose-modules-2.6.25-2-686 - PC virtualization solution modules for Linux 2.6.25 on PPro/Celeron/PII/PIII/P4
virtualbox-ose-modules-2.6.25-2-686-bigmem - PC virtualization solution modules for Linux 2.6.25 on PPro/Celeron/PII/PIII/P4

So there is, choose what you want:

$ sudo apt-get install virtualbox-ose-modules-2.6.25-2-686

Remenber that your kernel version can be different. You can install new versions of kernel searching for:

$ apt-cache search linux-image

---
Fabio Berbert de Paula
Viva o Linux
fberbert is offline   Reply With Quote
Old 09-14-2008   #7 (permalink)
Just Joined!
 
Join Date: Apr 2006
Posts: 1
wow, this is a very simple solution.
i'm wondering why i don't think of it.
My virtualbox is working now.

Thx a lot.
DakoChan is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 03:37 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2