virtualbox guest additions

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

virtualbox guest additions

Postby shadows » May 5th, '16, 05:48

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 .
Attachments
Selection_002.png
Selection_002.png (16.71 KiB) Viewed 2618 times
Selection_001.png
Selection_001.png (5.31 KiB) Viewed 2618 times
shadows
 
Posts: 22
Joined: Apr 3rd, '16, 13:27

Re: virtualbox guest additions

Postby jkerr82508 » May 5th, '16, 08:48

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
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: virtualbox guest additions

Postby shadows » May 5th, '16, 13:49

it is already installed any suggestions?
Attachments
Selection_004.png
Selection_004.png (8.05 KiB) Viewed 2592 times
Selection_003.png
Selection_003.png (2.53 KiB) Viewed 2592 times
shadows
 
Posts: 22
Joined: Apr 3rd, '16, 13:27

Re: virtualbox guest additions

Postby doktor5000 » May 5th, '16, 15:43

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
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: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: virtualbox guest additions

Postby shadows » May 5th, '16, 16:00

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
shadows
 
Posts: 22
Joined: Apr 3rd, '16, 13:27

Re: virtualbox guest additions

Postby doktor5000 » May 5th, '16, 16:10

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
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: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: virtualbox guest additions

Postby shadows » May 5th, '16, 16:23

thanks doktor5000 but where do i get the suitable package from ?
version 4.4.7 is the only one available in the drakrpm
shadows
 
Posts: 22
Joined: Apr 3rd, '16, 13:27

Re: virtualbox guest additions

Postby jkerr82508 » May 5th, '16, 18:17

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
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: virtualbox guest additions

Postby doktor5000 » May 5th, '16, 18:48

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
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: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: virtualbox guest additions

Postby jkerr82508 » May 5th, '16, 20:45

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
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest