Re: Strange rpm conflicts

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

 



On Tue, Jul 29, 2025 at 10:38 PM Elliott Sales de Andrade
<quantum.analyst@xxxxxxxxx> wrote:
>
> 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

As I understand it, some behaviour of dnf changed a few years ago,
which made the approach documented in the Packaging Guidelines
("Directory_Replacement" page) no longer work.

So there's currently no really good / documented way to handle this case.
(And we should remove the docs for things that no longer work, I agree.)

Fabio
-- 
_______________________________________________
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