Page 1 of 1

[SOLVED] Unable to install VirtualBox 4.0.14 on Mageia 1

PostPosted: Apr 21st, '12, 02:11
by epretorious
I'm not able to install VirtualBox using Mageia Control Center or urpmi:

  1. When I use urpmi, urpmi complains...

    Code: Select all
    [root@localhost Downloads]# urpmi virtualbox
    A requested package cannot be installed:
    dkms-virtualbox-4.0.14-1.3.mga1.i586 (due to unsatisfied dkms[*])
    Continue installation anyway? (Y/n) n

    [root@localhost Downloads]# urpmi dkms-virtualbox
    A requested package cannot be installed:
    dkms-virtualbox-4.0.14-1.3.mga1.i586 (due to unsatisfied dkms[*])
    Continue installation anyway? (Y/n) n

  2. When I try to install the virtualbox and dkms-virtualbox packages using Mageia Control Center, MCC also complains (see attached screenshots):

    Code: Select all
    Sorry, the following package cannot be selected:

    - virtualbox-4.0.14-1.3.mga1.i586 (due to unsatisfied kmod(vboxdrv)[== 4.0.14])
Ideas? Suggestions?

Re: Unable to install VirtualBox 4.0.14 on Mageia 1 using MC

PostPosted: Apr 21st, '12, 02:19
by epretorious
Installing from the upstream package isn't any more successful:

[root@localhost Downloads]# urpmi libqtcore4 libqtgui4 libqtsvg4 qt4-common
...
installing libqtcore4-4.7.4-1.2.mga1.i586.rpm qt4-common-4.7.4-1.2.mga1.i586.rpm libqtgui4-4.7.4-1.2.mga1.i586.rpm libqtsvg4-4.7.4-1.2.mga1.i586.rpm from /var/cache/urpmi/rpms
Preparing... ###########################################################################################################################
1/4: qt4-common ###########################################################################################################################
2/4: libqtcore4 ###########################################################################################################################
3/4: libqtgui4 ###########################################################################################################################
4/4: libqtsvg4 ###########################################################################################################################

[root@localhost Downloads]# rpm -Uvh VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64.rpm
error: Failed dependencies:
libasound.so.2()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libGL.so.1()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libQtCore.so.4()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libQtGui.so.4()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libQtNetwork.so.4()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libQtOpenGL.so.4()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libSDL-1.2.so.0()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libX11.so.6()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libXcursor.so.1()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libXext.so.6()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libXinerama.so.1()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libXmu.so.6()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libXt.so.6()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libc.so.6()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libc.so.6(GLIBC_2.3.2)(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libc.so.6(GLIBC_2.6)(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libcrypt.so.1()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libcrypt.so.1(GLIBC_2.2.5)(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libcrypto.so.1.0.0()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libcurl.so.4()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libdl.so.2()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libdl.so.2(GLIBC_2.2.5)(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libgcc_s.so.1()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libgcc_s.so.1(GCC_3.0)(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libm.so.6()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libm.so.6(GLIBC_2.2.5)(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libpng12.so.0()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libpthread.so.0()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libpthread.so.0(GLIBC_2.3.2)(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libpthread.so.0(GLIBC_2.3.3)(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libpthread.so.0(GLIBC_2.3.4)(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libpython2.7.so.1.0()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
librt.so.1()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
librt.so.1(GLIBC_2.2.5)(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
librt.so.1(GLIBC_2.3.3)(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libssl.so.1.0.0()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libstdc++.so.6()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libstdc++.so.6(GLIBCXX_3.4)(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libstdc++.so.6(GLIBCXX_3.4.11)(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libstdc++.so.6(GLIBCXX_3.4.15)(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libstdc++.so.6(GLIBCXX_3.4.9)(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libxml2.so.2()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64
libz.so.1()(64bit) is needed by VirtualBox-4.1-4.1.12_77245_mdv2011.0-1.x86_64

Re: Unable to install VirtualBox 4.0.14 on Mageia 1 using MC

PostPosted: Apr 21st, '12, 05:04
by epretorious
I wasn't aware that I'd need to add sources before using urpmi. Once I did that (using Mageia Control Center), the installation went over without a hitch...

Code: Select all
[root@localhost ~]# urpmi virtualbox
In order to satisfy the 'kernel-devel' dependency, one of the following packages is needed:
 1- kernel-desktop586-devel-2.6.38.7-1.mga-1-1.mga1.i586: The kernel-devel files for kernel-desktop586-2.6.38.7-1.mga (to install)
 2- kernel-desktop586-devel-2.6.38.8-10.mga-1-1.mga1.i586: The kernel-devel files for kernel-desktop586-2.6.38.8-10.mga (to install)
What is your choice? (1-2) 2

To satisfy dependencies, the following packages are going to be installed:
   Package                        Version      Release       Arch   
  dkms-virtualbox                4.0.14       1.3.mga1      i586   
  glibc-devel                    2.12.1       11.3.mga1     i586   
  kernel-desktop586-devel-2.6.3> 1            1.mga1        i586   
  kernel-desktop586-devel-latest 2.6.38.8     10.mga1       i586    (suggested)
  libqtnetwork4                  4.7.4        1.2.mga1      i586   
  libqtopengl4                   4.7.4        1.2.mga1      i586   
  linux-userspace-headers        2.6.38.8     1.mga1        i586   
  make                           3.82         4.mga1        i586   
  virtualbox-doc                 4.0.14       1.3.mga1      noarch  (suggested)
  binutils                       2.20.51.0.11 2.mga1        i586   
  dkms                           2.0.19       24.mga1       noarch 
  dkms-minimal                   2.0.19       24.mga1       noarch 
  gcc                            4.5.2        4.mga1        i586   
  gcc-cpp                        4.5.2        4.mga1        i586   
  libcloog0                      0.15.8       3.mga1        i586   
  libgmpxx4                      5.0.1        3.mga1        i586   
  libmpc2                        0.8.2        2.mga1        i586   
  libncurses-devel               5.7          6.20100925.1> i586   
  libppl7                        0.10.2       6.mga1        i586   
  libppl_c2                      0.10.2       6.mga1        i586   
  patch                          2.6.1        4.mga1        i586   
  virtualbox                     4.0.14       1.3.mga1      i586   
139MB of additional disk space will be used.
42MB of packages will be retrieved.
Proceed with the installation of the 22 packages? (Y/n)

installing linux-userspace-headers-2.6.38.8-1.mga1.i586.rpm make-3.82-4.mga1.i586.rpm virtualbox-doc-4.0.14-1.3.mga1.noarch.rpm libqtopengl4-4.7.4-1.2.mga1.i586.rpm libmpc2-0.8.2-2.mga1.i586.rpm libncurses-devel-5.7-6.20100925.1.mga1.i586.rpm glibc-devel-2.12.1-11.3.mga1.i586.rpm libgmpxx4-5.0.1-3.mga1.i586.rpm from /var/cache/urpmi/rpms
Preparing...                     #####################################################################################################
     1/22: linux-userspace-headers
                                 #####################################################################################################
     2/22: glibc-devel           #####################################################################################################
     3/22: libncurses-devel      #####################################################################################################
     4/22: libgmpxx4             #####################################################################################################
     5/22: libmpc2               #####################################################################################################
     6/22: libqtopengl4          #####################################################################################################
     7/22: virtualbox-doc        #####################################################################################################
     8/22: make                  #####################################################################################################

installing patch-2.6.1-4.mga1.i586.rpm libppl_c2-0.10.2-6.mga1.i586.rpm libppl7-0.10.2-6.mga1.i586.rpm kernel-desktop586-devel-2.6.38.8-10.mga-1-1.mga1.i586.rpm gcc-4.5.2-4.mga1.i586.rpm gcc-cpp-4.5.2-4.mga1.i586.rpm binutils-2.20.51.0.11-2.mga1.i586.rpm libcloog0-0.15.8-3.mga1.i586.rpm from /var/cache/urpmi/rpms
Preparing...                     #####################################################################################################
     9/22: libppl7               #####################################################################################################
    10/22: libppl_c2             #####################################################################################################
    11/22: libcloog0             #####################################################################################################
    12/22: gcc-cpp               #####################################################################################################
    13/22: binutils              #####################################################################################################
    14/22: gcc                   #####################################################################################################
    15/22: kernel-desktop586-devel-2.6.38.8-10.mga
                                 #####################################################################################################
    16/22: patch                 #####################################################################################################

installing virtualbox-4.0.14-1.3.mga1.i586.rpm dkms-minimal-2.0.19-24.mga1.noarch.rpm libqtnetwork4-4.7.4-1.2.mga1.i586.rpm dkms-virtualbox-4.0.14-1.3.mga1.i586.rpm kernel-desktop586-devel-latest-2.6.38.8-10.mga1.i586.rpm dkms-2.0.19-24.mga1.noarch.rpm from /var/cache/urpmi/rpms
Preparing...                     #####################################################################################################
    17/22: libqtnetwork4         #####################################################################################################
    18/22: dkms-minimal          #####################################################################################################
    19/22: dkms                  #####################################################################################################
    20/22: dkms-virtualbox       #####################################################################################################

+ /usr/sbin/dkms --rpm_safe_upgrade add -m virtualbox -v 4.0.14-1.3.mga1
Creating symlink /var/lib/dkms/virtualbox/4.0.14-1.3.mga1/source -> /usr/src/virtualbox-4.0.14-1.3.mga1
DKMS: add Completed.

+ /usr/sbin/dkms --rpm_safe_upgrade build -m virtualbox -v 4.0.14-1.3.mga1
Preparing kernel 2.6.38.8-desktop586-10.mga for module build:
(This is not compiling a kernel, just preparing kernel symbols)
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper....
using /proc/config.gz
make oldconfig.....
make prepare....

Building module:
cleaning build area....
./vboxbuild /lib/modules/2.6.38.8-desktop586-10.mga/build..............
cleaning build area....
cleaning kernel tree (make mrproper)....
DKMS: build Completed.

+ /usr/sbin/dkms --rpm_safe_upgrade install -m virtualbox -v 4.0.14-1.3.mga1
vboxdrv.ko.gz:
 - Installation
   - Installing to /lib/modules/2.6.38.8-desktop586-10.mga/dkms/3rdparty/vbox/

vboxnetflt.ko.gz:
 - Installation
   - Installing to /lib/modules/2.6.38.8-desktop586-10.mga/dkms/3rdparty/vbox/

vboxnetadp.ko.gz:
 - Installation
   - Installing to /lib/modules/2.6.38.8-desktop586-10.mga/dkms/3rdparty/vbox/

depmod......
DKMS: install Completed.

+ /sbin/rmmod vboxnetflt
+ /sbin/rmmod vboxnetadp
+ /sbin/rmmod vboxdrv
+ /sbin/modprobe vboxdrv
+ /sbin/modprobe vboxnetflt
+ /sbin/modprobe vboxnetadp
+ :
    21/22: virtualbox            #####################################################################################################
    22/22: kernel-desktop586-devel-latest
                                 #####################################################################################################

Re: [SOLVED] Unable to install VirtualBox 4.0.14 on Mageia 1

PostPosted: Apr 22nd, '12, 16:29
by doktor5000
On the other hand, in between you tried to install an x86_64 package on an i586 system, which will always fail. ;)

Re: [SOLVED] Unable to install VirtualBox 4.0.14 on Mageia 1

PostPosted: May 1st, '12, 01:07
by epretorious
doktor5000 wrote:On the other hand, in between you tried to install an x86_64 package on an i586 system, which will always fail. ;)

This raises an interesting question, Doktor: Is there a non-free, 64-bit LiveCD available? I only see 32-bit versions of the non-free LiveCD available on the Mageia download page.

Re: [SOLVED] Unable to install VirtualBox 4.0.14 on Mageia 1

PostPosted: May 1st, '12, 08:40
by doktor5000
No, not yet.