[Mageia-dev] problem with obsoleting packages

Kamil Rytarowski n54 at gmx.com
Wed Feb 8 14:55:23 CET 2012


On 08.02.2012 09:09, D.Morgan wrote:
> On Wed, Feb 8, 2012 at 6:31 AM, Kamil Rytarowski<n54 at gmx.com>  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?
> I commited a fix on svn that works on my machine, i tested:
>
> ->  Previous rpm didn't removed myspell
> ->  New one replace it by hunspell
Than you, I will apply this change to the other packages.
>
> Btw myspell-csb_CSB installed locale-pl but  hunspell-csb didn't. Is
> it intended ?
Yes, it is. Dictionaries are just simple text files, and there is 
absolutely no need for locales.


More information about the Mageia-dev mailing list