Re: Virtual provides and/or conflicts for alternate sets of packages

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

 



 >Maybe in dnf docs? I don't really know.

My attempt to search for it was not successful.
Gemini keeps citing non-existing Fedora Packaging Guidelines pages, DNF5 git repo pages.

It seems like it was described sometime before, maybe, because this part was convincing:
A_FEW_MINUTES_LATER.GIF
image.png
image.png
.....


Later after I strictly forbid it listing any links if response is 404, and best thing it came up with was "So yeah feature exists, you can see for yourself, it is in spec files of some packages such as python, therefore you can take it as official docs"

So basically:
> those tribal-knowledge bits

>
Maybe this needs a documentation in the
>Fedora packaging guidelines. When to use it etc.

I thought I could look into it, but still not clear, is it a feature of rpm or dnf.
Gemini hints its DNF but, well, who can tell.

image.png




P.S. Wow, this is completely made up, it seems:
image.png
"link"

Thank you for tuning in for my presentation. Apologise for bunch of screenshots,
Andrei Radchenko



On Wed, Jul 23, 2025 at 1:57 PM Miro Hrončok <mhroncok@xxxxxxxxxx> wrote:
On 23. 07. 25 13:48, Jan Stanek wrote:
> On Wed, Jul 23, 2025 at 1:45 PM Miro Hrončok <mhroncok@xxxxxxxxxx> wrote:
>> I'd go with alternative-for(nodejs-bin). There's even code in dnf that will
>> tell you the options if you try to install nodejs-bin (unless the metapackage
>> is called that).
>>
>> You can try it out in RHEL 8. But the code made it to dnf5 as well [1].
>>
>>     $ mock -r rhel-8-x86_64 --dnf-cmd install python
>>     ...
>>     No match for argument: python
>>     There are following alternatives for "python": python2, python3.11,
>> python3.12, python36, python38, python39
>>
>> [1]
>> https://github.com/rpm-software-management/dnf5/blob/5.2.15.0/libdnf5/base/transaction.cpp#L294
>
> Nice! Now I'm glad that I asked, so I do not reinvent the wheel.
>
> Is the alternative-for(X) mentioned anywhere in docs, or is it one of
> those tribal-knowledge bits?

Maybe in dnf docs? I don't really know. Maybe this needs a documentation in the
Fedora packaging guidelines. When to use it etc.

--
Miro Hrončok
--
Phone: +420777974800
Fedora Matrix: mhroncok

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