2008-09-17 13:38:10 |
Colin Watson |
description |
Binary package hint: germinate
Cody Somerville noticed that usplash-theme-ubuntu was being pulled into the Xubuntu desktop task (and indeed all flavours' desktop tasks), despite other usplash themes being seeded. I think this is because usplash is in the desktop-common seed now. Normally germinate promotes packages from "lesser" seeds (for this purpose, desktop is a lesser seed relative to desktop-common because it inherits from it) in preference to finding one for itself; however this doesn't work in this case because the dependency relation from usplash is on the usplash-theme virtual package and germinate doesn't consider this. It needs to. |
Cody Somerville noticed that usplash-theme-ubuntu was being pulled into the Xubuntu desktop task (and indeed all flavours' desktop tasks), despite other usplash themes being seeded. I think this is because usplash is in the desktop-common seed now. Normally germinate promotes packages from "lesser" seeds (for this purpose, desktop is a lesser seed relative to desktop-common because it inherits from it) in preference to finding one for itself; however this doesn't work in this case because the dependency relation from usplash is "Recommends: usplash-theme-ubuntu | usplash-theme", and germinate doesn't try promoting each of the alternatives (which would lead it to usplash-theme provided by xubuntu-artwork-usplash) before adding new packages (usplash-theme-ubuntu) to the output.
This needs to be handled delicately, as we can only promote packages from "close-by" seeds this way. If you try to do it across the board, you end up with debconf-english getting promoted all the way from supported-development up to required! Seeding debconf-i18n in required would work around this but is far too big a hammer; it's better to make germinate be more subtle. I opted for promoting non-preferred alternatives only if they're in a seed that's generating the same task (which is the relationship desktop has to desktop-common). |
|