germinate-update-metapackage: wrong handling of seed duplicates

Bug #1905987 reported by Paride Legovini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
germinate (Ubuntu)
Fix Released
Undecided
Paride Legovini

Bug Description

When generating the d/changelog entries germinate-update-metapackage compares the "old" (pre-update) dependencies to the "new" ones, and checks if packages have been added or removed. However if a package is seeded more than once, it will always appear as an "added" dependency, even if already present in the "old" dependencies, and no actual change is made.

This is due to the fact that germinate_update_metapackage.py stores the "old" dependencies in a set (duplicates not allowed), and "new" dependencies in a list (duplicates allowed).

For an actual case where this was hit see:

https://code.launchpad.net/~paride/ubuntu/+source/ubuntu-meta/+git/ubuntu-meta/+merge/394577

Also see how the changelog line

  * Added wpasupplicant to desktop-raspi

appears more than once in the ubuntu-meta changelog.

Related branches

Paride Legovini (paride)
Changed in germinate (Ubuntu):
assignee: nobody → Paride Legovini (paride)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package germinate - 2.36

---------------
germinate (2.36) unstable; urgency=medium

  [ Christian Ehrhardt ]
  * Improve ordering of rescued packages (LP: #1895106).

 -- Colin Watson <email address hidden> Mon, 25 Jan 2021 12:56:40 +0000

Changed in germinate (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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