Bug 1757000 - xmlstarlet missing in EPEL8
Summary: xmlstarlet missing in EPEL8
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: xmlstarlet
Version: epel8
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Paul W. Frields
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-30 11:51 UTC by Olivier LAHAYE
Modified: 2022-11-30 16:37 UTC (History)
8 users (show)

Fixed In Version: xmlstarlet-1.6.1-11.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2122159 (view as bug list)
Environment:
Last Closed: 2019-11-27 01:03:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 25969 0 'None' closed build: python3 only for DEB and RPM 2020-07-27 15:16:44 UTC

Description Olivier LAHAYE 2019-09-30 11:51:27 UTC
Description of problem:

xmlstarlet is missing in EPEL8

As there is no alternative to this tool (validate or query xml files from cmdline), it's important to have it on EPEL-8

Comment 1 Alfredo Deza 2019-10-18 19:26:22 UTC
The Ceph project depends on this missing package for builds, we've had to install it directly from the commandline (!) as a workaround. Any progress on this would be greatly appreciated.

Comment 2 Fedora Update System 2019-11-09 20:02:11 UTC
FEDORA-EPEL-2019-3b10f1dd23 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-3b10f1dd23

Comment 3 Paul W. Frields 2019-11-09 20:02:59 UTC
@Brad, @Alfredo -- if you'd like to see this available sooner, please encourage people to test the update from the link above.

