[Mageia-dev] problem with obsoleting packages

Anssi Hannula anssi at mageia.org
Wed Feb 8 11:00:48 CET 2012


On 08.02.2012 07:31, Kamil Rytarowski wrote:
> Hello!
> 
> I've got problem with obsoleting some myspell packages.
> 
> $ rpm -qa|grep csb
> myspell-csb_CSB-1.0.2-30.mga1
> hunspell-csb-0.20050311.1-7.mga2
> 
> $ urpmq --provides myspell-csb_CSB
> myspell-pl[== 1.0.2-30.mga1]
> myspell-dictionary[== 1.0.2-30.mga1]
> enchant-dictionary[== 2]
> myspell-csb_CSB[== 1.0.2-30.mga1]
> 
> $ urpmq --provides hunspell-csb
> enchant-dictionary[== 2]
> hunspell-dictionary
> hunspell-csb_PL[== 0.20050311.1-7.mga2]
> dictionary-csb[== 2]
> dictionary-csb_PL[== 2]
> myspell-csb
> myspell-csb_CSB
> hunspell-csb[== 0.20050311.1-7.mga2]
> 
> 
> $ urpmq --obsoletes hunspell-csb
> myspell-csb[<= 1.0.2-30]
> myspell-csb_CSB[<= 1.0.2-30]
> 
> The obsoleting is working when I'm adding ending ".mga1.noarch". Where
> is the problem? Am I doing something wrong?

1.0.2-30.mga1 > 1.0.2-30 so it doesn't match the obsoletes.
Use
Obsoletes: myspell-csb_CSB < 1.0.2-31

-- 
Anssi Hannula


More information about the Mageia-dev mailing list