You are not logged in.

#1 2014-10-17 20:47:49

Plox
Member
Registered: 2014-10-14
Posts: 7

unresolvable dependencies while trying to install virtualbox

Hello, I want to install virtualbox on my laptop, but I am having a bit of an issue doing so.  Pacman is having problems with unresolvable dependencies for the package.

[root@arch bang]# pacman -S virtualbox
resolving dependencies...
warning: cannot resolve "linux>=3.17", a dependency of "virtualbox-host-modules"
warning: cannot resolve "virtualbox-host-modules", a dependency of "virtualbox"
:: The following package cannot be upgraded due to unresolvable dependencies:
      virtualbox

:: Do you want to skip the above package for this upgrade? [y/N] n
error: failed to prepare transaction (could not satisfy dependencies)
:: virtualbox-host-modules: requires linux>=3.17
:: virtualbox: requires virtualbox-host-modules
[root@arch bang]# 

I have looked here on the forum and through the arch wiki on virtualbox, but maybe I am over looking something or what. I can't seem to really figure out how to resolve my problem.  I also get the error when I upgrade my system.  My system will upgrade, but still throw the warning for the virtualbox-host-module

[root@arch bang]# pacman -Syyu
:: Synchronizing package databases...
 core                                                                                      116.7 KiB   822K/s 00:00 [---------------------------------------------------------------------] 100%
 extra                                                                                    1774.6 KiB  3.63M/s 00:00 [---------------------------------------------------------------------] 100%
 community-testing                                                                          13.8 KiB   393K/s 00:00 [---------------------------------------------------------------------] 100%
 community                                                                                   2.3 MiB  4.26M/s 00:01 [---------------------------------------------------------------------] 100%
 multilib-testing                                                                           29.0   B  0.00B/s 00:00 [---------------------------------------------------------------------] 100%
 multilib                                                                                  118.4 KiB   811K/s 00:00 [---------------------------------------------------------------------] 100%
 archlinuxfr                                                                                20.6 KiB   123K/s 00:00 [---------------------------------------------------------------------] 100%
:: Starting full system upgrade...
resolving dependencies...
warning: cannot resolve "linux>=3.17", a dependency of "virtualbox-guest-modules"
:: The following package cannot be upgraded due to unresolvable dependencies:
      virtualbox-guest-modules

:: Do you want to skip the above package for this upgrade? [y/N] y
looking for inter-conflicts...
 there is nothing to do
[root@arch bang]# 

Any advice would be much appreciated

Offline

#2 2014-10-18 00:23:16

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,920

Re: unresolvable dependencies while trying to install virtualbox

Can see you are running testing repos, what kernel are you running currently? Looks like Virtualbox requires 3.17.... Check output of 'pacman -Ss linux' see which kernel is available.


Comments, suggestions please feel free to contact me mrgreen(at)archbang(dot)org

Offline

#3 2014-10-18 00:25:26

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,920

Re: unresolvable dependencies while trying to install virtualbox

You may want to enable testing repo if you have not already done so.


Comments, suggestions please feel free to contact me mrgreen(at)archbang(dot)org

Offline

#4 2014-10-18 00:36:21

Plox
Member
Registered: 2014-10-14
Posts: 7

Re: unresolvable dependencies while trying to install virtualbox

Mr Green wrote:

You may want to enable testing repo if you have not already done so.


Thank you very much for the help, this solved the issue, I did not have the test repos uncommented in /etc/pacman.conf

[bang@arch ~]$ sudo su
[sudo] password for bang: 
[root@arch bang]# leafpad /etc/pacman.conf 
[root@arch bang]# pacman -Syy
:: Synchronizing package databases...
 testing                   13.7 KiB   305K/s 00:00 [----------------------] 100%
 core                     116.7 KiB   783K/s 00:00 [----------------------] 100%
 extra                   1774.4 KiB  3.75M/s 00:00 [----------------------] 100%
 community-testing         13.8 KiB   417K/s 00:00 [----------------------] 100%
 community                  2.3 MiB  4.28M/s 00:01 [----------------------] 100%
 multilib-testing          29.0   B  0.00B/s 00:00 [----------------------] 100%
 multilib                 118.4 KiB   774K/s 00:00 [----------------------] 100%
 archlinuxfr               20.6 KiB   129K/s 00:00 [----------------------] 100%
[root@arch bang]# pacman -S virtualbox
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: virtualbox-guest-modules: requires linux<3.17
[root@arch bang]# pacman -Syyu
:: Synchronizing package databases...
 testing                   13.7 KiB   443K/s 00:00 [----------------------] 100%
 core                     116.7 KiB   805K/s 00:00 [----------------------] 100%
 extra                   1774.4 KiB  2.06M/s 00:01 [----------------------] 100%
 community-testing         13.8 KiB   382K/s 00:00 [----------------------] 100%
 community                  2.3 MiB  4.09M/s 00:01 [----------------------] 100%
 multilib-testing          29.0   B  0.00B/s 00:00 [----------------------] 100%
 multilib                 118.4 KiB   834K/s 00:00 [----------------------] 100%
 archlinuxfr               20.6 KiB   127K/s 00:00 [----------------------] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Packages (11): db-5.3.28-2  dhcpcd-6.5.1-1  fluidsynth-1.1.6-4
               iproute2-3.17.0-1  libcups-2.0.0-1  linux-3.17.1-1
               linux-lts-3.14.22-1  logrotate-3.8.8-1  make-4.1-1
               openssh-6.7p1-1  virtualbox-guest-modules-4.3.18-4

Total Download Size:    111.68 MiB
Total Installed Size:   157.33 MiB
Net Upgrade Size:       2.94 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
 db-5.3.28-2-x86_64      1102.3 KiB  2.22M/s 00:00 [----------------------] 100%
 dhcpcd-6.5.1-1-x86_64    134.1 KiB  3.85M/s 00:00 [----------------------] 100%
 fluidsynth-1.1.6-4-...   184.1 KiB  4.09M/s 00:00 [----------------------] 100%
 iproute2-3.17.0-1-x...   493.2 KiB  3.95M/s 00:00 [----------------------] 100%
 libcups-2.0.0-1-x86_64   299.3 KiB  5.22M/s 00:00 [----------------------] 100%
 linux-3.17.1-1-x86_64     54.8 MiB  6.57M/s 00:08 [----------------------] 100%
 linux-lts-3.14.22-1...    53.5 MiB  6.73M/s 00:08 [----------------------] 100%
 logrotate-3.8.8-1-x...    32.6 KiB  10.6M/s 00:00 [----------------------] 100%
 make-4.1-1-x86_64        389.4 KiB  8.09M/s 00:00 [----------------------] 100%
 openssh-6.7p1-1-x86_64   696.0 KiB  7.39M/s 00:00 [----------------------] 100%
 virtualbox-guest-mo...   126.7 KiB  8.25M/s 00:00 [----------------------] 100%
(11/11) checking keys in keyring                   [----------------------] 100%
(11/11) checking package integrity                 [----------------------] 100%
(11/11) loading package files                      [----------------------] 100%
(11/11) checking for file conflicts                [----------------------] 100%
(11/11) checking available disk space              [----------------------] 100%
( 1/11) upgrading db                               [----------------------] 100%
( 2/11) upgrading dhcpcd                           [----------------------] 100%
( 3/11) upgrading fluidsynth                       [----------------------] 100%
warning: /etc/conf.d/fluidsynth installed as /etc/conf.d/fluidsynth.pacnew
( 4/11) upgrading iproute2                         [----------------------] 100%
( 5/11) upgrading libcups                          [----------------------] 100%
( 6/11) upgrading linux                            [----------------------] 100%
>>> Updating module dependencies. Please wait ...
>>> Generating initial ramdisk, using mkinitcpio.  Please wait...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.17.1-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.17.1-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: smsmdtv
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
( 7/11) upgrading linux-lts                        [----------------------] 100%
>>> Updating module dependencies. Please wait ...
>>> Generating initial ramdisk, using mkinitcpio.  Please wait...
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
  -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
==> Starting build: 3.14.22-1-lts
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
  -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
==> Starting build: 3.14.22-1-lts
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: smsmdtv
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
==> Image generation successful
( 8/11) upgrading logrotate                        [----------------------] 100%
( 9/11) upgrading make                             [----------------------] 100%
(10/11) upgrading openssh                          [----------------------] 100%
(11/11) upgrading virtualbox-guest-modules         [----------------------] 100%
[root@arch bang]# pacman -S virtualbox
resolving dependencies...
looking for inter-conflicts...

Packages (2): virtualbox-host-modules-4.3.18-4  virtualbox-4.3.18-1

Total Download Size:    15.96 MiB
Total Installed Size:   79.92 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
 virtualbox-host-mod...   167.1 KiB  2.18M/s 00:00 [----------------------] 100%
 virtualbox-4.3.18-1...    15.8 MiB  6.58M/s 00:02 [----------------------] 100%
