Page 1 of 1

virtualbox guest additions

PostPosted: May 5th, '16, 05:48
by shadows
Hi all
how are you doing?
i am trying to install virtualbox guest additions , after downloading and running the iso file i get this error - pic1
and when i open the log file it tells me this -pic 2
where is the problem exactly ?
in ubunto forums some users face the same problem and it is suggested to install linux-headers-generic package
in mageia what is the solution pls.
thank you .

Re: virtualbox guest additions

PostPosted: May 5th, '16, 08:48
by jkerr82508
You need to install the devel package that corresponds to your currently running kernel.

For example, if you are using kernel-desktop and your system is fully updated, install kernel-desktop-devel-latest

Jim

Re: virtualbox guest additions

PostPosted: May 5th, '16, 13:49
by shadows
it is already installed any suggestions?

Re: virtualbox guest additions

PostPosted: May 5th, '16, 15:43
by doktor5000
Please pos the output of the following command
Code: Select all
rpm -qa|sort|grep ^kernel

and please NOT as a screenshot but copy&paste the text, using code tags as explained in ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogv

Re: virtualbox guest additions

PostPosted: May 5th, '16, 16:00
by shadows
Code: Select all
kernel-desktop-3.19.8-3.mga5-1-1.mga5
kernel-desktop-4.1.15-2.mga5-1-1.mga5
kernel-desktop-4.4.6-1.mga5-1-1.mga5
kernel-desktop-devel-3.19.8-3.mga5-1-1.mga5
kernel-desktop-devel-4.1.15-2.mga5-1-1.mga5
kernel-desktop-devel-latest-4.1.15-2.mga5
kernel-desktop-latest-4.1.15-2.mga5
kernel-firmware-20160219-1.mga5
kernel-firmware-nonfree-20160311-1.mga5.nonfree
kernel-userspace-headers-4.4.7-1.mga5

Re: virtualbox guest additions

PostPosted: May 5th, '16, 16:10
by doktor5000
shadows wrote:
Code: Select all
kernel-desktop-4.4.6-1.mga5-1-1.mga5
kernel-userspace-headers-4.4.7-1.mga5


You installed testing packages - the last package is your problem, it also needs to match the running kernel and the -devel package. This is what it should look like, for the current kernel:
Code: Select all
[doktor5000@Mageia5]─[16:08:56]─[~] rpm -qa|sort|grep ^kernel| grep '4.1.15-2'
kernel-desktop-4.1.15-2.mga5-1-1.mga5
kernel-desktop-devel-4.1.15-2.mga5-1-1.mga5
kernel-desktop-devel-latest-4.1.15-2.mga5
kernel-desktop-latest-4.1.15-2.mga5
kernel-userspace-headers-4.1.15-2.mga5

Re: virtualbox guest additions

PostPosted: May 5th, '16, 16:23
by shadows
thanks doktor5000 but where do i get the suitable package from ?
version 4.4.7 is the only one available in the drakrpm

Re: virtualbox guest additions

PostPosted: May 5th, '16, 18:17
by jkerr82508
The following should work:

Disable all testing and backports repositories and remove kernel-desktop-4.4.6-1.
Then as root in a terminal
Code: Select all
urpmi --downgrade kernel-userspace-headers

Jim

Re: virtualbox guest additions

PostPosted: May 5th, '16, 18:48
by doktor5000
jkerr82508 wrote:Then as root in a terminal
Code: Select all
urpmi --downgrade kernel-userspace-headers


I don't think this will work, for --downgrade you need to specify explicitly to which version/release you want to downgrade to,
there's no automatism to downgrade to the most recent previous version like with e.g. yum. This should do it, but can't test currently, not at a Mageia box right now:
Code: Select all
urpme kernel-desktop-4.4.6-1.mga5-1-1.mga5
urpmi --downgrade kernel-userspace-headers-4.1.15-2.mga5

Re: virtualbox guest additions

PostPosted: May 5th, '16, 20:45
by jkerr82508
I think it would not be necessary to declare the target version, if the testing repo's were disabled, as I suggested:
https://bugs.mageia.org/show_bug.cgi?id=6655#c14

Code: Select all
# urpmi --downgrade kernel-userspace-headers
The following package has to be removed for others to be upgraded:
kernel-userspace-headers-4.4.6-1.mga5.x86_64
 (in order to install kernel-userspace-headers-4.1.15-2.mga5.x86_64) (y/N)

Jim