Re: dnf error during upgrade that changes a directory into a symlink

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20.12.2016 13:25, Neal Gompa wrote:
> On Tue, Dec 20, 2016 at 7:20 AM, Tom Hughes <tom@xxxxxxxxxx> wrote:
>> On 20/12/16 12:15, Till Hofmann wrote:
>>
>>> I have a package that contains a subdirectory which is changed to a
>>> symlink in the next release. When I upgrade, I get the following error:
>>>
>>> Error: Transaction check error:
>>>   file /usr/share/symlinktest/dir/subdir from install of
>>> symlinktest-1-2.fc25.x86_64 conflicts with file from package
>>> symlinktest-1-1.fc25.x86_64
>>
>>
>> Replacing a directory needs special lua scriptlet hackery:
>>
>> https://fedoraproject.org/wiki/Packaging:Directory_Replacement
>>
> 
> I'm not completely sure about this, but I think using Obsoletes in the
> successive version is supposed make RPM handle "internal" file
> conflicts properly, too.
> 
> 

I tested this by adding: Obsoletes: symlinktest < 1-2
But I still get the same error, so I guess that doesn't work and the
scriptlet is really needed.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux