[Pkg-virtualbox-devel] Bug#800077: virtualbox: Cannot install 5.0.4-dfsg-3 with just modules

Gianfranco Costamagna costamagnagianfranco at yahoo.it
Sun Oct 4 21:13:25 UTC 2015


Hi, do you mean changing this line from
Depends: adduser, ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}, virtualbox-dkms (>= ${source:Version}) | virtualbox-source (>= ${source:Version}) | virtualbox-modules (>= ${source:Version})


to 

Depends: adduser, ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}, virtualbox-dkms (>= ${source:Version}) | virtualbox-source (>= ${source:Version}) | virtualbox-modules

seems legit to me,

cheers,

G.





Il Domenica 4 Ottobre 2015 12:03, "candeb at free.fr" <candeb at free.fr> ha scritto:
Hi again,

Sorry, I should have thought about it earlier but only realised it when I still couldn't upgrade without the sources : Debian does not allow versioned dependencies on virtual package names.  In other words, if you put any version requirement on virtualbox-modules it will only accept a package actually named virtualbox-modules with an appropriate version, a "provides" will not be accepted.

Will you find it acceptable to remove the version constraints from the "virtualbox-modules" dependency ?  I think this would not change much from your point of view - a user who is competent enough to compile and install separate module packages would know what to do if virtualbox complains the installed modules are for an older version, no ?

Cheers,
I.



----- Mail original -----
De: "Gianfranco Costamagna" <costamagnagianfranco at yahoo.it>
À: candeb at free.fr
Cc: 800077 at bugs.debian.org, "Ritesh Raj Sarraf" <rrs at debian.org>
Envoyé: Lundi 28 Septembre 2015 09:00:13
Objet: Re: Bug#800077: virtualbox: Cannot install 5.0.4-dfsg-3 with just modules

Hi


>Thanks, but I beg to disagree : you need
>
>virtualbox-dkms OR virtualbox-source  ** OR virtualbox-modules **
>
>I compile modules on one machine and use them on several others.  Why force 
>me to install the module sources, kernel headers, and all the rest if I
>already have the compiled modules ?


sure, this is a perfectly valid use-case :)
http://anonscm.debian.org/cgit/pkg-virtualbox/virtualbox.git/commit/?id=41a45bc76907ad2921e4ad50fc6c1b8fba45fad4

committed, on git, can you please tell me if it works for you?


I also changed the dependency to >= instead of =, because the kernel modules should work even if from
other virtualbox versions.

(I'm specially thinking about getting a new dkms and keep an old virtualbox, just because the kernel has been upgraded)

@Ritesh, how do you feel about that commit?

cheers,

Gianfranco



More information about the Pkg-virtualbox-devel mailing list