needs to try promoting alternatives before adding new packages to output

Bug #271309 reported by Colin Watson
22
Affects Status Importance Assigned to Milestone
germinate (Ubuntu)
Fix Released
High
Colin Watson
Intrepid
Fix Released
High
Colin Watson

Bug Description

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).

Tags: iso-testing
Colin Watson (cjwatson)
Changed in germinate:
assignee: nobody → kamion
importance: Undecided → High
status: New → Triaged
Revision history for this message
Colin Watson (cjwatson) wrote :

Actually, even this isn't quite right. The problem seems to be that, when faced with a dependency relation such as "Recommends: usplash-theme-ubuntu | usplash-theme", it doesn't try promoting each of the alternatives before adding new packages to the output.

Colin Watson (cjwatson)
description: updated
Changed in germinate:
milestone: none → ubuntu-8.10-beta
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package germinate - 1.9

---------------
germinate (1.9) unstable; urgency=low

  * Fix fallback from .bz2 files when OSError is raised.
  * Try promoting alternative dependencies before adding new packages to the
    output. While the first dependency in an |-ed list may be promoted from
    any lesser seed, doing this for all alternatives produces pathological
    output, so instead we only promote from "close-by" lesser seeds, i.e.
    those that list the current seed in a Task-Seeds header (LP: #271309).

germinate (1.8) unstable; urgency=low

  [ Evan Dandrea ]
  * Fix -S example to use file:// where the rest of the documentation says
    you should (LP: #264471).

  [ Colin Watson ]
  * Prefer Packages.bz2 and Sources.bz2 to .gz if possible; if neither
    works, fall back to the uncompressed files.

 -- Colin Watson <email address hidden> Fri, 19 Sep 2008 02:00:38 +0100

Changed in germinate:
status: Fix Committed → Fix Released
tags: added: iso-testing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.