Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power


#Servers
#Opensource
 View Only
  • 1.  DNF repolist out put error

    Posted 10 days ago

    Getting below error for repolist and when trying to remove openssl 

    root@hostname69:/>> /opt/freeware/bin/dnf repolist
    Traceback (most recent call last):
      File "/opt/freeware/bin/dnf", line 58, in <module>
        from dnf.cli import main
      File "/opt/freeware/lib/python3.9/site-packages/dnf/__init__.py", line 30, in <module>
        import dnf.base
      File "/opt/freeware/lib/python3.9/site-packages/dnf/base.py", line 29, in <module>
        import libdnf.transaction
      File "/opt/freeware/lib64/python3.9/site-packages/libdnf/__init__.py", line 3, in <module>
        from . import common_types
      File "/opt/freeware/lib64/python3.9/site-packages/libdnf/common_types.py", line 13, in <module>
        from . import _common_types
    ImportError: Could not load module /opt/freeware/lib64/python3.9/site-packages/libdnf/_common_types.so.
            Dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6) could not be loaded.
            The module has an invalid magic number.
    root@hostname69:/>> rpm -e openssl-1.0.1e-2.ppc
    error: Failed dependencies:
            libcrypto.a(libcrypto.so.0.9.8) is needed by (installed) net-snmp-5.7.2-1.ppc
            libcrypto.a(libcrypto.so.0.9.8) is needed by (installed) libevent-2.0.21-1.ppc
            libcrypto.a(libcrypto.so.0.9.8) is needed by (installed) tripwire-2.4.2.2-1.ppc
            libcrypto.a(libcrypto.so.1.0.1) is needed by (installed) libssh-0.5.5-1.ppc
            libcrypto.a(libcrypto.so.1.0.1) is needed by (installed) libssh2-1.4.3-2.ppc
            libcrypto.so is needed by (installed) net-snmp-5.7.2-1.ppc
            libcrypto.so is needed by (installed) net-snmp-utils-5.7.2-1.ppc
            libcrypto.so is needed by (installed) ruby-2.0.0.353-1.ppc
            libcrypto.so is needed by (installed) syslog-ng-3.2.5-1.ppc
            libcrypto.so is needed by (installed) net-snmp-perl-5.7.2-1.ppc
            libcrypto.so is needed by (installed) python-2.7.5-1.ppc
            libssl.a(libssl.so.0.9.8) is needed by (installed) libevent-2.0.21-1.ppc
            libssl.so is needed by (installed) ruby-2.0.0.353-1.ppc
            libssl.so is needed by (installed) syslog-ng-3.2.5-1.ppc
            libssl.so is needed by (installed) python-2.7.5-1.ppc
            openssl >= 1.0.1 is needed by (installed) libssh-0.5.5-1.ppc
            openssl >= 0.9.8 is needed by (installed) net-snmp-5.7.2-1.ppc
            openssl >= 1.0.1 is needed by (installed) ruby-2.0.0.353-1.ppc
            openssl >= 0.9.8 is needed by (installed) syslog-ng-3.2.5-1.ppc
            openssl >= 0.9.8 is needed by (installed) libevent-2.0.21-1.ppc
            openssl >= 1.0.1 is needed by (installed) libssh2-1.4.3-2.ppc
            openssl >= 1.0.1 is needed by (installed) python-2.7.5-1.ppc
            openssl >= 0.9.8 is needed by (installed) tripwire-2.4.2.2-1.ppc
    root@hostname69:/>>



    ------------------------------
    Shahir Ali FR
    ------------------------------


  • 2.  RE: DNF repolist out put error

    Posted 7 days ago

    The install of python 2.7 which went EOL in 2020 I would take as a sign this server needs careful attention.

    Does it really need python 2.7 is a place to start.



    ------------------------------
    Alexander Pettitt
    ------------------------------



  • 3.  RE: DNF repolist out put error

    Posted 4 days ago

    Hello Team,

    Any update on this please?

    Thanks

    Shahir



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 4.  RE: DNF repolist out put error

    Posted 4 days ago

    @Aditya Acharya @Lakshmi Surekha Kovvuri



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 5.  RE: DNF repolist out put error

    Posted 4 days ago

    This look like completely different things.

    Regarding the removal of openssl: you can't remove it until you remove the filesets that need it.

    It also helps to say the oslevel -s and why you are trying to remove a fileset that others depend on.



    ------------------------------
    José Pina Coelho
    IT Specialist at Kyndryl
    ------------------------------



  • 6.  RE: DNF repolist out put error

    Posted 3 days ago

    Hi Jose,

    oslevel -s
    7300-01-02-2319

    Thanks



    ------------------------------
    Shahir Ali FR
    ------------------------------