[arch-general] New Conflict on System Upgrade - license? pear? vi?

Allan McRae allan at archlinux.org
Tue Jun 23 02:56:26 EDT 2009


David C. Rankin wrote:
> On Saturday 20 June 2009 06:55:24 pm Thomas Bächler wrote:
>   
>> David C. Rankin schrieb:
>>     
>>> Listmates,
>>>
>>> 	Here are some strange conflicts found during an attempted system update. 
>>> Thankfully they are limited to the license package, pear and vi:
>>>
>>> (269/269) checking for file conflicts               
>>> [#################################################] 100%
>>> error: could not prepare transaction                                                                        
>>> error: failed to commit transaction (conflicting files)                                                     
>>> licenses: /usr/share/licenses/common/FDL exists in filesystem                                               
>>> licenses: /usr/share/licenses/common/GPL exists in filesystem                                               
>>> licenses: /usr/share/licenses/common/GPL2/license.txt exists in filesystem                                  
>>> licenses: /usr/share/licenses/common/LGPL exists in filesystem                                              
>>>       
>> This is a pacman bug where it finds false conflicts when there is a 
>> symlink to a directory in the old package and a directory in the new one 
>> (or the other way around, I don't remember).
>> I thought the package was supposed to be fixed, but apparently it 
>> wasn't. -Sf licenses.
>>
>>     
>>> php: /usr/share/pear/.registry/xml_util.reg exists in filesystem                                            
>>>       
>> [...]
>>
>> No idea about php.
>>
>>     
>>> vi: /usr/bin/view exists in filesystem                                                                      
>>>       
>> I had this more than once, no idea what causes it, but you can simply rm 
>> /usr/bin/view and then update.
>>
>>     
>>> 	I guess these are left overs from the earlier forced kde-unstable install. 
>>>       
>> I don't think that is the case.
>>
>>     
>>> I'll try an uninstall of the packages and then a reinstall and see how it 
>>> goes...
>>>       
>> That should work, too.
>>
>>
>>     
>
> 	For the license package, I just uninstalled it, and it reinstalled without issue. For all the pear packages, pacman said nobody owned them and that pear wasn't installed. I just created a temporary directory and moved all the conflicting pear packages to the temp directory (with their original directory structure in place in case I needed to restore them) and then did the system update again and it worked fine.
>   

Already done.

man pacman.conf:
       UseDelta
           Download delta files instead of complete packages if possible.
           Requires the xdelta program to be installed.






More information about the arch-general mailing list