(2/2) checking keys in keyring                     [----------------------] 100%
(2/2) checking package integrity                   [----------------------] 100%
(2/2) loading package files                        [----------------------] 100%
(2/2) checking for file conflicts                  [----------------------] 100%
(2/2) checking available disk space                [----------------------] 100%
(1/2) installing virtualbox-host-modules           [----------------------] 100%
===> You must load vboxdrv module before starting VirtualBox:
===> # modprobe vboxdrv
(2/2) installing virtualbox                        [----------------------] 100%
Optional dependencies for virtualbox
    qt4: VirtualBox GUI support [installed]
    vde2: Virtual Distributed Ethernet support
    virtualbox-guest-iso: Guest Additions CD image
    virtualbox-ext-vnc: VNC server support
    virtualbox-sdk: Developer kit
    virtualbox-host-dkms: Build kernel modules with DKMS
    net-tools: Host-only or bridged networking support
[root@arch bang]# 

I am still learning, thank you very much!

Offline

#5 2014-10-18 01:11:42

Plox
Member
Registered: 2014-10-14
Posts: 7

Re: unresolvable dependencies while trying to install virtualbox

Uncommenting the test repos did something to break my setup.  I went to reboot right after and the system fails.  http://i.imgur.com/VdYw9fg.jpg  this is the pic I had to take with my phone to show where it freezes, I did nothing, but run the update after uncommenting the test repos in pacman.conf, I am on windows now. anything I can do to fix it ?  I am not a wizard so I have tried chroot on a live cd, not sure if I need to or how to totally use arch-chroot to check.  I had the same issues after install when I tried 4 times to hd install with the freeze on boot, wondering since I didn't use the test repos which is way everything went some what ok other then the virtualbox install. I would paste more log files but like I said I am not a guru at chroot

Offline

#6 2014-10-18 01:32:48

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,920

Re: unresolvable dependencies while trying to install virtualbox

Personally I would not use any testing repos unless you are working inside a virtual machine. Check your pacman logs to see what packages have been installed and got though and remove the ones that may have caused the problem. This will have to be done using live ISO and arch-chroot.

Mount you root device to /mnt and then run

sudo arch-chroot /mnt /bin/bash

If all else fails backup any data you need and reinstall

Is there any reason you use testing repos? Certainly would not recommend using them.


Comments, suggestions please feel free to contact me mrgreen(at)archbang(dot)org

Offline

#7 2014-10-18 01:39:52

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,920

Re: unresolvable dependencies while trying to install virtualbox

Think you should really reinstall and not enable testing repos, at least until you are more comfortable using linux.


Comments, suggestions please feel free to contact me mrgreen(at)archbang(dot)org

Offline

#8 2014-10-18 01:40:07

Plox
Member
Registered: 2014-10-14
Posts: 7

Re: unresolvable dependencies while trying to install virtualbox

Mr Green wrote:

Personally I would not use any testing repos unless you are working inside a virtual machine. Check your pacman logs to see what packages have been installed and got though and remove the ones that may have caused the problem. This will have to be done using live ISO and arch-chroot.

Mount you root device to /mnt and then run

sudo arch-chroot /mnt /bin/bash

If all else fails backup any data you need and reinstall

Is there any reason you use testing repos? Certainly would not recommend using them.



I promise you I did nothing else, but the logs here I showed. I think instead of chroot and grab logs I might just start over,  it is a bit frustrating to get virtualbox module to work I have to update via test repos then it breaks? I am having trouble understanding

I do not use test repos but suggested to fix virtualbox I did.  I play with Genymotion which is like a virtual android setup to test which is why I needed the virtualbox installed.  before I reinstall is there any file in chroot I can grab to post to check if it can be fixed?

Offline

#9 2014-10-18 01:41:45

Plox
Member
Registered: 2014-10-14
Posts: 7

Re: unresolvable dependencies while trying to install virtualbox

Mr Green wrote:

Think you should really reinstall and not enable testing repos, at least until you are more comfortable using linux.

does test repos not using mean that virtualbox does not install?

Offline

#10 2014-10-18 02:45:10

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,920

Re: unresolvable dependencies while trying to install virtualbox

Virtualbox is in main repos and works fine, provided your system is up to date. I use Virtualbox to test isos and build i686 packages.

Do not as a rule use multi libs either, only a few applications now require them. Most things work in 64bit these days.

Arch is a rolling release and packages are not in testing for very long.


Comments, suggestions please feel free to contact me mrgreen(at)archbang(dot)org

Offline

Board footer

Powered by FluxBB