Poldek doesn't allow upgrading colored packages to no color ones
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
poldek |
Fix Committed
|
Undecided
|
Unassigned | ||
PLD Linux |
Fix Released
|
High
|
Unassigned | ||
Bug Description
poldek-
Excerpts from the trace run:
: obs_filter() X11-libs-
Here it marks the upgrade as cross-arch due to new package not providing any 64-bit ELF objects (the old one had two libs and hence the color 2).
: try_to_
: select_successor() X11-libs-
: - 0. X11-libs-
: select_successor() RET NULL (for X11-libs-
Here it checks for the viable upgrade paths and obviously treats color 0 as an incompatible arch to color 2.
IMHO poldek should allow any color → no-color and no-color → color upgrades (as long as all resulting packages are architecturally compatible).
Changed in poldek: | |
status: | New → Fix Committed |
The following patch allows upgrades from or to color=0 packages.
Quoting Jeff:
01:37:42 jbj_> colored dependencies can only be matched by same color or color 0.
01:38:22 jbj_> 1 == elf32, 2 == elf64
01:39:12 jbj_> 0 <-> 2 should switch fine. 1 <-> 2 is what makes no sense.