Description of problem: On a new, clean install of virtualbox, the Oracle extensions pack supplied as a part of the package cannot be loaded Version-Release number of selected component (if applicable):6.1.16 How reproducible: 100% Steps to Reproduce: 1.Install virtualbox 2.Start virtualbox 3.File->Preferences->Extensions 4. Hover over the name of the pack supplied ("Oracle VM VirtualBox Extension Pack"), which is shown as non-loaded. 5. Read the message: Failed to load '/usr/lib64/virtualbox/ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack.xml': Invalid version string: 6.1.16_Mageia The p[roblem is resolved by editing the installed file /usr/lib64/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/ExtPack.xml to strip off the _Mageia in line 5. The line should read <Version revision="140961">6.1.16</Version> The alternative is to download a new Extension pack from Oracle and use that instead. So an easy woraround, but loss of function is not minor. Hence I classify it as a "normal" bug.
Summary: The supplied extension pack cannot be loaded => VirtualBox: The supplied extension pack cannot be loaded
Seems to work just fine here.
CC: (none) => ftg
@Mike: Thank you for the report, and the remedy which works for you. It is curious that this only comes to light now. @Frank: Is yours also Mageia 7? What does your /usr/lib64/virtualbox/ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack/ExtPack.xml file show for the <Version revision="140961">6.1.16</Version> line ? Are you both using the same version of Vbox? Ah, what about the kernel also ? They are sometimes intimately related.
CC: (none) => lewyssmith
(In reply to Lewis Smith from comment #2) > @Mike: Thank you for the report, and the remedy which works for you. > It is curious that this only comes to light now. I expect it has been a problem for a while and everybody dud the same as I did: when extensions were not available, assume that for some reason Mageia simply did not provide the pack and download one from Oracle. This installed the identical extension pack but without the _mageia suffix, which loaded just fine. It was a complete chance that this time in installing Mageia on a brand new machine I spotted that the pack was reported do be there but marked as broken. > Are you both using the same version of Vbox? Mine's 6.1.16_Mageia r140961 > Ah, what about the kernel also ? They are sometimes intimately related. Linux version 5.7.19-desktop-3.mga7 (iurt@ec2x1.mageia.org) (gcc version 8.4.0 (Mageia 8.4.0-1.mga7), GNU ld (GNU Binutils) 2.33.1) #1 SMP Sun Oct 18 15:46:00 UTC 2020
[rolf@x570i ~]$ VBoxManage -v 6.1.16_Mageiar140961 [rolf@x570i ~]$ rpm -q virtualbox virtualbox-6.1.16-4.mga7 [rolf@x570i ~]$ uname -a Linux x570i 5.7.19-desktop-3.mga7 #1 SMP Sun Oct 18 15:46:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux [rolf@x570i ~]$ I found I had the same failed-to-load pack as Mike, same error, same resolution by removing _Mageia in line 5 of the cited file. I don't spend a lot of time with virtualbox and recall a long history of having to flounder about with extension packs, eventually downloading the current one and using VBoxManage to install, IIRC. Thanks.
CC: (none) => rolfpedersen
(In reply to Mike Arnautov from comment #3) > I expect it has been a problem for a while and everybody dud the same as I > did: when extensions were not available, assume that for some reason Mageia > simply did not provide the pack and download one from Oracle. This may have been a problem in cauldron for a while, but it only appeared in Mageia 7 with the recent update from virtualbox-6.0.24-1.mga7.x86_64 to virtualbox-6.1.16-4.mga7.x86_64. Prior to that the distro branding wasn't used. I think there's a bit of confusion in this report. The extension pack available in the Mageia repositories is the Oracle VBoxDTrace Extension Pack, and that is the one affected by this bug. The Oracle VM VirtualBox Extension Pack is not available in the repositories because it's licence does not permit redistribution, so always has to be obtained from the Oracle download site, and is not affected by this bug. I've never made use of the VBoxDTrace Extension Pack; it's the VM VirtualBox Extension Pack that provides the extensions most users care about (e.g. USB support). CC'ing tmb.
CC: (none) => mageia, tmb
Thanks for the report. I've added a fix in SVN for next virtualbox update
Assignee: bugsquad => basesystem
Assignee: basesystem => kernel
Well, once fixed, the pack supplied by Mageia does what I need, so it'll be nice to have virtualbox working ... er... out of the box. :-) Thanks, guys!
Thank you everyone for chipping in on this one, and with agreement!
CC: lewyssmith => (none)
I note that the default extension package no longer has distro branding and is loading without problem. Hence the problem has been resolved.
Status: NEW => RESOLVEDResolution: (none) => FIXED
Depends on: (none) => 28828
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGASA-2021-0197.html
(In reply to Mike Arnautov from comment #0) > Description of problem: (...) > Failed to load > '/usr/lib64/virtualbox/ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack.xml': > Invalid version string: 6.1.16_Mageia Hi, I just notice the correct fix is just use uppercase letters because the function VBoxExtPackIsValidEditionString only allows uppercase characters (A-Z) in the suffix. so string 6.1.16_MAGEIA won't have this problem ! , I'm appling this on VirtualBox of RPMFusion
CC: (none) => sergio