Unable to install module vboxhost/6.1.14_OSE for kernel 5.4.64-1-MANJARO: Missing kernel headers

Pamac is a GUI for pacman, and is an AUR helper.
At the moment I think: use the pacman commands from my message,
as thereā€™s less that could go wrong, and youā€™ll get clear feedback.
(post text here off your terminal if it didnā€™t go right.)
Pamac might do it OK, but I never use it myself, so I canā€™t be sure.

Where I wrote ā€œuse whatever AUR helper you normally useā€, you can use pamac for that part (installing virtualbox-ext-oracle-manjaro from the AUR).

Good find. I hope it gets reflected in the wiki.

At home I have a system installed before 2015, at work one installed in January 2018.

In both I had problems to start virtualbox, although at home I did everything I could find to correct it (no very wise), in the end the solution was what @bogdancovaciu suggested above:

This worked for me today at work, here I didnā€™t need to reboot for it to work.

I barely remember that I found this dkms suggestion a long time ago when I installed virtualbox at home. In this new installation at work I donā€™t even have it.

As Iā€™m not running virtualbox, I need some guidance as what needs to be changed in the wiki.

@j77h unless J77 can edit the wiki? (Unsure if you need to be TL2 or TL3)

:man_shrugging:

At section Install the Extension Pack(Optional):
Currently installation of extension pack is advised as:
pamac build virtualbox-ext-oracle
This is fine as long as you have the same version of VirtualBox as Arch has, but stable can lag behind in that, which may lead to similar errors as the one described in this thread until stable catches up.

As @j77h pointed out, there is the aur/virtualbox-ext-oracle-manjaro package, which from the dates seems to align with stable.
In short pamac build virtualbox-ext-oracle-manjaro should also be mentioned with the notification that the version of the extension pack should always match the version of VirtualBox.

1 Like

Done. Please verify?

:innocent:

2 Likes

:point_down:t4:

:grin:
I added that in that after 1 (one) TL2 user said he couldnā€™t. I just wanted confirmationā€¦

:stuck_out_tongue_winking_eye:

It should be fine.

A bit of nitpick, but aur/virtualbox-bin-guest-iso is linked above it, which is a different package, an installer ISO for guest utils. Even then is there a reason it is advised above community/virtualbox-guest-iso?

Feel free to copy-paste and DM me what you want it to be exactlyā€¦

:innocent:

P.S. But Iā€™m going to
:bed: :zzz: :wave:

We need to clarify a few points.

  1. The wiki is at wiki.manjaro.org : VirtualBox - Manjaro Linux
    Itā€™s separate from the forum, so nothing like a ā€œwiki postā€.
    To edit it we need a separate login, and we need to ask for it by email.
    (See here: Basic Submission Rules - Manjaro Linux)

  2. There is a HowTo in the Tutorials section of this forum
    [HowTo] VirtualBox - Installation - USB - Shared Folder
    made by @linux-aarhus. Itā€™s more up-to-date than the wiki page.
    Thatā€™s not a wiki post either. (Well, it could be, but he didnā€™t mention it,
    and Iā€™m on TL2 so I canā€™t see an edit button even if it is.)

  3. We I should have checked virtualbox-ext-oracle-manjaro more carefully.
    AUR (en) - virtualbox-ext-oracle-manjaro
    There is nothing on that page that says itā€™s an ā€˜officialā€™ Manjaro production,
    so itā€™s not guaranteed to be always there.
    It was 2 days late for the 2020-09-11 stable update.
    (Edit: it would be great if Manjaro maintainers would make it part of their update process, but until then ā€” )
    We still need to check versions before installing.
    yay and pikaur both can use -Ssa to search in the AUR, e.g.
    pikaur -Ssa virtualbox-ext-oracle
    With that command, they list each package that has ā€œvirtualbox-ext-oracleā€ in any part of the name or description (so they get the manjaro one as well), and show its version number.

2 Likes
  1. I meant the Announcement wiki post on this forum
  2. See above
    3. :dog2: up the wrong :deciduous_tree: (Iā€™m just an editor here on the site, not a package maintainer nor am I a wiki editor yetā€¦)

:blush:

My last reply was to everyone here in general ā€“ donā€™t take it as personal :wink:

1 Like

You are not alone with the current VirtualBox issues. I use virtualbox daily - as I use Visual Studio on Windows 10 for contract work.

