Page 1 of 2
Tails OS - Package architecture does not match.
Posted: 22. Mar 2016, 22:15
by twerkle
I'm trying to install VirtualBox on a Tails OS.
Laptop BIOS doesn't have Virtualization option.
I tried the Debain instructions under the linux host section and it have me a error:
Code: Select all
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
So I tried:
Code: Select all
sudo apt-get update
sudo apt-get install dkms build-essential
And then downloaded the AMD64 Debain Jessie .deb
Trying to install it I recieved this error:
Code: Select all
dpkg: error processing archive virtualbox-5.0.5.0.16-105871-Debain-jessie_amd64.deb (--install): package architecture (amd64) does not match system (i386)
uname -r reutrns:
If I install the 32 bit (i386) I get:
Code: Select all
Trying to register the VirtualBox DKMS kernel modules using DKMSError! echo
Your kernel headers for kernel 3.16.0-4-amd64 cannot be found at /lib/modules/3.16.0-4-amd64/build or /lib/modules/3.16.0-4-amd64/source.
...failed.
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...failed!
/var/log/vbox-install.log
Code: Select all
Uninstalling modules from DKMS
Attempting to install using DKMS
creating symlink /var/lib/dkms/voxhost.5.0.16/source -> /usr/src/vboxhost-5.0.16
DKMS: add completed.
Failed to install using DKMS, attempting to install without
Makefile:185: *** Error: unable to fund sources of your current linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
VirtualBox at this point shows up on the Applications list but trying to run a VM outputs this error:
Code: Select all
Kernel driver not installed (rc=-1908)
I then ran:
Code: Select all
# apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') virtualbox
and reinstalled the (i386) .deb file and running a VM gives new error:
Code: Select all
RTR3InitEx failed with rc=-1912 (rc=-1912)
The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing
'/sbin/rcvboxdrv setup'
may correct this.
I run '/sbin/rcvboxdrv setup' and it completes but VirtualBox gives the same error when running a VM.
Out of ideas.
I'm new to linux so sorry if I missed something obvious. I don't understand why it won't let me install the AMD64 version. Any help on the installation would be much appreciated. Thanks in advance, let me know if you need me to post more information.
Re: Tails OS - Package architecture does not match.
Posted: 22. Mar 2016, 22:53
by Perryg
I would purge the current install of VirtualBox and then run the following:
Code: Select all
# apt-get install linux-headers-$(uname -r)
Then install the i386 version of VirtualBox and reboot the host.
Re: Tails OS - Package architecture does not match.
Posted: 23. Mar 2016, 00:38
by twerkle
Perryg wrote:I would purge the current install of VirtualBox and then run the following:
Code: Select all
# apt-get install linux-headers-$(uname -r)
Then install the i386 version of VirtualBox and reboot the host.
This gives the error:
Code: Select all
Recompiling VirtualBox kernel modules ...failed!
/var/log/vbox-install.log
Code: Select all
/usr/share/virtualbox/src/vboxhost/build_in_temp: 62: /user/share/virtualbox/src/vboxhost/build_in_tmp: make: not found
Re: Tails OS - Package architecture does not match.
Posted: 23. Mar 2016, 00:56
by Perryg
What was the message when you tried to install the linux-headers-$(uname -r)?
Also where did you get your copy of VirtualBox from and what is the exact name of the install?
Re: Tails OS - Package architecture does not match.
Posted: 23. Mar 2016, 01:31
by twerkle
Perryg wrote:What was the message when you tried to install the linux-headers-$(uname -r)?
Also where did you get your copy of VirtualBox from and what is the exact name of the install?
Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
cpp-4.8 gcc-4.8 gcc-4.8-base libasan0 libgcc-4.8-dev
linux-compiler-gcc-4.8-x86 linux-headers-3.16.0-4-common linux-kbuild-3.16
Suggested packages:
gcc-4.8-locales gcc-4.8-multilib gcc-4.8-doc libgcc1-dbg libgomp1-dbg
libitm1-dbg libatomic1-dbg libasan0-dbg libtsan0-dbg libquadmath0-dbg
Recommended packages:
libc6-dev
The following NEW packages will be installed:
cpp-4.8 gcc-4.8 gcc-4.8-base libasan0 libgcc-4.8-dev
linux-compiler-gcc-4.8-x86 linux-headers-3.16.0-4-amd64
linux-headers-3.16.0-4-common linux-kbuild-3.16
0 upgraded, 9 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/16.3 MB of archives.
After this operation, 59.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package gcc-4.8-base:i386.
(Reading database ... 143829 files and directories currently installed.)
Preparing to unpack .../gcc-4.8-base_4.8.4-1_i386.deb ...
Unpacking gcc-4.8-base:i386 (4.8.4-1) ...
Selecting previously unselected package libasan0:i386.
Preparing to unpack .../libasan0_4.8.4-1_i386.deb ...
Unpacking libasan0:i386 (4.8.4-1) ...
Selecting previously unselected package cpp-4.8.
Preparing to unpack .../cpp-4.8_4.8.4-1_i386.deb ...
Unpacking cpp-4.8 (4.8.4-1) ...
Selecting previously unselected package libgcc-4.8-dev:i386.
Preparing to unpack .../libgcc-4.8-dev_4.8.4-1_i386.deb ...
Unpacking libgcc-4.8-dev:i386 (4.8.4-1) ...
Selecting previously unselected package gcc-4.8.
Preparing to unpack .../gcc-4.8_4.8.4-1_i386.deb ...
Unpacking gcc-4.8 (4.8.4-1) ...
Selecting previously unselected package linux-compiler-gcc-4.8-x86.
Preparing to unpack .../linux-compiler-gcc-4.8-x86_3.16.7-ckt20-1+deb8u4_i386.deb ...
Unpacking linux-compiler-gcc-4.8-x86 (3.16.7-ckt20-1+deb8u4) ...
Selecting previously unselected package linux-headers-3.16.0-4-common.
Preparing to unpack .../linux-headers-3.16.0-4-common_3.16.7-ckt20-1+deb8u4_i386.deb ...
Unpacking linux-headers-3.16.0-4-common (3.16.7-ckt20-1+deb8u4) ...
Selecting previously unselected package linux-kbuild-3.16.
Preparing to unpack .../linux-kbuild-3.16_3.16.7-ckt20-1_i386.deb ...
Unpacking linux-kbuild-3.16 (3.16.7-ckt20-1) ...
Selecting previously unselected package linux-headers-3.16.0-4-amd64.
Preparing to unpack .../linux-headers-3.16.0-4-amd64_3.16.7-ckt20-1+deb8u4_i386.deb ...
Unpacking linux-headers-3.16.0-4-amd64 (3.16.7-ckt20-1+deb8u4) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up gcc-4.8-base:i386 (4.8.4-1) ...
Setting up libasan0:i386 (4.8.4-1) ...
Setting up cpp-4.8 (4.8.4-1) ...
Setting up libgcc-4.8-dev:i386 (4.8.4-1) ...
Setting up gcc-4.8 (4.8.4-1) ...
Setting up linux-compiler-gcc-4.8-x86 (3.16.7-ckt20-1+deb8u4) ...
Setting up linux-headers-3.16.0-4-common (3.16.7-ckt20-1+deb8u4) ...
Setting up linux-kbuild-3.16 (3.16.7-ckt20-1) ...
Setting up linux-headers-3.16.0-4-amd64 (3.16.7-ckt20-1+deb8u4) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.16.0-4-amd64
Processing triggers for libc-bin (2.19-18+deb8u3) ...
Re: Tails OS - Package architecture does not match.
Posted: 23. Mar 2016, 01:36
by Perryg
What does uname -r in a terminal report?
Re: Tails OS - Package architecture does not match.
Posted: 23. Mar 2016, 01:45
by twerkle
Perryg wrote:What does uname -r in a terminal report?
Re: Tails OS - Package architecture does not match.
Posted: 23. Mar 2016, 01:56
by Perryg
Then you do need to install the amd64 version. You never replied to where you got your copy of VirtualBox from.
Re: Tails OS - Package architecture does not match.
Posted: 23. Mar 2016, 01:59
by twerkle
Perryg wrote:Then you do need to install the amd64 version. You never replied to where you got your copy of VirtualBox from.
I'm sorry I didn't see that. I downloaded the .deb package from the downloads page. I tried to install the amd64 version and it gave me an error i posted in the first post saying it doesn't match the architecture.
Re: Tails OS - Package architecture does not match.
Posted: 23. Mar 2016, 02:18
by Perryg
And the exact name of the install package is?
Re: Tails OS - Package architecture does not match.
Posted: 23. Mar 2016, 04:07
by twerkle
Perryg wrote:And the exact name of the install package is?
virtualbox-5.0_5.0.16-105871-Debain-jessie_amd64.deb
Re: Tails OS - Package architecture does not match.
Posted: 23. Mar 2016, 04:41
by Perryg
It looks like you are going to need to ask the tails folks what is going on. Something about your host is just not right.
Re: Tails OS - Package architecture does not match.
Posted: 23. Mar 2016, 06:48
by twerkle
Perryg wrote:It looks like you are going to need to ask the tails folks what is going on. Something about your host is just not right.
Thanks for your help. I tried to install VirtualBox on to Ubuntu 14.04 which was booted from a usb and I was able to install the package without errors but when launching the icon shows up but the GUI never loads. Do you think there is an issue because Tails and Ubuntu are being booted from a USB?
Re: Tails OS - Package architecture does not match.
Posted: 23. Mar 2016, 14:02
by Perryg
Not sure. Post the complete /var/log/vbox-install.log ( as an attachment )
Re: Tails OS - Package architecture does not match.
Posted: 23. Mar 2016, 19:31
by twerkle
Perryg wrote:Not sure. Post the complete /var/log/vbox-install.log ( as an attachment )
Here you go. Sorry for the delay.