You are not logged in.

#1 2016-09-30 13:33:59

ip_pisaasu
Member
Registered: 2016-09-30
Posts: 3

Need to install an older version of virtualbox

Hey all!

I've just set up my Arch machine and have installed Virtualbox 5.1.6-1 using pacman. However, there is a bug that I believe I'm hitting on this virtualbox version where my PC's microphone isn't recognized by the Guest OS.

https://www.virtualbox.org/ticket/14386

So I want to try going back to any virtualbox 5.0 version to try and work around the issue.
I've tried going to https://archive.archlinux.org/packages/v/virtualbox/ and downloading an older version. (virtualbox-5.0.4-1-x86_64.pkg.tar.xz)

However, I'm not sure how I can downgrade this. When I try a pacman -U, it fails a dependency.

[X@Y Downloads]$ sudo pacman -U virtualbox-5.0.4-1-x86_64.pkg.tar
[sudo] password for X:
loading packages...
warning: downgrading package virtualbox (5.1.6-1 => 5.0.4-1)
resolving dependencies...
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] y
looking for conflicting packages...
there is nothing to do


I've already tried re-installing the virtualbox-host-modules many times, but that doesn't change this behaviour.

I've also tried going to /etc/pacman.conf and enabling test packages, did a pacman -Syy and then tried the above step again. It still fails with the same problem.

In the AUR, I'm only seeing the virtualbox 5.1.6-1 which I'm currently running.
Is there someplace that I can get the tarball for the older virtualbox and try installing that version? Or is there a way I can get out of the above problem?

Thanks!

Offline

#2 2016-09-30 13:45:46

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: Need to install an older version of virtualbox

The name of virtualbox-host-modules package has changed to virtualbox-host-modules-arch, and therefore the former doesn't exist on repos. I'm also guessing that the host-modules has to be the same version as the virtualbox package (even though the virtualbox package has no versioned dependency apparently).

Download virtualbox-host-modules-5.0.4-1 from Arch Linux Archive, and install both with pacman -U.

Offline

#3 2016-09-30 13:55:46

ip_pisaasu
Member
Registered: 2016-09-30
Posts: 3

Re: Need to install an older version of virtualbox

Thanks for that tip! I downloaded the virtualbox-host-modules-5.0.4-1-x86_64.pkg from the archive.

Now it's asking me to give it an older version of the linux kernel I think? Can you confirm that?

[X@Y Downloads]$ sudo pacman -U virtualbox-host-modules-5.0.4-1-x86_64.pkg.tar
loading packages...
resolving dependencies...
warning: cannot resolve "linux<4.2", a dependency of "virtualbox-host-modules"
:: The following package cannot be upgraded due to unresolvable dependencies:
      virtualbox-host-modules

:: Do you want to skip the above package for this upgrade? [y/N] y
looking for conflicting packages...
there is nothing to do

As per my uname -a, I am running 4.7.4-1-ARCH

Offline

#4 2016-09-30 16:05:42

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: Need to install an older version of virtualbox

Sorry I didn't think about the modules being built for older kernel.

Just install virtualbox-host-dkms package instead of the pre-built modules (again the same version as your virtualbox package). It will build the kernel modules for your current kernel.

Last edited by ooo (2016-09-30 16:07:18)

Offline

#5 2016-09-30 20:36:26

ip_pisaasu
Member
Registered: 2016-09-30
Posts: 3

Re: Need to install an older version of virtualbox

Sure. Thanks! I'll take a look at that package and see if it works out.

Offline

Board footer

Powered by FluxBB