change-override.py -S doesn't move binaries with different names from source

Bug #138620 reported by Colin Watson
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Celso Providelo

Bug Description

lp_archive@drescher:~$ m -s gutsy -S partman-crypto
partman-crypto | 21 | gutsy/universe | source
partman-crypto | 21 | gutsy/universe/debian-installer | amd64, i386, ia64, lpia, powerpc, sparc
partman-crypto-dm | 21 | gutsy/universe/debian-installer | all
partman-crypto-loop | 21 | gutsy/universe/debian-installer | all

lp_archive@drescher:~$ change-override.py -c main -S partman-crypto
12:16:47 INFO Override Component to: 'main'
12:16:47 INFO 'partman-crypto/main/debian-installer' source overridden
12:16:47 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/amd64
12:16:47 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/i386
12:16:47 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/ia64
12:16:47 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/lpia
12:16:47 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/powerpc
12:16:47 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/sparc
12:16:47 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/amd64
12:16:47 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/i386
12:16:47 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/ia64
12:16:47 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/lpia
12:16:47 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/powerpc
12:16:47 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/sparc
12:16:47 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/amd64
12:16:47 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/hppa
12:16:47 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/i386
12:16:47 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/ia64
12:16:47 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/lpia
12:16:47 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/powerpc
12:16:47 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/sparc
12:16:47 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/amd64
12:16:47 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/hppa
12:16:47 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/i386
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/ia64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/lpia
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/powerpc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/sparc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/amd64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/hppa
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/i386
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/ia64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/lpia
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/powerpc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/sparc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/amd64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/hppa
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/i386
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/ia64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/lpia
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/powerpc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/sparc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/amd64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/hppa
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/i386
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/ia64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/lpia
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/powerpc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/sparc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/amd64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/hppa
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/i386
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/ia64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/lpia
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/powerpc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/sparc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/amd64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/hppa
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/i386
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/ia64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/lpia
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/powerpc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/sparc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/amd64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/hppa
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/i386
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/ia64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/lpia
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/powerpc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/sparc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/amd64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/hppa
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/i386
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/ia64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/lpia
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/powerpc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/sparc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/amd64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/hppa
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/i386
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/ia64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/lpia
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/powerpc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/sparc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/amd64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/hppa
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/i386
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/ia64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/lpia
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/powerpc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/sparc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/amd64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/hppa
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/i386
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/ia64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/lpia
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/powerpc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/sparc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/amd64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/hppa
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/i386
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/ia64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/lpia
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/powerpc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/sparc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/amd64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/hppa
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/i386
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/ia64
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/lpia
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/powerpc
12:16:48 INFO 'partman-crypto/universe/debian-installer/STANDARD' binary overridden in gutsy/sparc
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/amd64
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/i386
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/ia64
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/lpia
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/powerpc
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/sparc
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/amd64
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/i386
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/ia64
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/lpia
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/powerpc
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/sparc
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/amd64
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/i386
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/ia64
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/lpia
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/powerpc
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/sparc
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/amd64
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/i386
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/ia64
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/lpia
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/powerpc
12:16:48 INFO 'partman-crypto/universe/debian-installer/OPTIONAL' binary overridden in gutsy/sparc
12:16:48 INFO Commiting transaction, changes will be visible after next publisher run.

Note that this fails to move partman-crypto-dm and partman-crypto-loop. Also, why does it list each binary no fewer than 20 times, 14 with priority standard (correct) and 6 with priority optional (incorrect)? Something is badly wrong here.

Tags: lp-soyuz
Revision history for this message
Celso Providelo (cprov) wrote :

Right, '-S' is half-broken, it overrides more than necessary and logs the given sourcename instead of the binarynames in batch. The end result should be the expected although it puts a lot of cruft in the binary publishing table.

Changed in soyuz:
assignee: nobody → cprov
importance: Undecided → Critical
status: New → In Progress
Revision history for this message
Celso Providelo (cprov) wrote :

RF 4864

Changed in soyuz:
status: In Progress → Fix Committed
Revision history for this message
Celso Providelo (cprov) wrote :

Code released and tested in drescher.

Changed in soyuz:
status: Fix Committed → 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.