Binary package hint: virtualbox-ose
On Ubuntu Hardy alpha 4:
When installing virtualbox-ose with aptitude, it installs the -386 kernel image unnecessarily and virtualbox-ose-modules-2.6.24-5-386 instead of the -generic one.
virtualbox-ose-modules has been a virtual package, provided by all the different flavours of the module (-386, -generic, ..). But apt fails to find the "best path" when selecting a package: it seems to always chose the -386 one, although using the -generic one would have to pull less dependencies in (in particular the linux-image-386).
Also when using real meta packages (instead of virtual packages), the problem persist.
Is this a packaging problem with virtualbox-ose-modules or is apt missing the expected feature? Is there a way to provide better hinting?
WORKAROUND: Install the virtualbox-ose-modules-$flavor package manually, e.g.:
$ sudo apt-get install virtualbox-ose-modules-generic virtualbox-ose
(AppArmor seems to be affected by a similar/the same issue, see bug 148586)