I have had several issues lately with the combo Nvidia, VirtualBox, extension pack and kernel modules - even on pure Arch.

I was on the brink of insanity - until I got it working - running Arch with zen kernel and no Nvidia card.

Because this is a manual action - the installer cannot know which users to add to vboxusers group.

It has never really been an issue with the extension pack so a :+1: to @j77h for the improvements to the VirtualBox topic with relation to the extension pack.

2 Likes

Been using it for years without much problem ā€“ nvidia340, standard LTS kernel (HP Z400).

Except that I had troubles installing the extension pack
when the AUR one was the wrong version.
The ext-pack install needs sudo/root
but when the VBox GUI asked for a password
it didnā€™t accept either mine or rootā€™s.

Then discovered how to start the GUI with sudo,
with the /usr/lib/ path:
sudo /usr/lib/virtualbox/VirtualBox

But this command that I saw 2 days ago is a simpler way to do it:
sudo vboxmanage extpack install --replace <name>.vbox-extpack

Between mid-July and yesterday I didnā€™t start any VM.
Did something else go wrong during that time, and I missed it?
Sorry, no need to answer, donā€™t want to waste your time with useless questions.

But the OP already had vbox running previously, it wasnā€™t a new install.

And why was this in the wiki post on the update page? :
sudo usermod --append --groups vboxusers $USER

Seems like someone else also got dropped out of vboxusers unexpectedly,
but thereā€™s no mention of why or how.
I looked in the testing page and itā€™s not mentioned there either.

Not asking for an answer to this either, itā€™s not worth the effort of finding out. :wink:

2 Likes

This never happens without user intervention - my guess is a group.pacnew

I also updated the wiki page earlier today to reflect the added knowledge on the extension pack.

1 Like

Nice.
For the benefit of everyone else, thatā€™s the real actual wiki at wiki.manjaro.org
https://wiki.manjaro.org/index.php?title=Virtualbox#Install_the_Extension_Pack.28Optional.29

I scanned my update logs and the last /etc/group.pacnew was more than a year ago.

But recently there was dicussion in the update forum about dealing with pacnew files promptly,
and some less-experienced users got into cleaning up their old ones.
("sudo DIFFPROG=meld pacdiff" is a good way to review and merge pacnew files.)

@MrE, I know your problem is solved, but if you donā€™t know had it happened, it could happen again.
Not being in the vboxusers group means that vboxusers
was not listed in your /etc/group and/or /etc/gshadow files.
One possibility is that you recently edited one or both of those files,
and vboxusers was accidentally left out of one or both.
Not saying you did that. :slight_smile:
Just mentioning it in case you werenā€™t aware of the possibility.

If anyone completely replaces /etc/group with /etc/group.pacnew, they would be dropped out of all groups, and would have many more problems, such as not being able to use sudo ā€¦ if I understand it right.

1 Like

@j77h

In the Aug/28 update, for the first time I read suggestions about pacdiff and started using it very carefully; thatā€™s when I discovered that I had a lot of .pacnew in both computers.

Also, I saw that the new shadow.pacnew only had one entry, with the risk of leaving me without access to the system; I think I mentioned it in that announcement:

Solved .
After using * sudo pacdiff , I managed to find and get rid of all those old .pacnew files, then I reboot my system ā€¦ cut ā€¦

I also found that some previous update, wreaked havoc on the shadow file; no wonder many people have complained that they cannot enter with their passwords, that new ā€œ/etc/shadow.pacnewā€ comes only with the ā€œrootā€ account:

root:*:14871::::::

I discard that shadow.pacnew.

I can certainly tell you that I checked the differences very carefully, and I did not see that my user will be missing from the groups during that update.

Also, and during the Sept/8 update my virtualbox was working correctly.

It was after the Sept/11* update that the problem started, so I deduce that this update removed my user from the group.

But, I think I found something strange in my PC at work, I found a file group.pacnew-
With a ā€œdashā€ at the end, I donā€™t remember if I renamed it or if the Aug/28 or Sep/11 update left it as evidence of the update.

Although its date is prior to the Aug/28 update; and since the beginning of the year I have not had problems with the virtualbox in my work, the VM is a windows 10 that I use daily and even from home via RDP.

Regards

  • not Sep/9, but Sept/11

Addendum. So, the Sept/11 update didnā€™t give any warning that it would update the group file; so thereā€™s a good chance it will happen again (hopefully not).

Where did you do this search in the logs? :thinking:

1 Like