Bug 151

Summary: I can't install virtualbox AND virtualbox-guest-additions
Product: Mageia Reporter: Bernard SIAUD <liste>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: yleny
Version: CauldronKeywords: Triaged
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: dkms-vboxadditions-4.0.2-4.mga1.x86_64 and virtualbox-guest-additions-4.0.2-4.mga1.x86_64 CVE:
Status comment:

Description Bernard SIAUD 2011-02-22 14:44:05 CET
Description of problem:

I can't install virtualbox AND virtualbox-guest-additions.

Sorry My computer speak in french...

If I install virtualbox, my computer said :
# urpmi virtualbox
Afin de poursuivre la mise à jour, les paquetages suivants doivent être désinstallés :
dkms-vboxadditions-4.0.2-4.mga1.x86_64
 (en raison de conflit avec dkms-virtualbox)
virtualbox-guest-additions-4.0.2-4.mga1.x86_64
 (en raison du manque de kmod(vboxguest),
  en raison du manque de kmod(vboxvideo),
  en raison du manque de kmod(vboxsf)) (o/N) o
Pour satisfaire les dépendances, les paquetages suivants vont être installés :
   Paquetage                      Version      Révision      Arch   
(média « Core Release (distrib1) »)
  dkms-virtualbox                4.0.2        4.mga1        x86_64  
  virtualbox                     4.0.2        4.mga1        x86_64  
un espace additionnel de 52Mo sera utilisé.


If I install virtualbox-guest-additions :
The computer said
Afin de poursuivre la mise à jour, les paquetages suivants doivent être désinstallés :
dkms-virtualbox-4.0.2-4.mga1.x86_64
 (en raison de conflit avec dkms-vboxadditions)
virtualbox-4.0.2-4.mga1.x86_64
 (car kmod(vboxdrv) == 4.0.2 est non satisfait)


Reproducible: 

Steps to Reproduce:
Comment 1 James Kerr 2011-02-22 15:11:46 CET
The guest-additions package should only be installed in a linux guest. The virtualbox package is installed in the host.

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 2 Ahmad Samir 2011-02-22 16:07:47 CET
You can't have both dkms-virtualbox and dkms-vboxadditions installed at the same time because the kernel modules export the same symbols (c.f. http://packages.debian.org/changelogs/pool/main/v/virtualbox-ose/virtualbox-ose_3.2.12-dfsg-1/changelog
).

The point is, it doesn't make sense to have both virtualbox and virtualbox-guest-additions installed at the same time, you only need virtualbox-guest-additions inside a guest OS, not on the host at all.

Keywords: (none) => Triaged

Comment 3 James Kerr 2011-02-22 17:05:59 CET
It occurs to me that reporter may be trying to install vbox within a vbox VM. That is not officially supported, although it may be possible in some circumstances:

http://forums.virtualbox.org/viewtopic.php?f=1&t=20589
Comment 4 Ahmad Samir 2011-02-23 19:45:07 CET
It's true, there're some special cases where a user may want to install/use both guest kernel modules, I just don't see a way of doing that without the modules breaking each other in vbox-4.0.x. This http://forums.virtualbox.org/viewtopic.php?p=175184#p175184 confirms that a hacky workaround is needed (that can't be done on the packaging level)...
Comment 5 Ahmad Samir 2011-04-18 01:54:52 CEST
*** Bug 870 has been marked as a duplicate of this bug. ***

CC: (none) => yleny

Comment 6 Ahmad Samir 2011-04-25 21:15:52 CEST
Since the upstream bug has been fixed with virtualbox-4.0.6: http://www.virtualbox.org/ticket/5686
the conflicts between the two dkms packages has been removed for versions >= 4.0.6. So now you can have both dkms- package installed at the same time.

N.B. virtualbox-4.0.6 is in core/updates_testing for now.

Status: RESOLVED => REOPENED
Resolution: INVALID => (none)

Comment 7 Ahmad Samir 2011-05-05 19:29:09 CEST
virtualbox-4.0.6 is in core/release now.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED