Results 1 to 10 of 10

Thread: Virtualbox on 12.04 LTS

  1. #1
    Join Date
    Oct 2011
    Beans
    18

    Virtualbox on 12.04 LTS

    Trying to get VB up and running on Ubuntu 12.04 LTS. Keep running into an issue with libs. I am running off of the Virtualbox how-to on: www.ossdoc/2012/10/installing-newest-virtualbox-424-on.html. Here is what happens:

    sandbox@Sandbox:~$ wget -q http://download.virtualbox.org/virtu...racle_vbox.asc -O- | sudo apt-key add -
    OK
    sandbox@Sandbox:~$ sudo apt-get update
    Hit http://download.virtualbox.org precise Release.gpg
    Ign http://download.virtualbox.org/virtualbox/debian/ precise/contrib Translation-en_US
    Hit http://us.archive.ubuntu.com lucid Release.gpg
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US
    Hit http://us.archive.ubuntu.com lucid-updates Release.gpg
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_US
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_US
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_US
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_US
    Hit http://security.ubuntu.com lucid-security Release.gpg
    Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US
    Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_US
    Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_US
    Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_US
    Hit http://download.virtualbox.org precise Release
    Hit http://us.archive.ubuntu.com lucid Release
    Hit http://ppa.launchpad.net lucid Release.gpg
    Ign http://ppa.launchpad.net/webupd8team/java/ubuntu/ lucid/main Translation-en_US
    Hit http://download.virtualbox.org precise/contrib Packages
    Hit http://security.ubuntu.com lucid-security Release
    Hit http://us.archive.ubuntu.com lucid-updates Release
    Hit http://us.archive.ubuntu.com lucid/main Packages
    Hit http://us.archive.ubuntu.com lucid/restricted Packages
    Hit http://us.archive.ubuntu.com lucid/main Sources
    Hit http://us.archive.ubuntu.com lucid/restricted Sources
    Hit http://us.archive.ubuntu.com lucid/universe Packages
    Hit http://ppa.launchpad.net lucid Release
    Hit http://security.ubuntu.com lucid-security/main Packages
    Hit http://us.archive.ubuntu.com lucid/universe Sources
    Hit http://us.archive.ubuntu.com lucid/multiverse Packages
    Hit http://us.archive.ubuntu.com lucid/multiverse Sources
    Hit http://us.archive.ubuntu.com lucid-updates/main Packages
    Hit http://us.archive.ubuntu.com lucid-updates/restricted Packages
    Hit http://us.archive.ubuntu.com lucid-updates/main Sources
    Hit http://us.archive.ubuntu.com lucid-updates/restricted Sources
    Hit http://us.archive.ubuntu.com lucid-updates/universe Packages
    Hit http://security.ubuntu.com lucid-security/restricted Packages
    Hit http://security.ubuntu.com lucid-security/main Sources
    Hit http://security.ubuntu.com lucid-security/restricted Sources
    Hit http://security.ubuntu.com lucid-security/universe Packages
    Hit http://security.ubuntu.com lucid-security/universe Sources
    Hit http://security.ubuntu.com lucid-security/multiverse Packages
    Hit http://security.ubuntu.com lucid-security/multiverse Sources
    Hit http://us.archive.ubuntu.com lucid-updates/universe Sources
    Hit http://us.archive.ubuntu.com lucid-updates/multiverse Packages
    Hit http://ppa.launchpad.net lucid/main Packages
    Hit http://us.archive.ubuntu.com lucid-updates/multiverse Sources
    Reading package lists... Done
    W: Duplicate sources.list entry http://download.virtualbox.org/virtualbox/debian/ precise/contrib Packages (/var/lib/apt/lists/download.virtualbox.org_virtualbox_debian_dists_pr ecise_contrib_binary-i386_Packages)
    W: You may want to run apt-get update to correct these problems
    sandbox@Sandbox:~$ sudo apt-get install virtualbox-4.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-4.2: Depends: libc6 (>= 2.15) but 2.11.1-0ubuntu7.12 is to be installed
    Depends: libpython2.7 (>= 2.7) but it is not installable
    Depends: libqt4-opengl (>= 4:4.7.2) but it is not going to be installed
    Depends: libqtcore4 (>= 4:4.8.0) but 4:4.6.2-0ubuntu5.6 is to be installed
    Depends: libqtgui4 (>= 4:4.8.0) but it is not going to be installed
    Depends: libssl1.0.0 (>= 1.0.0) but it is not installable
    Depends: libstdc++6 (>= 4.6) but 4.4.3-4ubuntu5.1 is to be installed
    E: Broken packages
    sandbox@Sandbox:~$



    What do I need to install? I did try to install Python, that did not seem to work.

    J3

  2. #2
    Join Date
    Dec 2008
    Beans
    142

    Re: Virtualbox on 12.04 LTS

    I installed 12.04.2 LTS just yesterday, followed by an update, but as a partition on Virtualbox - opposite of what you're trying to do, I know - however typing this on the virtual-12.04, I have just checked my version of 'libc6' and it's 2.15, whereas yours is 2.11 - the reason VB is not installing for you. Why the update didn't install the latest version for you I do not know.

    BTW 12.04.2 is practically unusable on my VB-setup - 4-5min to boot, multiple programs crashing after it boots, and to top it all, Dash more often than not refuses to display any applications. I intended on switching from 10.04 LTS to this but after witnessing this....

  3. #3
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    6,898
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Virtualbox on 12.04 LTS

    Hi J3 Remy.

    It looks like there's a problem with the source files (duplicate entry).

    Could you post the result of this command?
    Code:
    find /etc/apt  -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
    Regards.

  4. #4
    Join Date
    Oct 2011
    Beans
    18

    Re: Virtualbox on 12.04 LTS

    Papibe, this is the result of the command:

    sandbox@Sandbox:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
    /etc/apt/sources.list

    1 # deb cdrom:[Ubuntu 10.04.4 LTS _Lucid Lynx_ - Release i386 (20120214.2)]/ lucid main restricted
    2 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    3 # newer versions of the distribution.
    4
    5 deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
    6 deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
    7
    8 ## Major bug fix updates produced after the final release of the
    9 ## distribution.
    10 deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
    11 deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
    12
    13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14 ## team. Also, please note that software in universe WILL NOT receive any
    15 ## review or updates from the Ubuntu security team.
    16 deb http://us.archive.ubuntu.com/ubuntu/ lucid universe
    17 deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe
    18 deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
    19 deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
    20
    21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    22 ## team, and may not be under a free licence. Please satisfy yourself as to
    23 ## your rights to use the software. Also, please note that software in
    24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    25 ## security team.
    26 deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
    27 deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
    28 deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
    29 deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
    30
    31 ## Uncomment the following two lines to add software from the 'backports'
    32 ## repository.
    33 ## N.B. software from this repository may not have been tested as
    34 ## extensively as that contained in the main release, although it includes
    35 ## newer versions of some applications which may provide useful features.
    36 ## Also, please note that software in backports WILL NOT receive any review
    37 ## or updates from the Ubuntu security team.
    38 # deb http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
    39 # deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
    40
    41 ## Uncomment the following two lines to add software from Canonical's
    42 ## 'partner' repository.
    43 ## This software is not part of Ubuntu, but is offered by Canonical and the
    44 ## respective vendors as a service to Ubuntu users.
    45 # deb http://archive.canonical.com/ubuntu lucid partner
    46 # deb-src http://archive.canonical.com/ubuntu lucid partner
    47
    48 deb http://security.ubuntu.com/ubuntu lucid-security main restricted
    49 deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
    50 deb http://security.ubuntu.com/ubuntu lucid-security universe
    51 deb-src http://security.ubuntu.com/ubuntu lucid-security universe
    52 deb http://security.ubuntu.com/ubuntu lucid-security multiverse
    53 deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
    54 deb http://download.virtualbox.org/virtualbox/debian precise contrib
    55 deb http://download.virtualbox.org/virtualbox/debian precise contrib

    /etc/apt/source.list

    1 deb http://download.virtualbox.org/virtualbox/debian precise contrib

    /etc/apt/sources.list.d/virtualbox.list


    /etc/apt/sources.list.d/webupd8team-java-lucid.list

    1 deb http://ppa.launchpad.net/webupd8team/java/ubuntu lucid main
    sandbox@Sandbox:~$

    I updated "apt-get" before I made the ran the command to get it just to be sure. Apparently I am not...?

  5. #5
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    4,719
    Distro
    Ubuntu

    Re: Virtualbox on 12.04 LTS

    First off, if you're running 12.04 precise, then purge all the lucid repos.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  6. #6
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    6,898
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Virtualbox on 12.04 LTS

    Thanks.

    I'm confused.

    You seem to be running 10.04. Is that correct?

    Do you want to install 12.04 on a VM? Is that right?

    Regards.

  7. #7
    Join Date
    Oct 2011
    Beans
    18

    Re: Virtualbox on 12.04 LTS

    DUH! My apologies, I am running 10.04! I run back and forth between my work machine (12.04) and my perso (10.04). I am trying to install VB on the 10.04 machine.

    J3

  8. #8
    Join Date
    Sep 2012
    Location
    12o4/14o4
    Beans
    Hidden!

    Re: Virtualbox on 12.04 LTS

    Remove your vBox install and do a search in your nautilus "filesystem" to make sure its completely removed.

    Code:
    gksudo nautilus
    Then make sure you have the packages "dkms" and "build-essential" installed.

    Remove lines 54 & 55 (and anywhere else precise appears) from your sources.list and replace with:
    deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free

    then

    Code:
    wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
    Code:
    sudo apt-get update
    
    sudo apt-get install virtualbox-4.2
    https://www.virtualbox.org/wiki/Linux_Downloads

    And then install the Extension Pack

    https://www.virtualbox.org/wiki/Downloads
    Last edited by ibjsb4; March 6th, 2013 at 03:36 PM.

  9. #9
    Join Date
    Oct 2011
    Beans
    18

    Re: Virtualbox on 12.04 LTS

    Thank you, that was it. I got VB up and running, just need to install my OS. I appreciate the help.

    J3

  10. #10
    Join Date
    Sep 2012
    Location
    12o4/14o4
    Beans
    Hidden!

    Re: Virtualbox on 12.04 LTS

    No need to burn a cd. Just download the .iso of choice and install direct to guest system.

    vBox.png

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •