Installing Virtualbox on MGA9

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Installing Virtualbox on MGA9

Postby gkmeyer » Aug 30th, '23, 20:57

I have done a fresh install of Mageia 9 and I am trying to install VirtualBox from the repositories, however I am getting an error that a newer kernel is installed.

I have kernel desktop 6.4.9 installed

it looks like the virtualbox packages are built against 6.4.7, however I cannot seem to downgrade my lernel to 6.4.7 to match the vbox modules. Will the virtualbox packages be rebuilt against 6.4.9? How can I downgrade the kernel? The old methods don't seem to work.
gkmeyer
 
Posts: 4
Joined: Aug 30th, '23, 20:44

Re: Installing Virtualbox on MGA9

Postby doktor5000 » Aug 30th, '23, 21:12

Hi there, it might help if you could post the output of
Code: Select all
rpm -qa | grep -iE "virtualbox|kernel" | sort
urpmq --list-media active --list-url


FWIW, I also did a fresh install of mga9 and virtualbox installed without any issues.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18045
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installing Virtualbox on MGA9

Postby gkmeyer » Aug 30th, '23, 21:15

Code: Select all
greg@localhost ~]$ rpm -qa | grep -iE "virtualbox|kernel" | sort
kernel-desktop-6.4.9-4.mga9
kernel-desktop-devel-6.4.9-4.mga9
kernel-desktop-latest-6.4.9-4.mga9
kernel-firmware-20230625-1.mga9
kernel-firmware-nonfree-20230814-1.mga9.nonfree
kernel-userspace-headers-6.4.9-4.mga9
remove-old-kernels-0.99.21.7-1.mga9


Code: Select all
urpmq --list-media active --list-url
Core Release https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release
Core Updates https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates
Nonfree Release https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/nonfree/release
Nonfree Updates https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/nonfree/updates
Tainted Release https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/tainted/release
Tainted Updates https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/tainted/updates
google-chrome http://dl.google.com/linux/chrome/rpm/stable/x86_64
Last edited by doktor5000 on Aug 30th, '23, 22:43, edited 1 time in total.
Reason: added code tags
gkmeyer
 
Posts: 4
Joined: Aug 30th, '23, 20:44

Re: Installing Virtualbox on MGA9

Postby gkmeyer » Aug 30th, '23, 21:27

Code: Select all
[greg@localhost ~]$ sudo urpmi virtualbox
[sudo] password for greg:
In order to satisfy the 'kmod(vboxdrv.ko)[== 7.0.10]' dependency, one of the following packages is needed:
 1- virtualbox-kernel-6.4.7-desktop-3.mga9-7.0.10-13.mga9.x86_64: virtualbox driver for kernel-desktop-6.4.7-3.mga9 (to install)
 2- virtualbox-kernel-6.4.7-server-3.mga9-7.0.10-13.mga9.x86_64: virtualbox driver for kernel-server-6.4.7-3.mga9 (to install)
 3- virtualbox-kernel-6.4.6-desktop-1.mga9-7.0.10-8.mga9.x86_64: virtualbox driver for kernel-desktop-6.4.6-1.mga9 (to install)
 4- virtualbox-kernel-6.4.6-server-1.mga9-7.0.10-8.mga9.x86_64: virtualbox driver for kernel-server-6.4.6-1.mga9 (to install)
 5- dkms-virtualbox-7.0.10-2.mga9.x86_64: VirtualBox kernel module (to install)
What is your choice? (1-5) 1
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch   
(medium "Core Release")
  kernel-desktop                 6.4.7        3.mga9        x86_64 
  virtualbox                     7.0.10       2.mga9        x86_64 
  virtualbox-kernel-6.4.7-deskt> 7.0.10       13.mga9       x86_64 
  virtualbox-kernel-desktop-lat> 7.0.10       13.mga9       x86_64  (recommended)
211MB of additional disk space will be used.
124MB of packages will be retrieved.
Proceed with the installation of the 4 packages? (Y/n)


installing virtualbox-7.0.10-2.mga9.x86_64.rpm from /var/cache/urpmi/rpms
Installation failed:    kmod(vboxdrv.ko) = 7.0.10 is needed by virtualbox-7.0.10-2.mga9.x86_64
gkmeyer
 
Posts: 4
Joined: Aug 30th, '23, 20:44

Re: Installing Virtualbox on MGA9

Postby doktor5000 » Aug 30th, '23, 22:50

Not sure if your mirror is not fully updated yet or maybe it hasn't synced hdlists yet completely, but those virtualbox-kernel-6.4.7 packages don't exist on your mirror.
Check https://mirror.math.princeton.edu/pub/m ... e/release/
Code: Select all
[   ]   virtualbox-kernel-6.4.9-desktop-4.mga9-7.0.10-24.mga9.x86_64.rpm   2023-08-19 13:11   221K   
[   ]   virtualbox-kernel-6.4.9-server-4.mga9-7.0.10-24.mga9.x86_64.rpm   2023-08-19 13:11   220K   
[   ]   virtualbox-kernel-desktop-latest-7.0.10-24.mga9.x86_64.rpm   2023-08-19 13:11   26K   
[   ]   virtualbox-kernel-server-latest-7.0.10-24.mga9.x86_64.rpm   2023-08-19 13:11   26K


According to https://mirrors.mageia.org/status it doesn't even have a timestamp for the base directory. Maybe try a different mirror which is up-to-date.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18045
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installing Virtualbox on MGA9

Postby gkmeyer » Aug 30th, '23, 23:35

Yes, it looks like when I did the install last night the mirrors might have been out of synch. I forced an update to my media and it installed. Thanks for the help.
gkmeyer
 
Posts: 4
Joined: Aug 30th, '23, 20:44

Re: Installing Virtualbox on MGA9

Postby doktor5000 » Aug 31st, '23, 17:11

Please don't forget to mark the thread as solved, by editing the subject of the first post and prefix it with [SOLVED], thanks in advance.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18045
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest