urpmi doesn't uninstall foo if it is obsoleted with "Obsoletes: foo <= [last version]" It works fine if it is obsoleted with "Obsoletes: foo < [last version + 1]" I'm saying this in general, because wally reported having seen this, too.
and of course this is about when doing urpmi bar and bar should obsolete foo
Care to provides an example?
Keywords: (none) => NEEDINFO
(In reply to Thierry Vignaud from comment #2) > Care to provide an example? With packages built from (1) http://waesvanm.home.xs4all.nl/Packaging/Bug10659/ttx.spec and (2) http://waesvanm.home.xs4all.nl/Packaging/ttx.spec "urpmi ttx-0.0.2-1.mga4.<ARCH>.rpm" does not uninstall ttb-1.0.1-2.mga3.noarch if there is (1) "Obsoletes: ttb <= 1.0.1-2" in the spec file however (2) "Obsoletes: ttb < 1.0.1-3" works fine, ttb-1.0.1-2.mga3.noarch is uninstalled. Compare (1) waesvanm.home.xs4all.nl/Packaging/Bug10659/ttx-0.0.2-1.mga4.i586.rpm with (2) waesvanm.home.xs4all.nl/Packaging/ttx-0.0.2-1.mga4.i586.rpm
Keywords: NEEDINFO => (none)
Created attachment 4181 [details] Patch for null to test obsoletes Yes, I can reproduce this. Used current null pkg to create null2 (see attachment) which should obsolete null less or equal than current version. Installed null, uploaded null2 to my local repo and used 'urpmi --auto-select', but null2 doesn't get pulled. If I switch '<= 1:10-3' to '< 1:10-4', all works.
Well, as far as rpm is concerned, 1.0.1-2 < 1.0.1-2.mga3 Thus "Obsoletes: ttb <= 1.0.1-2" will obvioulsy NOT match the installed package
Status: NEW => RESOLVEDResolution: (none) => INVALID
(In reply to Thierry Vignaud from comment #5) > Well, as far as rpm is concerned, 1.0.1-2 < 1.0.1-2.mga3 > Thus "Obsoletes: ttb <= 1.0.1-2" will obvioulsy NOT match the installed > package Ah, thanks! Does that also mean that <quote>Also make sure that the Cauldron package has an higher release than the Mageia 3 package.</quote> in https://wiki.mageia.org/en/Mgarepo was (and is) nonsense?
No it's not. But it can be: - either 1.0.1-2.mga3 < 1.0.1-2.mga4 - or 1.0.1-2.mga3 < 1.0.1-18.mga4
Thanks again, Thierry, I understand now