Comment 4 Brad Hubbard 2019-11-10 00:06:58 UTC
(In reply to Paul W. Frields from comment #3)
> @Brad, @Alfredo -- if you'd like to see this available sooner, please
> encourage people to test the update from the link above.

ACK. Thanks Paul.

Comment 5 Fedora Update System 2019-11-11 03:15:37 UTC
xmlstarlet-1.6.1-11.el8 has been pushed to the Fedora EPEL 8 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-3b10f1dd23

Comment 6 Gena 2019-11-15 14:43:41 UTC
Could you please provide this package in a UBI8 repo. We use the keycloak image from now based on ubi8 and need to adapt the xml configuration on image build. Thank you and kind regards, Gena

Comment 7 Paul W. Frields 2019-11-15 17:44:58 UTC
@Gena: Is there a reason a package in the EPEL 8 repository won't work for this purpose?

Comment 8 Gena 2019-11-19 08:01:54 UTC
(In reply to Paul W. Frields from comment #7)
> @Gena: Is there a reason a package in the EPEL 8 repository won't work for
> this purpose?

May be, but i only have 2 repositories available:

sh-4.4# dnf  repolist
repo id           repo name
ubi-8-appstream   Red Hat Universal Base Image 8 (RPMs) - AppStream
ubi-8-baseos      Red Hat Universal Base Image 8 (RPMs) - BaseOS


EPEL is not listed there

Comment 9 Fedora Update System 2019-11-27 01:03:39 UTC
xmlstarlet-1.6.1-11.el8 has been pushed to the Fedora EPEL 8 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Paul W. Frields 2019-12-03 01:41:32 UTC
Please refer to the UBI FAQ for info:
https://developers.redhat.com/articles/ubi-faq/#community

Comment 11 Gena 2019-12-05 09:10:00 UTC
(In reply to Paul W. Frields from comment #10)
> Please refer to the UBI FAQ for info:
> https://developers.redhat.com/articles/ubi-faq/#community

thank you for the hint, but it says nothing about, how to use the UBI8 image outside the playground: i prefer to install my packages from approved repos. The simple enablement of EPEL via microdnf is not described. The only library to work with xml from the console is the xmlstarlet, so, in my opinion, it should be put into default repo just like it's done by alpine, debian, ubuntu...

Comment 12 Paul W. Frields 2019-12-06 16:28:23 UTC
To enable EPEL on UBI Standard or Multi-service, simply use the instructions at https://fedoraproject.org/wiki/EPEL and you can `yum install xmlstarlet`.

To enable with microdnf, you must create a suitable .repo file in your UBI environment. At a minimum:

[epel]
name=EPEL 8
baseurl=https://download.fedoraproject.org/pub/epel/8/Everything/x86_64
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8

And grab the GPG key from the epel-release source repo:

$ curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8 https://src.fedoraproject.org/rpms/epel-release/raw/epel8/f/RPM-GPG-KEY-EPEL-8

You can then `microdnf install xmlstarlet`.

Comment 13 Shailesh 2022-08-29 08:12:22 UTC
We are facing an issue again with rockylinux:8.6 container image. 

Steps followed are as below - 

1. Create a container from rockylinux:8.6 

[root@ssc-vm-rhev4-0707 ~]# docker run --rm -it rockylinux:8.6

2. Enable powertools and install epel-release package 

[root@acb8441a9bb1 /]# dnf install dnf-plugin-config-manager -y ;dnf config-manager --set-enabled powertools
Rocky Linux 8 - AppStream                                                                                                                                9.2 MB/s | 9.6 MB     00:01
Rocky Linux 8 - BaseOS                                                                                                                                   4.1 MB/s | 6.7 MB     00:01
Rocky Linux 8 - Extras                                                                                                                                    28 kB/s |  11 kB     00:00
Dependencies resolved.
=========================================================================================================================================================================================
 Package                                                 Architecture                          Version                                       Repository                             Size
=========================================================================================================================================================================================
Installing:
 dnf-plugins-core                                        noarch                                4.0.21-11.el8                                 baseos                                 70 k
Installing dependencies:
 dbus-glib                                               x86_64                                0.110-2.el8                                   baseos                                126 k
 python3-dateutil                                        noarch                                1:2.6.1-6.el8                                 baseos                                250 k
 python3-dbus                                            x86_64                                1.2.4-15.el8                                  baseos                                133 k
 python3-dnf-plugins-core                                noarch                                4.0.21-11.el8                                 baseos                                239 k
 python3-six                                             noarch                                1.11.0-8.el8                                  baseos                                 37 k

Transaction Summary
=========================================================================================================================================================================================
Install  6 Packages

Total download size: 854 k
Installed size: 2.3 M
Downloading Packages:
(1/6): dnf-plugins-core-4.0.21-11.el8.noarch.rpm                                                                                                         268 kB/s |  70 kB     00:00
(2/6): dbus-glib-0.110-2.el8.x86_64.rpm                                                                                                                  430 kB/s | 126 kB     00:00
(3/6): python3-dbus-1.2.4-15.el8.x86_64.rpm                                                                                                              1.2 MB/s | 133 kB     00:00
(4/6): python3-dateutil-2.6.1-6.el8.noarch.rpm                                                                                                           656 kB/s | 250 kB     00:00
(5/6): python3-dnf-plugins-core-4.0.21-11.el8.noarch.rpm                                                                                                 2.0 MB/s | 239 kB     00:00
(6/6): python3-six-1.11.0-8.el8.noarch.rpm                                                                                                               690 kB/s |  37 kB     00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                    1.5 MB/s | 854 kB     00:00
Rocky Linux 8 - BaseOS                                                                                                                                   1.6 MB/s | 1.6 kB     00:00
Importing GPG key 0x6D745A60:
 Userid     : "Release Engineering <infrastructure>"
 Fingerprint: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                 1/1
  Installing       : python3-six-1.11.0-8.el8.noarch                                                                                                                                 1/6
  Installing       : python3-dateutil-1:2.6.1-6.el8.noarch                                                                                                                           2/6
  Installing       : dbus-glib-0.110-2.el8.x86_64                                                                                                                                    3/6
  Running scriptlet: dbus-glib-0.110-2.el8.x86_64                                                                                                                                    3/6
  Installing       : python3-dbus-1.2.4-15.el8.x86_64                                                                                                                                4/6
  Installing       : python3-dnf-plugins-core-4.0.21-11.el8.noarch                                                                                                                   5/6
  Installing       : dnf-plugins-core-4.0.21-11.el8.noarch                                                                                                                           6/6
  Running scriptlet: dnf-plugins-core-4.0.21-11.el8.noarch                                                                                                                           6/6
  Verifying        : dbus-glib-0.110-2.el8.x86_64                                                                                                                                    1/6
  Verifying        : dnf-plugins-core-4.0.21-11.el8.noarch                                                                                                                           2/6
  Verifying        : python3-dateutil-1:2.6.1-6.el8.noarch                                                                                                                           3/6
  Verifying        : python3-dbus-1.2.4-15.el8.x86_64                                                                                                                                4/6
  Verifying        : python3-dnf-plugins-core-4.0.21-11.el8.noarch                                                                                                                   5/6
  Verifying        : python3-six-1.11.0-8.el8.noarch                                                                                                                                 6/6

Installed:
  dbus-glib-0.110-2.el8.x86_64                         dnf-plugins-core-4.0.21-11.el8.noarch        python3-dateutil-1:2.6.1-6.el8.noarch        python3-dbus-1.2.4-15.el8.x86_64
  python3-dnf-plugins-core-4.0.21-11.el8.noarch        python3-six-1.11.0-8.el8.noarch

Complete!
[root@acb8441a9bb1 /]# yum install epel-release -y
Rocky Linux 8 - PowerTools                                                                                                                               1.5 MB/s | 2.4 MB     00:01
Last metadata expiration check: 0:00:02 ago on Mon Aug 29 07:59:48 2022.
Dependencies resolved.
=========================================================================================================================================================================================
 Package                                         Architecture                              Version                                       Repository                                 Size
=========================================================================================================================================================================================
Installing:
 epel-release                                    noarch                                    8-17.el8                                      extras                                     24 k

Transaction Summary
=========================================================================================================================================================================================
Install  1 Package

Total download size: 24 k
Installed size: 34 k
Downloading Packages:
epel-release-8-17.el8.noarch.rpm                                                                                                                         216 kB/s |  24 kB     00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                    119 kB/s |  24 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                 1/1
  Installing       : epel-release-8-17.el8.noarch                                                                                                                                    1/1
  Running scriptlet: epel-release-8-17.el8.noarch                                                                                                                                    1/1
Many EPEL packages require the CodeReady Builder (CRB) repository.
It is recommended that you run /usr/bin/crb enable to enable the CRB repository.

  Verifying        : epel-release-8-17.el8.noarch                                                                                                                                    1/1

Installed:
  epel-release-8-17.el8.noarch

Complete!
[root@acb8441a9bb1 /]# 


3. Test installation of xmlstarlet 

[root@acb8441a9bb1 /]# yum list xmlstarlet
Extra Packages for Enterprise Linux 8 - x86_64                                                                                                           2.4 MB/s |  13 MB     00:05
Extra Packages for Enterprise Linux Modular 8 - x86_64                                                                                                   340 kB/s | 734 kB     00:02
Last metadata expiration check: 0:00:01 ago on Mon Aug 29 08:01:40 2022.
Error: No matching Packages to list
[root@acb8441a9bb1 /]#

Comment 14 Shailesh 2022-08-29 08:13:43 UTC
We are facing an issue again with rockylinux:8.6 container image. 

Steps followed are as below - 

1. Create a container from rockylinux:8.6 

[root@test-node ~]# docker run --rm -it rockylinux:8.6

2. Enable powertools and install epel-release package 

[root@acb8441a9bb1 /]# dnf install dnf-plugin-config-manager -y ;dnf config-manager --set-enabled powertools
Rocky Linux 8 - AppStream                                                                                                                                9.2 MB/s | 9.6 MB     00:01
Rocky Linux 8 - BaseOS                                                                                                                                   4.1 MB/s | 6.7 MB     00:01
Rocky Linux 8 - Extras                                                                                                                                    28 kB/s |  11 kB     00:00
Dependencies resolved.
=========================================================================================================================================================================================
 Package                                                 Architecture                          Version                                       Repository                             Size
=========================================================================================================================================================================================
Installing:
 dnf-plugins-core                                        noarch                                4.0.21-11.el8                                 baseos                                 70 k
Installing dependencies:
 dbus-glib                                               x86_64                                0.110-2.el8                                   baseos                                126 k
 python3-dateutil                                        noarch                                1:2.6.1-6.el8                                 baseos                                250 k
 python3-dbus                                            x86_64                                1.2.4-15.el8                                  baseos                                133 k
 python3-dnf-plugins-core                                noarch                                4.0.21-11.el8                                 baseos                                239 k
 python3-six                                             noarch                                1.11.0-8.el8                                  baseos                                 37 k

Transaction Summary
=========================================================================================================================================================================================
Install  6 Packages

Total download size: 854 k
Installed size: 2.3 M
Downloading Packages:
(1/6): dnf-plugins-core-4.0.21-11.el8.noarch.rpm                                                                                                         268 kB/s |  70 kB     00:00
(2/6): dbus-glib-0.110-2.el8.x86_64.rpm                                                                                                                  430 kB/s | 126 kB     00:00
(3/6): python3-dbus-1.2.4-15.el8.x86_64.rpm                                                                                                              1.2 MB/s | 133 kB     00:00
(4/6): python3-dateutil-2.6.1-6.el8.noarch.rpm                                                                                                           656 kB/s | 250 kB     00:00
(5/6): python3-dnf-plugins-core-4.0.21-11.el8.noarch.rpm                                                                                                 2.0 MB/s | 239 kB     00:00
(6/6): python3-six-1.11.0-8.el8.noarch.rpm                                                                                                               690 kB/s |  37 kB     00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                    1.5 MB/s | 854 kB     00:00
Rocky Linux 8 - BaseOS                                                                                                                                   1.6 MB/s | 1.6 kB     00:00
Importing GPG key 0x6D745A60:
 Userid     : "Release Engineering <infrastructure>"
 Fingerprint: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                 1/1
  Installing       : python3-six-1.11.0-8.el8.noarch                                                                                                                                 1/6
  Installing       : python3-dateutil-1:2.6.1-6.el8.noarch                                                                                                                           2/6
  Installing       : dbus-glib-0.110-2.el8.x86_64                                                                                                                                    3/6
  Running scriptlet: dbus-glib-0.110-2.el8.x86_64                                                                                                                                    3/6
  Installing       : python3-dbus-1.2.4-15.el8.x86_64                                                                                                                                4/6
  Installing       : python3-dnf-plugins-core-4.0.21-11.el8.noarch                                                                                                                   5/6
  Installing       : dnf-plugins-core-4.0.21-11.el8.noarch                                                                                                                           6/6
  Running scriptlet: dnf-plugins-core-4.0.21-11.el8.noarch                                                                                                                           6/6
  Verifying        : dbus-glib-0.110-2.el8.x86_64                                                                                                                                    1/6
  Verifying        : dnf-plugins-core-4.0.21-11.el8.noarch                                                                                                                           2/6
  Verifying        : python3-dateutil-1:2.6.1-6.el8.noarch                                                                                                                           3/6
  Verifying        : python3-dbus-1.2.4-15.el8.x86_64                                                                                                                                4/6
  Verifying        : python3-dnf-plugins-core-4.0.21-11.el8.noarch                                                                                                                   5/6
  Verifying        : python3-six-1.11.0-8.el8.noarch                                                                                                                                 6/6

Installed:
  dbus-glib-0.110-2.el8.x86_64                         dnf-plugins-core-4.0.21-11.el8.noarch        python3-dateutil-1:2.6.1-6.el8.noarch        python3-dbus-1.2.4-15.el8.x86_64
  python3-dnf-plugins-core-4.0.21-11.el8.noarch        python3-six-1.11.0-8.el8.noarch

Complete!
[root@acb8441a9bb1 /]# yum install epel-release -y
Rocky Linux 8 - PowerTools                                                                                                                               1.5 MB/s | 2.4 MB     00:01
Last metadata expiration check: 0:00:02 ago on Mon Aug 29 07:59:48 2022.
Dependencies resolved.
=========================================================================================================================================================================================
 Package                                         Architecture                              Version                                       Repository                                 Size
=========================================================================================================================================================================================
Installing:
 epel-release                                    noarch                                    8-17.el8                                      extras                                     24 k

Transaction Summary
=========================================================================================================================================================================================
Install  1 Package

Total download size: 24 k
Installed size: 34 k
Downloading Packages:
epel-release-8-17.el8.noarch.rpm                                                                                                                         216 kB/s |  24 kB     00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                    119 kB/s |  24 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                 1/1
  Installing       : epel-release-8-17.el8.noarch                                                                                                                                    1/1
  Running scriptlet: epel-release-8-17.el8.noarch                                                                                                                                    1/1
Many EPEL packages require the CodeReady Builder (CRB) repository.
It is recommended that you run /usr/bin/crb enable to enable the CRB repository.

  Verifying        : epel-release-8-17.el8.noarch                                                                                                                                    1/1

Installed:
  epel-release-8-17.el8.noarch

Complete!
[root@acb8441a9bb1 /]# 


3. Test installation of xmlstarlet 

[root@acb8441a9bb1 /]# yum list xmlstarlet
Extra Packages for Enterprise Linux 8 - x86_64                                                                                                           2.4 MB/s |  13 MB     00:05
Extra Packages for Enterprise Linux Modular 8 - x86_64                                                                                                   340 kB/s | 734 kB     00:02
Last metadata expiration check: 0:00:01 ago on Mon Aug 29 08:01:40 2022.
Error: No matching Packages to list
[root@acb8441a9bb1 /]#

Comment 15 Guenther 2022-08-29 11:00:42 UTC
i´m facing the same issue. 

seems that xmlstarlet is no longer available in epel... can`t find it here: https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/x/

Comment 17 Carl George 🤠 2022-11-30 16:37:56 UTC
xmlstarlet was added to RHEL itself, and thus was removed from EPEL.  See bug 2122159 comment 4 for more details, including why it was retired a bit earlier than expected.


Note You need to log in before you can comment on or make changes to this bug.