Virtualbox installing error

Asked by SWAGATAK GHOSH

I want to install virtualbox in my ubuntu 10.10 32bit system. then google for it. And downloaded virtualbox-4.1_4.1.8-75467~Ubuntu~maverick_i386.deb file . Then tried to install with software centre , but failed. Then again google for it and followed the instructions from

 http://www.techtickle.com/install-virtualbox-3210-ubuntu-1010-repository.html

but still not installed . and the output is follows

sukhendu@1440:~$ echo "deb http://download.virtualbox.org/virtualbox/debian maverick non-free #VirtualBox" | sudo tee -a /etc/apt/sources.list
[sudo] password for sukhendu:
deb http://download.virtualbox.org/virtualbox/debian maverick non-free #VirtualBox
sukhendu@1440:~$ wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
OK
sukhendu@1440:~$ sudo apt-get update
Hit http://packages.medibuntu.org maverick Release.gpg
Get:1 http://download.virtualbox.org maverick Release.gpg [197B]
Get:2 http://dl.google.com stable Release.gpg [198B]
Ign http://dl.google.com/linux/talkplugin/deb/ stable/main Translation-en
Hit http://archive.ubuntu.com maverick Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en_IN
Ign http://download.virtualbox.org/virtualbox/debian/ maverick/non-free Translation-en
Ign http://download.virtualbox.org/virtualbox/debian/ maverick/non-free Translation-en_IN
Ign http://dl.google.com/linux/talkplugin/deb/ stable/main Translation-en_IN
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en_IN
Hit http://archive.ubuntu.com maverick Release
Ign http://packages.medibuntu.org/ maverick/free Translation-en
Get:3 http://download.virtualbox.org maverick Release [5,429B]
Get:4 http://dl.google.com stable Release [1,347B]
Hit http://archive.ubuntu.com maverick/multiverse i386 Packages
Ign http://packages.medibuntu.org/ maverick/free Translation-en_IN
Get:5 http://dl.google.com stable/main i386 Packages [765B]
Hit http://archive.ubuntu.com maverick/universe i386 Packages
Get:6 http://download.virtualbox.org maverick/non-free i386 Packages [1,001B]
Ign http://packages.medibuntu.org/ maverick/non-free Translation-en
Ign http://packages.medibuntu.org/ maverick/non-free Translation-en_IN
Hit http://packages.medibuntu.org maverick Release
Hit http://packages.medibuntu.org maverick/free Sources
Hit http://packages.medibuntu.org maverick/non-free Sources
Hit http://packages.medibuntu.org maverick/free i386 Packages
Hit http://packages.medibuntu.org maverick/non-free i386 Packages
Fetched 8,937B in 43s (207B/s)
Reading package lists... Done
sukhendu@1440:~$ sudo apt-get install virtualbox-3.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 virtualbox-3.2 : Depends: libqt4-network (>= 4:4.5.3) but it is not installable
                  Depends: libqt4-opengl (>= 4:4.5.3) but it is not installable
E: Broken packages
sukhendu@1440:~$

Now software centre shows virtualbox OSE 3.2.8-dfsg-2ubuntu1 (virtualbox-ose-qt)

but when trying to install it there is an error ,it is

Package dependencies can not be resolved.
This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.
Details:
virtualbox-ose-qt

Bellow the error message there is an ok button clicking on that a message is flashing that is
"Items cannot be installed or removed until the package catalog is repaired.Do you want to repair it now?
Once Update Manager has finished the repairs, you can close it and return to the store."

then there is two button "Cancel" & "Repair"
After clicking on anyone of the buttons nothing happens . the error message is flashing again and again. then I force quit the software centre.
Need help. How to resolve conflict and install virtualbox.
thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu virtualbox-ose Edit question
Assignee:
No assignee Edit question
Solved by:
zvacet
Solved:
Last query:
Last reply:
Revision history for this message
Chris (fabricator4) said :
#1

You don't need to put download.virtualbox.org in the software sources. The PUEL edition of VB will tell you when it an update is available and this is one case where you are better off doing it yourself.

I also can't see any evidence that you actually installed the PUEL edition: what you did will only add the website to the sources and added a signing key for it. You should probably open up "software sources" and delete the additions you made, and also under authentication you may remove the key for VirtualBox.

Now fix any broken or partly installed packages that may cause you problems:

sudo apt-get -f remove
sudo apt-get autoremove

Which version do you actually want to install? If it's the OSE edition (open source edition) then you only have to open up the software center and install it from there.

If you just have to use command line instead of Software Center then the command

sudo apt-get install virtualbox

will select and install the latest version.

If you are still having dependancy problems after this we'll have to look a bit deeper into it.

Chris

If this doesn't fix the problem when you try to install the

Revision history for this message
zvacet (ivicakolic) said :
#2

Go in synaptic and check if ose version is installed.If it is remove it completly.After that in terminal

sudo apt-get -f install

to fix broken packages.

Revision history for this message
SWAGATAK GHOSH (swagatak) said :
#3

I have removed the addition made in the software centre and also all the keys . But still the problem is same .
the outputs are

sukhendu@1440:~$ sudo apt-get -f remove
[sudo] password for sukhendu:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sukhendu@1440:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sukhendu@1440:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sukhendu@1440:~$

sukhendu@1440:~$ sudo apt-get update
Get:1 http://dl.google.com stable Release.gpg [198B]
Get:2 http://archive.ubuntu.com maverick Release.gpg [198B]
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en_IN
Get:3 http://ppa.launchpad.net maverick Release.gpg [316B]
Ign http://ppa.launchpad.net/tualatrix/ppa/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/tualatrix/ppa/ubuntu/ maverick/main Translation-en_IN
Get:4 http://packages.medibuntu.org maverick Release.gpg [198B]
Ign http://archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en_IN
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en_IN
Hit http://archive.ubuntu.com maverick Release
Ign http://archive.ubuntu.com maverick Release
Get:5 http://ppa.launchpad.net maverick Release [9,750B]
Ign http://ppa.launchpad.net maverick Release
Ign http://archive.ubuntu.com maverick/multiverse i386 Packages/DiffIndex
Ign http://ppa.launchpad.net maverick/main i386 Packages/DiffIndex
Ign http://dl.google.com/linux/talkplugin/deb/ stable/main Translation-en
Ign http://packages.medibuntu.org/ maverick/free Translation-en
Ign http://archive.ubuntu.com maverick/universe i386 Packages/DiffIndex
Ign http://archive.ubuntu.com maverick/main i386 Packages/DiffIndex
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://archive.ubuntu.com maverick/multiverse i386 Packages
Ign http://dl.google.com/linux/talkplugin/deb/ stable/main Translation-en_IN
Ign http://packages.medibuntu.org/ maverick/free Translation-en_IN
Hit http://archive.ubuntu.com maverick/universe i386 Packages
Hit http://archive.ubuntu.com maverick/main i386 Packages
Get:6 http://dl.google.com stable Release [1,347B]
Err http://dl.google.com stable Release

Ign http://packages.medibuntu.org/ maverick/non-free Translation-en
Ign http://packages.medibuntu.org/ maverick/non-free Translation-en_IN
Hit http://packages.medibuntu.org maverick Release
Ign http://packages.medibuntu.org maverick Release
Ign http://packages.medibuntu.org maverick/free Sources/DiffIndex
Ign http://packages.medibuntu.org maverick/non-free Sources/DiffIndex
Ign http://packages.medibuntu.org maverick/free i386 Packages/DiffIndex
Ign http://packages.medibuntu.org maverick/non-free i386 Packages/DiffIndex
Hit http://packages.medibuntu.org maverick/free Sources
Hit http://packages.medibuntu.org maverick/non-free Sources
Hit http://packages.medibuntu.org maverick/free i386 Packages
Hit http://packages.medibuntu.org maverick/non-free i386 Packages
Fetched 2,258B in 26s (86B/s)
Reading package lists... Done
W: GPG error: http://archive.ubuntu.com maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: GPG error: http://ppa.launchpad.net maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6AF0E1940624A220
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991

W: GPG error: http://packages.medibuntu.org maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783
W: Failed to fetch http://dl.google.com/linux/talkplugin/deb/dists/stable/Release

W: Some index files failed to download, they have been ignored, or old ones used instead.
sukhendu@1440:~$

Now by mistake I have deleted all the keys. Is in create any other problem ? If yes then how to get back them ?

thanks for replying...

Revision history for this message
SWAGATAK GHOSH (swagatak) said :
#4

@zvacet (ivicakolic)

I have checked synaptic and no OSE version installed. and also run the command suggested by you and submitted the output above. thanks

Revision history for this message
zvacet (ivicakolic) said :
#5

Add Medibuntu repo key following https://help.ubuntu.com/community/Medibuntu

try to add other keys with

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5

and for every other just change number at the end of command

Revision history for this message
SWAGATAK GHOSH (swagatak) said :
#6

thanks for the advise about keys. But still I am unable to install virtualbox. Actually I am using a old and non LTS version of ubuntu (10.10). So I want to test the new versions. So this is urgent about testing my backups and also for the new versions . Please advise how can I install ? From software centre still giving the same error as bellow

''This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.
Details:
virtualbox-ose-qt''

Bellow the error message there is an ok button clicking on that a message is flashing that is
"Items cannot be installed or removed until the package catalog is repaired.Do you want to repair it now?
Once Update Manager has finished the repairs, you can close it and return to the store."

then there is two button "Cancel" & "Repair"

How to repair ??
need help..
thanks

Revision history for this message
Best zvacet (ivicakolic) said :
#7

In synaptic>repositories under Ubuntu software check all except source and CD rom and first two under updates tab.Refresh (or reload) and try to install again virtuabox-ose package.

Revision history for this message
delance (olivier-delance) said :
#8

VirtualBox has a dedicated forum for Ubuntu host. You could also request help here:
https://forums.virtualbox.org/viewforum.php?f=3

Revision history for this message
delance (olivier-delance) said :
#9

If you want to test new version of Ubuntu, you can do this from a USB stick, with a persistent area.

Revision history for this message
SWAGATAK GHOSH (swagatak) said :
#10

Thanks zvacet, that solved my question.

Revision history for this message
SWAGATAK GHOSH (swagatak) said :
#11

Thanks a lot all of the above members for response .......thanks . Virtualbox is successfully installed.