Problem with perl

rpm -i nordugrid-arc-arex-6.18.0-1.el9.x86_64.rpm
warning: nordugrid-arc-arex-6.18.0-1.el9.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3228467c: NOKEY
error: Failed dependencies:
perl(XML::Simple) is needed by nordugrid-arc-arex-6.18.0-1.el9.x86_64

[root@localhost Downloads]# rpm -i perl-XML-Simple-2.25-13.el9.noarch.rpm
warning: perl-XML-Simple-2.25-13.el9.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY
error: Failed dependencies:
perl(XML::NamespaceSupport) >= 1.04 is needed by perl-XML-Simple-2.25-13.el9.noarch
perl(XML::SAX) >= 0.15 is needed by perl-XML-Simple-2.25-13.el9.noarch

[root@localhost Downloads]#
[root@localhost Downloads]# rpm -i perl-XML-NamespaceSupport-1.12-15.el9.noarch.rpm
warning: perl-XML-NamespaceSupport-1.12-15.el9.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY

[root@localhost Downloads]# rpm -i perl-XML-SAX-Base-1.09-15.el9.noarch.rpm
warning: perl-XML-SAX-Base-1.09-15.el9.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY

[root@localhost Downloads]# rpm -i nordugrid-arc-arex-6.18.0-1.el9.x86_64.rpm
warning: nordugrid-arc-arex-6.18.0-1.el9.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3228467c: NOKEY
error: Failed dependencies:
perl(XML::Simple) is needed by nordugrid-arc-arex-6.18.0-1.el9.x86_64

[root@localhost Downloads]# rpm -i perl-XML-Simple-2.25-13.el9.noarch.rpm
warning: perl-XML-Simple-2.25-13.el9.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY
error: Failed dependencies:
perl(XML::SAX) >= 0.15 is needed by perl-XML-Simple-2.25-13.el9.noarch

Use dnf - assuming all the rpms you need are in the current directory just dnf install *.rpm

dnf install *.rpm
Last metadata expiration check: 2:15:52 ago on Wed 21 Feb 2024 12:25:12 PM EET.
Package ldns-1.7.1-11.el9.x86_64 is already installed.
Package libdb-cxx-5.3.28-53.el9.x86_64 is already installed.
Package nordugrid-arc-6.18.0-1.el9.x86_64 is already installed.
Package nordugrid-arc-arcctl-6.18.0-1.el9.x86_64 is already installed.
Package nordugrid-arc-arcctl-service-6.18.0-1.el9.x86_64 is already installed.
Package nordugrid-arc-hed-6.18.0-1.el9.x86_64 is already installed.
Package nordugrid-arc-plugins-needed-6.18.0-1.el9.x86_64 is already installed.
Package opera-stable-107.0.5045.21-0.x86_64 is already installed.
Package perl-4:5.32.1-480.el9.x86_64 is already installed.
Package perl-common-sense-3.7.5-7.el9.x86_64 is already installed.
Package perl-JSON-XS-1:4.03-5.el9.x86_64 is already installed.
Package perl-Types-Serialiser-1.01-4.el9.noarch is already installed.
Package perl-XML-NamespaceSupport-1.12-15.el9.noarch is already installed.
Package perl-XML-Parser-2.46-9.el9.x86_64 is already installed.
Package perl-XML-SAX-Base-1.09-15.el9.noarch is already installed.
Error:
Problem 1: conflicting requests

  • nothing provides libglobus_common.so.0()(64bit) needed by nordugrid-arc-gridftpd-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_common.so.0(GLOBUS_COMMON_14)(64bit) needed by nordugrid-arc-gridftpd-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_ftp_control.so.1()(64bit) needed by nordugrid-arc-gridftpd-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_gsi_cert_utils.so.0()(64bit) needed by nordugrid-arc-gridftpd-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_gsi_credential.so.1()(64bit) needed by nordugrid-arc-gridftpd-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_gss_assist.so.3()(64bit) needed by nordugrid-arc-gridftpd-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_gssapi_gsi.so.4()(64bit) needed by nordugrid-arc-gridftpd-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_gssapi_gsi.so.4(globus_gssapi_gsi)(64bit) needed by nordugrid-arc-gridftpd-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_io.so.3()(64bit) needed by nordugrid-arc-gridftpd-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_openssl.so.0()(64bit) needed by nordugrid-arc-gridftpd-6.18.0-1.el9.x86_64 from @commandline
    Problem 2: conflicting requests
  • nothing provides bdii needed by nordugrid-arc-infosys-ldap-6.18.0-1.el9.noarch from @commandline
  • nothing provides openldap-servers needed by nordugrid-arc-infosys-ldap-6.18.0-1.el9.noarch from @commandline
  • nothing provides glue-schema >= 2.0.10 needed by nordugrid-arc-infosys-ldap-6.18.0-1.el9.noarch from @commandline
    Problem 3: conflicting requests
  • nothing provides perl(SOAP::Lite) needed by nordugrid-arc-nordugridmap-6.18.0-1.el9.noarch from @commandline
  • nothing provides perl(SOAP::Transport::HTTP) needed by nordugrid-arc-nordugridmap-6.18.0-1.el9.noarch from @commandline
  • nothing provides perl(XML::DOM) needed by nordugrid-arc-nordugridmap-6.18.0-1.el9.noarch from @commandline
    Problem 4: conflicting requests
  • nothing provides libglobus_common.so.0()(64bit) needed by nordugrid-arc-plugins-globus-common-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_common.so.0(GLOBUS_COMMON_14)(64bit) needed by nordugrid-arc-plugins-globus-common-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_gssapi_gsi.so.4()(64bit) needed by nordugrid-arc-plugins-globus-common-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_gssapi_gsi.so.4(globus_gssapi_gsi)(64bit) needed by nordugrid-arc-plugins-globus-common-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_gsi_callback.so.0()(64bit) needed by nordugrid-arc-plugins-globus-common-6.18.0-1.el9.x86_64 from @commandline
    Problem 5: conflicting requests
  • nothing provides libglobus_common.so.0()(64bit) needed by nordugrid-arc-plugins-gridftp-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_ftp_control.so.1()(64bit) needed by nordugrid-arc-plugins-gridftp-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_io.so.3()(64bit) needed by nordugrid-arc-plugins-gridftp-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_ftp_client.so.2()(64bit) needed by nordugrid-arc-plugins-gridftp-6.18.0-1.el9.x86_64 from @commandline
    Problem 6: conflicting requests
  • nothing provides libglobus_common.so.0()(64bit) needed by nordugrid-arc-plugins-gridftpjob-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_ftp_control.so.1()(64bit) needed by nordugrid-arc-plugins-gridftpjob-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_gssapi_gsi.so.4()(64bit) needed by nordugrid-arc-plugins-gridftpjob-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_io.so.3()(64bit) needed by nordugrid-arc-plugins-gridftpjob-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_gsi_callback.so.0()(64bit) needed by nordugrid-arc-plugins-gridftpjob-6.18.0-1.el9.x86_64 from @commandline
    Problem 7: conflicting requests
  • nothing provides libglobus_common.so.0()(64bit) needed by nordugrid-arc-plugins-lcas-lcmaps-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_common.so.0(GLOBUS_COMMON_14)(64bit) needed by nordugrid-arc-plugins-lcas-lcmaps-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_gsi_cert_utils.so.0()(64bit) needed by nordugrid-arc-plugins-lcas-lcmaps-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_gsi_credential.so.1()(64bit) needed by nordugrid-arc-plugins-lcas-lcmaps-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_gssapi_gsi.so.4()(64bit) needed by nordugrid-arc-plugins-lcas-lcmaps-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_gssapi_gsi.so.4(globus_gssapi_gsi)(64bit) needed by nordugrid-arc-plugins-lcas-lcmaps-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides globus-gssapi-gsi >= 12.2 needed by nordugrid-arc-plugins-lcas-lcmaps-6.18.0-1.el9.x86_64 from @commandline
    Problem 8: conflicting requests
  • nothing provides python3-nordugrid-arc = 6.18.0-1.el9 needed by nordugrid-arc-plugins-python-6.18.0-1.el9.x86_64 from @commandline
    Problem 9: conflicting requests
  • nothing provides libXrdCl.so.3()(64bit) needed by nordugrid-arc-plugins-xrootd-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libXrdPosix.so.3()(64bit) needed by nordugrid-arc-plugins-xrootd-6.18.0-1.el9.x86_64 from @commandline
    Problem 10: package nordugrid-arc-plugins-globus-6.18.0-1.el9.x86_64 from @commandline requires nordugrid-arc-plugins-lcas-lcmaps = 6.18.0-1.el9, but none of the providers can be installed
  • conflicting requests
  • nothing provides libglobus_common.so.0()(64bit) needed by nordugrid-arc-plugins-lcas-lcmaps-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_common.so.0(GLOBUS_COMMON_14)(64bit) needed by nordugrid-arc-plugins-lcas-lcmaps-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_gsi_cert_utils.so.0()(64bit) needed by nordugrid-arc-plugins-lcas-lcmaps-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_gsi_credential.so.1()(64bit) needed by nordugrid-arc-plugins-lcas-lcmaps-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_gssapi_gsi.so.4()(64bit) needed by nordugrid-arc-plugins-lcas-lcmaps-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides libglobus_gssapi_gsi.so.4(globus_gssapi_gsi)(64bit) needed by nordugrid-arc-plugins-lcas-lcmaps-6.18.0-1.el9.x86_64 from @commandline
  • nothing provides globus-gssapi-gsi >= 12.2 needed by nordugrid-arc-plugins-lcas-lcmaps-6.18.0-1.el9.x86_64 from @commandline
    Problem 11: cannot install both perl-XML-Simple-tests-2.25-13.el9.noarch from @commandline and perl-XML-Simple-tests-2.25-13.el9.noarch from @commandline
  • conflicting requests
    (try to add ‘–allowerasing’ to command line to replace conflicting packages or ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

The package nordugrid-arc-arex exists in EPEL, instead of manually downloading rpm’s and breaking your install, it would be easier to do:

dnf install epel-release
crb enable
dnf install nordugrid-arc-arex

I suggest removing the packages you installed to get your system in a sane state, and then do it properly using the commands above.

For the future, search on https://pkgs.org first to find out if a package exists, and in what repository you can find it before attempting to manually download rpms that may cause instability issues and problems like this.

rpm -e nordugrid-arc-arcctl-6.18.0-1.el9.x86_64.rpm
error: package nordugrid-arc-arcctl-6.18.0-1.el9.x86_64.rpm is not installed
but it is installed

Use:

rpm -qa | grep -i nordugrid

to filter the package. Also do the same for all the packages you’ve attempted to install outside of dnf as well. You don’t need to provide the .rpm extension when removing a package either. Also try to refrain from using rpm -i or other commands - that is what dnf is there for.

Even installing an rpm outside of dnf, is easy to do with:

dnf install ./my-package.rpm

rather than the old way.

You can even check if packages are installed without using rpm, so:

dnf list installed nordugrid*

and use dnf remove packagename to remove it.

rpm -qa | grep -i nordugrid
nordugrid-arc-6.18.0-1.el9.x86_64
nordugrid-arc-plugins-needed-6.18.0-1.el9.x86_64
nordugrid-arc-arcctl-6.18.0-1.el9.x86_64
nordugrid-arc-arcctl-service-6.18.0-1.el9.x86_64
nordugrid-arc-hed-6.18.0-1.el9.x86_64
nordugrid-arc-arex-6.18.0-1.el9.x86_64
[root@localhost Downloads]# dnf list installed nordugrid*
Error: No matching Packages to list
rpm -e `rpm -qa | grep -i nordugrid`

looks like your system is messed up if dnf cannot find a package installed due to using rpm and installing stuff outside of dnf. The command above will parse the results from the rpm -qa command and remove all those packages.

Thanks now its all right from epel

dnf list installed nordugrid*
Installed Packages
nordugrid-arc.x86_64                                         6.18.0-1.el9                   @epel
nordugrid-arc-arcctl.x86_64                                  6.18.0-1.el9                   @epel
nordugrid-arc-arcctl-service.x86_64                          6.18.0-1.el9                   @epel
nordugrid-arc-archery-manage.noarch                          6.18.0-1.el9                   @epel
nordugrid-arc-arex.x86_64                                    6.18.0-1.el9                   @epel
nordugrid-arc-client.x86_64                                  6.18.0-1.el9                   @epel
nordugrid-arc-community-rtes.x86_64                          6.18.0-1.el9                   @epel
nordugrid-arc-datadelivery-service.x86_64                    6.18.0-1.el9                   @epel
nordugrid-arc-devel.x86_64                                   6.18.0-1.el9                   @epel
nordugrid-arc-gridftpd.x86_64                                6.18.0-1.el9                   @epel
nordugrid-arc-hed.x86_64                                     6.18.0-1.el9                   @epel
nordugrid-arc-infosys-ldap.noarch                            6.18.0-1.el9                   @epel
nordugrid-arc-monitor.noarch                                 6.18.0-1.el9                   @epel
nordugrid-arc-nagios-plugins.x86_64                          2.0.1-1.el9                    @epel
nordugrid-arc-nagios-plugins-doc.noarch                      2.0.1-1.el9                    @epel
nordugrid-arc-nagios-plugins-egi.noarch                      2.0.1-1.el9                    @epel
nordugrid-arc-nordugridmap.noarch                            6.18.0-1.el9                   @epel
nordugrid-arc-plugins-arcrest.x86_64                         6.18.0-1.el9                   @epel
nordugrid-arc-plugins-gfal.x86_64                            6.18.0-1.el9                   @epel
nordugrid-arc-plugins-globus.x86_64                          6.18.0-1.el9                   @epel
nordugrid-arc-plugins-globus-common.x86_64                   6.18.0-1.el9                   @epel
nordugrid-arc-plugins-gridftp.x86_64                         6.18.0-1.el9                   @epel
nordugrid-arc-plugins-gridftpjob.x86_64                      6.18.0-1.el9                   @epel
nordugrid-arc-plugins-internal.x86_64                        6.18.0-1.el9                   @epel
nordugrid-arc-plugins-lcas-lcmaps.x86_64                     6.18.0-1.el9                   @epel
nordugrid-arc-plugins-needed.x86_64                          6.18.0-1.el9                   @epel
nordugrid-arc-plugins-python.x86_64                          6.18.0-1.el9                   @epel
nordugrid-arc-plugins-s3.x86_64                              6.18.0-1.el9                   @epel
nordugrid-arc-plugins-xrootd.x86_64                          6.18.0-1.el9                   @epel
nordugrid-arc-test-utils.x86_64                              6.18.0-1.el9                   @epel
nordugrid-arc-wn.x86_64                                      6.18.0-1.el9                   @epel

But I don’t really see these installed packages anywhere on the computer, neither in /bin nor /sbin nor /etc/init.d nor /usr/local/bin. Command find -name doesn’t find them.These packages are also missing from the services.There are only configuration files of these packages on the computer…On my Сentos 6 they are in /etc/init.d already 12 years and works. Only Centos 6 is no longer supported and I want to install these packages on Rocky 9

I understand. You need add the repository:

/etc/yum.repos.d/nordugrid.repo with the following contents (here using CentOS as example, if you are on Fedora, replace centos with fedora)

If you are installing an alpha, beta or release candiate, please set the nordugrid-testing to enabled=1.

[nordugrid] name=NorduGrid - $basearch - base baseurl=http://download.nordugrid.org/repos/6/centos/$releasever/$basearch/base enabled=1 gpgcheck=1 gpgkey=http://download.nordugrid.org/RPM-GPG-KEY-nordugrid-6 [nordugrid-updates] name=NorduGrid - $basearch - updates baseurl=http://download.nordugrid.org/repos/6/centos/$releasever/$basearch/updates enabled=1 gpgcheck=1 gpgkey=http://download.nordugrid.org/RPM-GPG-KEY-nordugrid-6 [nordugrid-testing] name=NorduGrid - $basearch - testing baseurl=http://download.nordugrid.org/repos/6/centos/$releasever/$basearch/testing enabled=0 gpgcheck=1 gpgkey=http://download.nordugrid.org/RPM-GPG-KEY-nordugrid-6

https://www.nordugrid.org/documents/arc6/common/repos/repository.html