Forums

Resolved
0 votes
Hi all,

I would like to install VirtualBox 5.1.8 on my Clear OS (3.10.0-229.7.2.v7.x86_64).
I tried :
cd /etc/yum.repos.d
wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
yum --enablerepo=epel install dkms
yum groupinstall "Development Tools"
yum install kernel-devel
yum install VirtualBox-5.1.8

But it's not working.
The oracle install guide starts with :
[root@home yum.repos.d]# yum install dkms
Loaded plugins: clearcenter-marketplace, fastestmirror, priorities
ClearCenter Marketplace: fetching repositories...
Loading mirror speeds from cached hostfile
* clearos: ftp.nluug.nl
* clearos-centos: download4.clearsdn.com
* clearos-centos-updates: download4.clearsdn.com
* clearos-contribs: ftp.nluug.nl
* clearos-epel: download4.clearsdn.com
* clearos-fast-updates: download4.clearsdn.com
* clearos-infra: ftp.nluug.nl
* clearos-updates: ftp.nluug.nl
* private-clearcenter-dyndns: download1.clearsdn.com:80
Resolving Dependencies
--> Running transaction check
---> Package dkms.noarch 0:2.2.0.3-34.git.9e0394d.el7 will be installed
--> Processing Dependency: kernel-devel for package: dkms-2.2.0.3-34.git.9e0394d.el7.noarch
--> Processing Dependency: gcc for package: dkms-2.2.0.3-34.git.9e0394d.el7.noarch
--> Running transaction check
---> Package dkms.noarch 0:2.2.0.3-34.git.9e0394d.el7 will be installed
--> Processing Dependency: kernel-devel for package: dkms-2.2.0.3-34.git.9e0394d.el7.noarch
---> Package gcc.x86_64 0:4.8.5-4.el7 will be installed
--> Processing Dependency: cpp = 4.8.5-4.el7 for package: gcc-4.8.5-4.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-4.el7.x86_64
--> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.5-4.el7.x86_64
--> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-4.el7.x86_64
--> Running transaction check
---> Package cpp.x86_64 0:4.8.5-4.el7 will be installed
---> Package dkms.noarch 0:2.2.0.3-34.git.9e0394d.el7 will be installed
--> Processing Dependency: kernel-devel for package: dkms-2.2.0.3-34.git.9e0394d.el7.noarch
---> Package glibc-devel.x86_64 0:2.17-106.el7_2.8 will be installed
--> Processing Dependency: glibc-headers = 2.17-106.el7_2.8 for package: glibc-devel-2.17-106.el7_2.8.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-106.el7_2.8.x86_64
---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed
--> Running transaction check
---> Package dkms.noarch 0:2.2.0.3-34.git.9e0394d.el7 will be installed
--> Processing Dependency: kernel-devel for package: dkms-2.2.0.3-34.git.9e0394d.el7.noarch
---> Package glibc-headers.x86_64 0:2.17-106.el7_2.8 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-106.el7_2.8.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-106.el7_2.8.x86_64
--> Finished Dependency Resolution
Error: Package: dkms-2.2.0.3-34.git.9e0394d.el7.noarch (clearos-epel)
Requires: kernel-devel
Error: Package: glibc-headers-2.17-106.el7_2.8.x86_64 (clearos-centos-updates)
Requires: kernel-headers >= 2.2.1
Error: Package: glibc-headers-2.17-106.el7_2.8.x86_64 (clearos-centos-updates)
Requires: kernel-headers
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

That is not working either.

Any suggestion is welcome.
Thursday, October 27 2016, 08:34 PM
Share this post:
Responses (6)
  • Accepted Answer

    Wednesday, October 04 2017, 08:39 AM - #Permalink
    Resolved
    0 votes
    Here is what I've done. Sorry this is my own remind and some text is in French... Use google translate if needed :

    VirtualBox
    Sources : Guide
    Installation
    Install Virutal box Repo :

    cd /etc/yum.repos.d
    wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo

    mkdir -p /Taryck/Install
    cd /Taryck/Install
    wget https://doc-00-6k-docs.googleusercontent.com/docs/securesc/..... -O Virtual_Box_Install.yum
    yum install `cat Virtual_Box_Install.yum | grep -v '^#' | grep '^..' | tr '\r\n' ' '`


    Virtual_Box_Install.yum content :
    #Virtual Box
    kernel-devel
    dkms
    VirtualBox-5.1



    [root@home Install]# yum install `cat Virtual_Box_Install.yum | grep -v '^#' | grep '^..' | tr '\r\n' ' '`
    Loaded plugins: clearcenter-marketplace, fastestmirror, priorities
    ClearCenter Marketplace: fetching repositories...
    Loading mirror speeds from cached hostfile
    * clearos: mirror1-frankfurt.clearos.com
    * clearos-centos-sclo-rh: download4.clearsdn.com
    * clearos-centos-verified: mirror1-frankfurt.clearos.com
    * clearos-contribs: mirror1-frankfurt.clearos.com
    * clearos-epel-verified: mirror1-frankfurt.clearos.com
    * clearos-fast-updates: download4.clearsdn.com
    * clearos-infra: mirror1-frankfurt.clearos.com
    * clearos-verified: mirror1-frankfurt.clearos.com
    * private-clearcenter-dyndns: download3.clearsdn.com:80
    * private-clearcenter-verified-updates: download2.clearsdn.com:80
    Resolving Dependencies
    --> Running transaction check
    ---> Package kernel-devel.x86_64 0:3.10.0-514.26.2.v7 will be installed
    ---> Package VirtualBox-5.1.x86_64 0:5.1.26_117224_el7-1 will be installed
    --> Processing Dependency: libvpx.so.1()(64bit) for package: VirtualBox-5.1-5.1.26_117224_el7-1.x86_64
    --> Processing Dependency: libSDL-1.2.so.0()(64bit) for package: VirtualBox-5.1-5.1.26_117224_el7-1.x86_64
    ---> Package dkms.noarch 0:2.3-5.20170523git8c3065c.el7 will be installed
    --> Processing Dependency: kernel-devel-uname-r for package: dkms-2.3-5.20170523git8c3065c.el7.noarch
    --> Processing Dependency: gcc for package: dkms-2.3-5.20170523git8c3065c.el7.noarch
    --> Running transaction check
    ---> Package SDL.x86_64 0:1.2.15-14.el7 will be installed
    ---> Package gcc.x86_64 0:4.8.5-11.el7 will be installed
    --> Processing Dependency: cpp = 4.8.5-11.el7 for package: gcc-4.8.5-11.el7.x86_64
    --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-11.el7.x86_64
    --> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.5-11.el7.x86_64
    --> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-11.el7.x86_64
    ---> Package kernel-debug-devel.x86_64 0:3.10.0-514.26.2.v7 will be installed
    ---> Package libvpx.x86_64 0:1.3.0-5.el7_0 will be installed
    --> Running transaction check
    ---> Package cpp.x86_64 0:4.8.5-11.el7 will be installed
    ---> Package glibc-devel.x86_64 0:2.17-157.el7_3.5 will be installed
    --> Processing Dependency: glibc-headers = 2.17-157.el7_3.5 for package: glibc-devel-2.17-157.el7_3.5.x86_64
    --> Processing Dependency: glibc-headers for package: glibc-devel-2.17-157.el7_3.5.x86_64
    ---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
    ---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed
    --> Running transaction check
    ---> Package glibc-headers.x86_64 0:2.17-157.el7_3.5 will be installed
    --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-157.el7_3.5.x86_64
    --> Processing Dependency: kernel-headers for package: glibc-headers-2.17-157.el7_3.5.x86_64
    --> Running transaction check
    ---> Package kernel-headers.x86_64 0:3.10.0-514.26.2.v7 will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    =======================================================================================================================================================
    Package Arch Version Repository Size
    =======================================================================================================================================================
    Installing:
    kernel-devel x86_64 3.10.0-514.26.2.v7 clearos-verified 13 M
    VirtualBox-5.1 x86_64 5.1.26_117224_el7-1 virtualbox 75 M
    dkms noarch 2.3-5.20170523git8c3065c.el7 clearos-epel-verified 78 k
    Installing for dependencies:
    SDL x86_64 1.2.15-14.el7 clearos-centos-verified 204 k
    cpp x86_64 4.8.5-11.el7 clearos-centos-verified 5.9 M
    gcc x86_64 4.8.5-11.el7 clearos-centos-verified 16 M
    glibc-devel x86_64 2.17-157.el7_3.5 clearos-centos-verified 1.1 M
    glibc-headers x86_64 2.17-157.el7_3.5 clearos-centos-verified 669 k
    kernel-debug-devel x86_64 3.10.0-514.26.2.v7 clearos-verified 13 M
    kernel-headers x86_64 3.10.0-514.26.2.v7 clearos-verified 4.8 M
    libmpc x86_64 1.0.1-3.el7 clearos-centos-verified 51 k
    libvpx x86_64 1.3.0-5.el7_0 clearos-centos-verified 498 k
    mpfr x86_64 3.1.1-4.el7 clearos-centos-verified 203 k

    Transaction Summary
    =======================================================================================================================================================
    Install 3 Packages (+10 Dependent packages)

    Total download size: 118 M
    Installed size: 266 M
    Is this ok [y/d/N]: Y
    Downloading packages:
    (0/12): kernel-devel-3.10.0-514.26.2.v7.x86_64.rpm | 13 MB 00:00:00
    (1/12): SDL-1.2.15-14.el7.x86_64.rpm | 204 kB 00:00:00
    (3/12): cpp-4.8.5-11.el7.x86_64.rpm | 5.9 MB 00:00:00
    (4/12): dkms-2.3-5.20170523git8c3065c.el7.noarch.rpm | 78 kB 00:00:00
    (5/12): gcc-4.8.5-11.el7.x86_64.rpm | 16 MB 00:00:00
    (6/12): glibc-devel-2.17-157.el7_3.5.x86_64.rpm | 1.1 MB 00:00:00
    (7/12): glibc-headers-2.17-157.el7_3.5.x86_64.rpm | 669 kB 00:00:00
    (8/12): kernel-debug-devel-3.10.0-514.26.2.v7.x86_64.rpm | 13 MB 00:00:00
    (9/12): kernel-headers-3.10.0-514.26.2.v7.x86_64.rpm | 4.8 MB 00:00:00
    (10/12): libmpc-1.0.1-3.el7.x86_64.rpm | 51 kB 00:00:00
    (11/12): libvpx-1.3.0-5.el7_0.x86_64.rpm | 498 kB 00:00:00
    (12/12): mpfr-3.1.1-4.el7.x86_64.rpm | 203 kB 00:00:00
    warning: /var/cache/yum/x86_64/7/virtualbox/packages/VirtualBox-5.1-5.1.26_117224_el7-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
    Public key for VirtualBox-5.1-5.1.26_117224_el7-1.x86_64.rpm is not installed
    VirtualBox-5.1-5.1.26_117224_el7-1.x86_64.rpm | 75 MB 00:00:03
    -------------------------------------------------------------------------------------------------------------------------------------------------------
    Total 22 MB/s | 118 MB 00:00:05
    Retrieving key from https://www.virtualbox.org/download/oracle_vbox.asc
    Importing GPG key 0x98AB5139:
    Userid : "Oracle Corporation (VirtualBox archive signing key) <info@virtualbox.org>"
    Fingerprint: 7b0f ab3a 13b9 0743 5925 d9c9 5442 2a4b 98ab 5139
    From : https://www.virtualbox.org/download/oracle_vbox.asc
    Is this ok [y/N]: y
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
    Installing : kernel-devel-3.10.0-514.26.2.v7.x86_64 0/12
    Installing : mpfr-3.1.1-4.el7.x86_64 1/12
    Installing : libmpc-1.0.1-3.el7.x86_64 2/12
    Installing : cpp-4.8.5-11.el7.x86_64 3/12
    Installing : libvpx-1.3.0-5.el7_0.x86_64 4/12
    Installing : SDL-1.2.15-14.el7.x86_64 5/12
    Installing : kernel-debug-devel-3.10.0-514.26.2.v7.x86_64 6/12
    Installing : kernel-headers-3.10.0-514.26.2.v7.x86_64 7/12
    Installing : glibc-headers-2.17-157.el7_3.5.x86_64 8/12
    Installing : glibc-devel-2.17-157.el7_3.5.x86_64 9/12
    Installing : gcc-4.8.5-11.el7.x86_64 10/12
    Installing : dkms-2.3-5.20170523git8c3065c.el7.noarch 11/12
    Installing : VirtualBox-5.1-5.1.26_117224_el7-1.x86_64 12/12

    Creating group 'vboxusers'. VM users must be member of that group!

    Verifying : kernel-devel-3.10.0-514.26.2.v7.x86_64 0/12
    Verifying : libmpc-1.0.1-3.el7.x86_64 1/12
    Verifying : glibc-devel-2.17-157.el7_3.5.x86_64 2/12
    Verifying : VirtualBox-5.1-5.1.26_117224_el7-1.x86_64 3/12
    Verifying : kernel-headers-3.10.0-514.26.2.v7.x86_64 4/12
    Verifying : mpfr-3.1.1-4.el7.x86_64 5/12
    Verifying : kernel-debug-devel-3.10.0-514.26.2.v7.x86_64 6/12
    Verifying : SDL-1.2.15-14.el7.x86_64 7/12
    Verifying : cpp-4.8.5-11.el7.x86_64 8/12
    Verifying : libvpx-1.3.0-5.el7_0.x86_64 9/12
    Verifying : gcc-4.8.5-11.el7.x86_64 10/12
    Verifying : glibc-headers-2.17-157.el7_3.5.x86_64 11/12
    Verifying : dkms-2.3-5.20170523git8c3065c.el7.noarch 12/12

    Installed:
    VirtualBox-5.1.x86_64 0:5.1.26_117224_el7-1 dkms.noarch 0:2.3-5.20170523git8c3065c.el7

    Dependency Installed:
    SDL.x86_64 0:1.2.15-14.el7 cpp.x86_64 0:4.8.5-11.el7 gcc.x86_64 0:4.8.5-11.el7
    glibc-devel.x86_64 0:2.17-157.el7_3.5 glibc-headers.x86_64 0:2.17-157.el7_3.5 kernel-debug-devel.x86_64 0:3.10.0-514.26.2.v7
    kernel-headers.x86_64 0:3.10.0-514.26.2.v7 libmpc.x86_64 0:1.0.1-3.el7 libvpx.x86_64 0:1.3.0-5.el7_0
    mpfr.x86_64 0:3.1.1-4.el7

    Complete!


    Création utilisateur
    Créer utilisateur virtualbox via webconfig Authorisation /bin/bash
    usermod -a -G vboxusers virtualbox


    Installation Extension Pack
    Download : https://www.virtualbox.org/wiki/Downloads
    Installation (as root) :
    vboxmanage extpack install /store/dd_vm/Oracle_VM_VirtualBox_Extension_Pack-5.1.26-117224.vbox-extpack


    Recopie config VirtualBox
    Se connecter avec user virtualbox
    Puis lancer : virtualbox
    Pour avoir cet ecran vierge :
    https://networkingit.files.wordpress.com/2011/03/welcome-screen.jpg
    Quitter virtual Box

    Trouver la source
    find -name VirtualBox*

    Copier :
    cp root/.config/VirtualBox/VirtualBox.xml /home/virtualbox/.config/VirtualBox/


    Identifiez la localisation des VM et donnez les droits à virtualbox :
    chown -R virtualbox:moi /store/dd_vm/*
    chmod -R g+r /store/dd_vm/*

    Relancer virutalbox
    Pour avoir ca :
    https://i.stack.imgur.com/LfUin.png
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 04 2017, 06:57 AM - #Permalink
    Resolved
    0 votes
    Please state exactly the steps you've tried and what errors you've hit? Also have you followed what has been posted in this thread?
    The reply is currently minimized Show
  • Accepted Answer

    Tom Lagden
    Tom Lagden
    Offline
    Tuesday, October 03 2017, 09:28 PM - #Permalink
    Resolved
    0 votes
    What did you do to get VirtualBox up and running as I am experiencing the same problem as described at the start of this thread
    The reply is currently minimized Show
  • Accepted Answer

    Monday, October 31 2016, 05:22 PM - #Permalink
    Resolved
    0 votes
    VirtualBox is up and running.
    thanks.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 28 2016, 02:41 PM - #Permalink
    Resolved
    0 votes
    Thanks. I'll try.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 28 2016, 11:26 AM - #Permalink
    Resolved
    0 votes
    If you solve your other KDE problem this one will probably go away.

    FWIW "yum groupinstall "Development Tools" does not work post ClearOS5.x. For installing the development environment please see this link, but don't bother with installing an editor unless you need it.
    Like
    1
    The reply is currently minimized Show
Your Reply