Re: xml2rfc rpm

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

 



Patrick O'Callaghan wrote:
> On Mon, 2018-06-04 at 19:55 +0800, Ed Greshko wrote:
>> On 06/04/18 18:58, Patrick O'Callaghan wrote:
>>> On Sun, 2018-06-03 at 20:07 -0400, Robert Moskowitz wrote:
>>>> I see the following rpms in the repo:
>>>> 
>>>> # grep xml2rfc dnf.lst
>>>> python2-xml2rfc.noarch 2.5.2-4.fc28                    fedora
>>>> python3-xml2rfc.noarch 2.5.2-4.fc28                    fedora
>>>> 
>>>> yet:
>>>> 
>>>> # dnf install xml2rfc
>>>> Last metadata expiration check: 2:22:41 ago on Sun 03 Jun 2018 05:33:23 
>>>> PM EDT.
>>>> No match for argument: xml2rfc
>>>> Error: Unable to find a match
>>> 
>>> Shouldn't that be 'dnf install python3-xml2rfc'?
>> 
>> Yes.  But you have to admit that there are inconsistencies in the way things are done....
>> 
>> [root@f27k ~]# which tracer
>> /usr/bin/which: no tracer in
>> (/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
>> 
>> The available packages are...
>> 
>> python2-dnf-plugin-tracer.noarch         2.0.5-1.fc27                    updates
>> python2-tracer.noarch                    0.7.0-1.fc27                    updates
>> python3-dnf-plugin-tracer.noarch         2.0.5-1.fc27                    updates
>> python3-tracer.noarch                    0.7.0-1.fc27                    updates
>> tracer-common.noarch
>> 
>> No package named "tracer", yet....
>> 
>> [root@f27k ~]# dnf install tracer
>> Last metadata expiration check: 0:51:26 ago on Mon 04 Jun 2018 07:03:05 PM CST.
>> Dependencies resolved.
>> ===================================================================================
>>  Package                    Arch       Version                   Repository   Size
>> ===================================================================================
>> Installing:
>>  python3-tracer             noarch     0.7.0-1.fc27              updates     129 k
>> 
> [...]
> 
> Yes. 'dnf list tracer' and 'dnf info tracer' both show nothing, though
> 'dnf search tracer' does find it. There appears to be more than one
> 'name' associated with some packages and how this works is not clearly
> documented.

The manpage for dnf documents what the search command uses
to find results.  The important part is that "by default the
command will only look at package names and summaries,
failing that (or whenever ``all`` was given as an argument)
it will match against package descriptions and URLs."

That's why 'dnf search' finds results for tracer.

The reason that 'dnf install tracer' installs python3-tracer
is because python3-tracer has a 'Provides' tag for tracer.

There isn't a similar provides for 'xml2rfc' by name, but
you can install using the /usr/bin/xml2rfc 'Provides' with
'dnf install /usr/bin/xml2rfc'.  Using 'dnf provides
xml2rfc' shows that path-based 'Provides'.

-- 
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Many questions are unanswerable.
Many answers are questionable.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/UYX67JUR4GFE7ZRK4LYWNAVR7V7P2ZKK/
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux