xml2rfc rpm

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

xml2rfc rpm

Robert Moskowitz
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

And anyway this is old, as I have xml2rfc-2.6.1.tar.gz from back last
August.

The IETF page: https://tools.ietf.org/tools/

says

There's a tutorial available on how to install from PyPi, or if you're
impatient you can try the following commands on the command line:
   pip install xml2rfc
if that fails:
   easy_install pip
   pip install xml2rfc
if that fails, go to the tutorial above.


What is the recommended way to install this?  I got to get working on a
BUNCH of drafts this week....

thanks
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
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@.../message/DV27BFFDZK526FTHEHTZX7HU7YX3NXGO/
Reply | Threaded
Open this post in threaded view
|

Done - Re: xml2rfc rpm

Robert Moskowitz
 From the xml2rfc list:

pip install xml2rfc

And that got me the latest version.



On 06/03/2018 08:07 PM, 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
>
> And anyway this is old, as I have xml2rfc-2.6.1.tar.gz from back last
> August.
>
> The IETF page: https://tools.ietf.org/tools/
>
> says
>
> There's a tutorial available on how to install from PyPi, or if you're
> impatient you can try the following commands on the command line:
>   pip install xml2rfc
> if that fails:
>   easy_install pip
>   pip install xml2rfc
> if that fails, go to the tutorial above.
>
>
> What is the recommended way to install this?  I got to get working on
> a BUNCH of drafts this week....
>
> thanks
> _______________________________________________
> users mailing list -- [hidden email]
> To unsubscribe send an email to [hidden email]
> 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@.../message/DV27BFFDZK526FTHEHTZX7HU7YX3NXGO/
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
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@.../message/DY3LZNSTM6WM4AQQZIW5HEGHGGJJBELS/
Reply | Threaded
Open this post in threaded view
|

Re: xml2rfc rpm

Ed Greshko-2
In reply to this post by Robert Moskowitz
On 06/04/18 08:07, 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
>
> And anyway this is old, as I have xml2rfc-2.6.1.tar.gz from back last August.
>
> The IETF page: https://tools.ietf.org/tools/
>
> says
>
> There's a tutorial available on how to install from PyPi, or if you're impatient
> you can try the following commands on the command line:
>   pip install xml2rfc
> if that fails:
>   easy_install pip
>   pip install xml2rfc
> if that fails, go to the tutorial above.
>
>
> What is the recommended way to install this?  I got to get working on a BUNCH of
> drafts this week....
[egreshko@meimei ~]$ dnf whatprovides *bin/xml2rfc
Last metadata expiration check: 11 days, 20:43:30 ago on Wed 23 May 2018 11:52:41 AM CST.
python3-xml2rfc-2.5.2-4.fc28.noarch : The python3 tools to convert IETF RFC-2629
                                    : XML into txt format
Repo        : fedora
Matched from:
Other       : *bin/xml2rfc

Are you saying version 2.5.2 is too old for you to use?

If so, then use the pip install method (maybe use --user option) which will install
xml2rfc 2.9.6.

Or, use the online tool?  https://xml2rfc.tools.ietf.org/


--
Conjecture is just a conclusion based on incomplete information. It isn't a fact.

_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
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@.../message/RYR6FLIW4U267BGMXBMBOFDTIIR75OHO/

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: xml2rfc rpm

Robert Moskowitz
Ed,

On 06/03/2018 08:42 PM, Ed Greshko wrote:

> On 06/04/18 08:07, 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
>>
>> And anyway this is old, as I have xml2rfc-2.6.1.tar.gz from back last August.
>>
>> The IETF page: https://tools.ietf.org/tools/
>>
>> says
>>
>> There's a tutorial available on how to install from PyPi, or if you're impatient
>> you can try the following commands on the command line:
>>    pip install xml2rfc
>> if that fails:
>>    easy_install pip
>>    pip install xml2rfc
>> if that fails, go to the tutorial above.
>>
>>
>> What is the recommended way to install this?  I got to get working on a BUNCH of
>> drafts this week....
> [egreshko@meimei ~]$ dnf whatprovides *bin/xml2rfc
> Last metadata expiration check: 11 days, 20:43:30 ago on Wed 23 May 2018 11:52:41 AM CST.
> python3-xml2rfc-2.5.2-4.fc28.noarch : The python3 tools to convert IETF RFC-2629
>                                      : XML into txt format
> Repo        : fedora
> Matched from:
> Other       : *bin/xml2rfc
>
> Are you saying version 2.5.2 is too old for you to use?

Lots of important changes from that version.

> If so, then use the pip install method (maybe use --user option) which will install
> xml2rfc 2.9.6.

Got that.

> Or, use the online tool?  https://xml2rfc.tools.ietf.org/

Did this for years, but finally moved to the local installed version. 
It is faster plus I can work on an airplane...

Again, thanks.

_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
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@.../message/SZYSXTIBUYAQQBTZ7IQYJLAAQDILKIIL/
Reply | Threaded
Open this post in threaded view
|

Re: xml2rfc rpm

Patrick O'Callaghan
In reply to this post by Robert Moskowitz
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'?

poc
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
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@.../message/RVVAONZT2OQDNIPIYKUTT4ZJFLOKTD2L/
Reply | Threaded
Open this post in threaded view
|

Re: xml2rfc rpm

Ed Greshko
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
Installing dependencies:
 python3-beautifulsoup4     noarch     4.6.0-2.fc27.1            updates     177 k
 python3-future             noarch     0.16.0-5.fc27             fedora      772 k
 python3-lxml               x86_64     4.1.1-1.fc27              updates     1.4 M
 python3-psutil             x86_64     5.4.3-2.fc27              updates     371 k
 python3-webencodings       noarch     0.5.1-3.fc27              fedora       25 k
 tracer-common              noarch     0.7.0-1.fc27              updates      31 k
Installing weak dependencies:
 python3-cssselect          noarch     0.9.2-5.fc27              fedora       39 k
 python3-html5lib           noarch     1:0.999999999-3.fc27      fedora      213 k

Transaction Summary
===================================================================================
Install  9 Packages

Total download size: 3.1 M
Installed size: 12 M


--
Conjecture is just a conclusion based on incomplete information. It isn't a fact.

_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
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@.../message/OD5GSP72XAZKA4JFQEWR5V4L7JSZZTOD/

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: xml2rfc rpm

Patrick O'Callaghan
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.

(BTW I don't quite see how 'which' is telling you what packages are
available. Is this some non-default setting? I use 'dnf search' for
that).

poc
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
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@.../message/S7P2HY6QBOGXBL35VPSVQNF44BE6O4SN/
Reply | Threaded
Open this post in threaded view
|

Re: xml2rfc rpm

Robert Moskowitz
In reply to this post by Ed Greshko


On 06/04/2018 07:55 AM, 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....

Exactly.  After my experience with tracer, I kind of expected xml2rfc to work the same way...


[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
Installing dependencies:
 python3-beautifulsoup4     noarch     4.6.0-2.fc27.1            updates     177 k
 python3-future             noarch     0.16.0-5.fc27             fedora      772 k
 python3-lxml               x86_64     4.1.1-1.fc27              updates     1.4 M
 python3-psutil             x86_64     5.4.3-2.fc27              updates     371 k
 python3-webencodings       noarch     0.5.1-3.fc27              fedora       25 k
 tracer-common              noarch     0.7.0-1.fc27              updates      31 k
Installing weak dependencies:
 python3-cssselect          noarch     0.9.2-5.fc27              fedora       39 k
 python3-html5lib           noarch     1:0.999999999-3.fc27      fedora      213 k

Transaction Summary
===================================================================================
Install  9 Packages

Total download size: 3.1 M
Installed size: 12 M




_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
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@.../message/OD5GSP72XAZKA4JFQEWR5V4L7JSZZTOD/


_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
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@.../message/7KW7GIFHYOYSGGNDGBZDFEKX2U4TOUTW/
Reply | Threaded
Open this post in threaded view
|

Re: xml2rfc rpm

Robert Moskowitz
In reply to this post by Ed Greshko


On 06/04/2018 07:55 AM, 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....

And further, how does one figure out to use the python2 or python3 rpm?  That almost seems like something that one would need to know if this was not controlled by some script or other.


[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
Installing dependencies:
 python3-beautifulsoup4     noarch     4.6.0-2.fc27.1            updates     177 k
 python3-future             noarch     0.16.0-5.fc27             fedora      772 k
 python3-lxml               x86_64     4.1.1-1.fc27              updates     1.4 M
 python3-psutil             x86_64     5.4.3-2.fc27              updates     371 k
 python3-webencodings       noarch     0.5.1-3.fc27              fedora       25 k
 tracer-common              noarch     0.7.0-1.fc27              updates      31 k
Installing weak dependencies:
 python3-cssselect          noarch     0.9.2-5.fc27              fedora       39 k
 python3-html5lib           noarch     1:0.999999999-3.fc27      fedora      213 k

Transaction Summary
===================================================================================
Install  9 Packages

Total download size: 3.1 M
Installed size: 12 M




_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
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@.../message/OD5GSP72XAZKA4JFQEWR5V4L7JSZZTOD/


_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
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@.../message/6POGXHPDGXWABKJNCGJGE5MN3Q54OK5X/
Reply | Threaded
Open this post in threaded view
|

Re: xml2rfc rpm

Ed Greshko
In reply to this post by Patrick O'Callaghan
On 06/04/18 20:15, Patrick O'Callaghan wrote:
> (BTW I don't quite see how 'which' is telling you what packages are
> available. Is this some non-default setting? I use 'dnf search' for
> that).


I doesn't.  Bad formatting on my part.  Sorry for the confusion.

--
Conjecture is just a conclusion based on incomplete information. It isn't a fact.


_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
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@.../message/4KOBT7XXD2E5YAHAXSE7KBFMDXXPLGF2/

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: xml2rfc rpm

Patrick O'Callaghan
On Mon, 2018-06-04 at 20:58 +0800, Ed Greshko wrote:
> On 06/04/18 20:15, Patrick O'Callaghan wrote:
> > (BTW I don't quite see how 'which' is telling you what packages are
> > available. Is this some non-default setting? I use 'dnf search' for
> > that).
>
>
> I doesn't.  Bad formatting on my part.  Sorry for the confusion.

OK, no problem.

poc
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
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@.../message/WVGOAFJKVHBWTXFO532GR7EU7P4OTTRZ/
Reply | Threaded
Open this post in threaded view
|

Re: xml2rfc rpm

Todd Zullinger
In reply to this post by Patrick O'Callaghan
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.


_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
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@.../message/UYX67JUR4GFE7ZRK4LYWNAVR7V7P2ZKK/

signature.asc (555 bytes) Download Attachment