[SOLVED] Virtualbox throws errors when installing on Manjaro

Discussions related to using VirtualBox on Linux hosts.
Post Reply
DeGarcen
Posts: 91
Joined: 20. Mar 2009, 14:27

[SOLVED] Virtualbox throws errors when installing on Manjaro

Post 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?
Last edited by DeGarcen on 30. Nov 2020, 22:18, edited 1 time in total.
scottgus1
Site Moderator
Posts: 20299
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Virtualbox throws errors when installing on Manjaro

Post 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.
multiOS
Volunteer
Posts: 788
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: WIN11,10, 7, Linux (various)
Location: United Kingdom

Re: Virtualbox throws errors when installing on Manjaro

Post 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.
DeGarcen
Posts: 91
Joined: 20. Mar 2009, 14:27

Re: Virtualbox throws errors when installing on Manjaro

Post 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.
multiOS
Volunteer
Posts: 788
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: WIN11,10, 7, Linux (various)
Location: United Kingdom

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

Post by multiOS »

That's great. Glad it worked.
Post Reply