[Bug 299685] Re: Poldek doesn't allow upgrading colored packages to no color ones

mis mis at pld-linux.org
Wed Oct 28 21:54:36 CET 2009


** Changed in: poldek
       Status: New => Fix Committed

-- 
Poldek doesn't allow upgrading colored packages to no color ones
https://bugs.launchpad.net/bugs/299685
You received this bug notification because you are subscribed to PLD
Linux.

Status in poldek: Fix Committed
Status in PLD Linux Distribution: Fix Released

Bug description:
poldek-0.30-0.20080820.23.3.x86_64 (th)

Excerpts from the trace run:

:    obs_filter() X11-libs-1:6.9.0-19.amd64 (c=2) colored like X11-libs-7.0.0-5.x86_64 (c=0) => no

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_upgrade_orphan() X11-libs-6.9.0-19.amd64 req: X11-common = 1:6.9.0-19 (satisfied=no)
:    select_successor() X11-libs-6.9.0-19.amd64 (c=2)
:      - 0. X11-libs-7.0.0-5.x86_64 -> color 0, score 0
:      select_successor() RET NULL (for X11-libs-6.9.0-19.amd64)

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


More information about the pld-bugs mailing list