Re: Strange rpm conflicts

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

 



On Tue, Jul 29, 2025 at 4:16 PM Jos de Kloe <josdekloe@xxxxxxxxx> wrote:
>
> Hi,
>
> as suggested on this Directory_Replacement page I tried to solve this
> problem by adding a little lua scriptlet.
> Unfortunately it seems not to work for me so I must be missing some
> details here.

You aren't missing anything. The scriptlet doesn't work, as the
transaction is checked by dnf before rpm scriptlets even happen. The
best workaround is to just _not_ change directories to symlinks or
vice versa. How to actually do that depends on the package, though.
Given the recent Change Proposal to hard-link duplicate files, maybe
the simplest option is to just make the symlinks into duplicate
directory copies.

I don't know why that documentation page still exists; I've never been
able to get it to work as documented, and it's been that way for a
long time:
https://pagure.io/packaging-committee/issue/1139

> I documented my current attempts on bugzilla:
> https://bugzilla.redhat.com/show_bug.cgi?id=2384303
>
> Any hints how to proceed would be appreciated.
>
> Jos
>
> On 7/29/25 1:50 PM, Karolina Surma wrote:
> > On 7/29/25 13:33, Jos de Kloe wrote:
> >> As these symlinks have been generated by an earlier install of the
> >> same package, an upgrade should be able to replace them I think.
> >> So this seems an rpm bug to me.
> >>
> >> Is there anything I can do as eccodes packager to fix this?
> >>
> >
> > Hi,
> >
> > It looks like a case described here: https://docs.fedoraproject.org/en-
> > US/packaging-guidelines/Directory_Replacement/
> >
> > Cheers,
> > Karolina
> >
>

-- 
Elliott
-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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