Page 1 of 1

[SOLVED] Virtualbox throws errors when installing on Manjaro

Posted: 29. Nov 2020, 08:53
by DeGarcen
Log:

Code: Select all

$ sudo ./VirtualBox-6.1.16-140961-Linux_amd64.run 
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation.............
VirtualBox Version 6.1.16 r140961 (2020-10-15T15:03:02Z) installer
Installing VirtualBox to /opt/VirtualBox
Python found: 1, installing bindings...
/bin/bash: 1: command not found
cat: /etc/vbox/python-filelist: No such file or directory
rm: cannot remove '/etc/vbox/python-filelist': No such file or directory
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.

VirtualBox has been installed successfully.

You will find useful information about using VirtualBox in the user manual
  /opt/VirtualBox/UserManual.pdf
and in the user FAQ
  http://www.virtualbox.org/wiki/User_FAQ

We hope that you enjoy using VirtualBox.

The installation log file is at /var/log/vbox-install.log.
Is ok to install virtualbox on Manjaro from official repositories with pamac-manager?

Re: Virtualbox throws errors when installing on Manjaro

Posted: 29. Nov 2020, 08:55
by DeGarcen

Re: Virtualbox throws errors when installing on Manjaro

Posted: 29. Nov 2020, 17:09
by scottgus1
DeGarcen wrote:Is ok to install virtualbox on Manjaro from official repositories with pamac-manager?
I don't know the answer to this, but I'm fairly sure about this:
DeGarcen wrote:This system is currently not set up to build kernel modules.
Per the manual, section 2.3.1, you need to install Linux kernel headers first before you try to install Virtualbox.

Re: Virtualbox throws errors when installing on Manjaro

Posted: 29. Nov 2020, 17:45
by multiOS
The Pamac manager will install whatever version is available in the Arch Repositories, which may or may not be identical to those that you can download from the Oracle Website because the Majaro developers compile their distribution from source, as do most (all?) of the main linux distribututions.

Manjaro also has its own VirtualBox Guidance Page: https://wiki.manjaro.org/index.php/VirtualBox which seems to provide Manjaro Distribution specific guidance on dealing with the Kernel header problems on first installation.

Re: Virtualbox throws errors when installing on Manjaro

Posted: 30. Nov 2020, 22:18
by DeGarcen
multiOS wrote:The Pamac manager will install whatever version is available in the Arch Repositories, which may or may not be identical to those that you can download from the Oracle Website because the Majaro developers compile their distribution from source, as do most (all?) of the main linux distribututions.

Manjaro also has its own VirtualBox Guidance Page: https://wiki.manjaro.org/index.php/VirtualBox which seems to provide Manjaro Distribution specific guidance on dealing with the Kernel header problems on first installation.
Works perfect following the wiki, thanks.

Re: [SOLVED] Virtualbox throws errors when installing on Manjaro

Posted: 30. Nov 2020, 22:21
by multiOS
That's great. Glad it worked.