On IBM i 7.4 version I'm not able to run any update / upgrade / install

Issue #135 resolved
Jakub Trusina created an issue

When I connect via SSH and try to run yum update it is showing me following errors ([Errno 256]):

We are running ibm I 7.4 os.

YUM version:

yum --version
3.4.3
Installed: rpm-4.13.0.1-4.ppc64 at 2018-03-06 22:40
Built : None at 2018-03-04 06:36
Committed: None at 2018-03-04

Installed: yum-3.4.3-4.noarch at 2018-03-06 22:41
Built : None at 2018-02-23 19:58
Committed: None at 2018-02-23

\$ yum version
Warning: RPMDB altered outside of yum.
Installed: $releasever/ppc 34:98a3bcf49b04767ef4f778e4c37134e2f33bb684
Group-Installed: yum 4:209acd815745d342908446ef83b21b8a9a874aee
version

Errors from Package manager:

Running Transaction Check
Running Transaction Test

Transaction Check Error:
package python2-iniparse-0.4-2.noarch is intended for a different operating system
package yum-3.4.3-18.noarch is intended for a different operating system

Error Summary

Errors via SSH session

\$ yum update
ibm | 3.6 kB 00:00:00
ibm/primary_db | 293 kB 00:00:00
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package bash.ppc64 0:4.4-0 will be updated
---> Package bash.ppc64 0:4.4-2 will be an update
--> Processing Dependency: lib:/QOpenSys/pkgs/lib/libncurses.so.6(shr_64.o)(ppc64) for package: bash-4.4-2.ppc64
---> Package coreutils-pase-dummy.ppc 0:7.1-0 will be updated
---> Package coreutils-pase-dummy.ppc 0:7.2-0 will be an update
---> Package db.ppc64 0:4.8.30-0 will be updated
--> Processing Dependency: lib:/QOpenSys/pkgs/lib/libdb.so.4.8(shr_64.o)(ppc64) for package: db-4.8.30-3.ppc64
--> Processing Dependency: lib:/QOpenSys/pkgs/lib/libdb.so.4.8(shr_64.o)(ppc64) for package: rpm-4.13.1-2.ppc64
---> Package db.ppc64 0:4.8.30-3 will be an update
---> Package file-magic.ppc64 0:5.30-0 will be updated
---> Package file-magic.ppc64 0:5.32-6 will be an update
---> Package libbz2-1.ppc64 0:1.0.6-9 will be updated
---> Package libbz2-1.ppc64 0:1.0.6-15 will be an update
---> Package libcurl4.ppc64 0:7.58.0-0 will be updated
---> Package libcurl4.ppc64 0:7.70.0-1 will be an update
--> Processing Dependency: libopenssl1_1 >= 1.1.1-5 for package: libcurl4-7.70.0-1.ppc64
--> Processing Dependency: lib:/QOpenSys/pkgs/lib/libssl.so.1.1(shr_64.o)(ppc64) for package: libcurl4-7.70.0-1.ppc64
--> Processing Dependency: lib:/QOpenSys/pkgs/lib/libssh2.so.1(shr_64.o)(ppc64) for package: libcurl4-7.70.0-1.ppc64
--> Processing Dependency: lib:/QOpenSys/pkgs/lib/libcrypto.so.1.1(shr_64.o)(ppc64) for package: libcurl4-7.70.0-1.ppc64
---> Package libexpat1.ppc64 0:2.2.0-0 will be updated
---> Package libexpat1.ppc64 0:2.2.9-1 will be an update
---> Package libffi6.ppc64 0:3.2.1-1 will be updated
---> Package libffi6.ppc64 0:3.2.1-2 will be an update
---> Package libgcc_s1.ppc64 0:4.8.5-10 will be updated
---> Package libgcc_s1.ppc64 0:6.3.0-25 will be an update
---> Package libglib-2_0-0.ppc64 0:2.52.0-0 will be updated
---> Package libglib-2_0-0.ppc64 0:2.52.0-4 will be an update
---> Package libiconv2.ppc64 0:1.14-1 will be updated
---> Package libiconv2.ppc64 0:1.14-4 will be an update
---> Package libintl9.ppc64 0:0.19.8-0 will be updated
---> Package libintl9.ppc64 0:0.19.8-1 will be an update
---> Package liblua5_3.ppc64 0:5.3.4-1 will be updated
---> Package liblua5_3.ppc64 0:5.3.4-3 will be an update
---> Package liblzma5.ppc64 0:5.2.3-0 will be updated
---> Package liblzma5.ppc64 0:5.2.3-4 will be an update
---> Package libmagic1.ppc64 0:5.30-0 will be updated
---> Package libmagic1.ppc64 0:5.32-6 will be an update
---> Package libopenssl1_0_0.ppc64 0:1.0.2k-1 will be updated
---> Package libopenssl1_0_0.ppc64 0:1.0.2t-1 will be an update
---> Package libpcre1.ppc64 0:8.40-0 will be updated
---> Package libpcre1.ppc64 0:8.43-0 will be an update
---> Package libpopt0.ppc64 0:1.16-1 will be updated
---> Package libpopt0.ppc64 0:1.16-2 will be an update
---> Package libreadline6.ppc64 0:6.3-1 will be updated
---> Package libreadline6.ppc64 0:6.3-5 will be an update
---> Package libsqlite3-0.ppc64 0:3.19.3-0 will be updated
---> Package libsqlite3-0.ppc64 0:3.19.3-2 will be an update
---> Package libxml2-2.ppc64 0:2.9.4-2 will be updated
---> Package libxml2-2.ppc64 0:2.9.4-5 will be an update
---> Package libz1.ppc64 0:1.2.11-1 will be updated
---> Package libz1.ppc64 0:1.2.11-3 will be an update
---> Package nspr.ppc64 0:4.13.1-3 will be updated
---> Package nspr.ppc64 0:4.13.1-4 will be an update
---> Package nss.ppc64 0:3.30-1 will be updated
---> Package nss.ppc64 0:3.30-6 will be an update
---> Package pase-libs-dummy.fat 0:7.1-0 will be updated
---> Package pase-libs-dummy.fat 0:7.2-0 will be an update
---> Package perl.ppc64 0:5.24.1-0 will be updated
---> Package perl.ppc64 0:5.24.1-1 will be an update
---> Package python2.ppc64 0:2.7.13-14 will be updated
---> Package python2.ppc64 0:2.7.18-3 will be an update
--> Processing Dependency: libutil2 >= 0.7 for package: python2-2.7.18-3.ppc64
--> Processing Dependency: lib:/QOpenSys/pkgs/lib/libutil.so.2(shr_64.o)(ppc64) for package: python2-2.7.18-3.ppc64
---> Package python2-pycurl.ppc64 0:7.43.0-0 will be updated
---> Package python2-pycurl.ppc64 0:7.43.0-4 will be an update
---> Package python2-rpm.ppc64 0:4.13.0.1-4 will be updated
---> Package python2-rpm.ppc64 0:4.13.1-2 will be an update
---> Package python2-urlgrabber.noarch 0:3.10.2-0 will be updated
---> Package python2-urlgrabber.noarch 0:3.10.2-3 will be an update
---> Package rpm.ppc64 0:4.13.0.1-4 will be updated
---> Package rpm.ppc64 0:4.13.1-2 will be an update
--> Processing Dependency: lib:/QOpenSys/pkgs/lib/libarchive.so.13(shr_64.o)(ppc64) for package: rpm-4.13.1-2.ppc64
---> Package yum.noarch 0:3.4.3-4 will be updated
---> Package yum.noarch 0:3.4.3-18 will be an update
--> Processing Dependency: python2-iniparse for package: yum-3.4.3-18.noarch
---> Package yum-metadata-parser.ppc64 0:1.1.4-0 will be updated
---> Package yum-metadata-parser.ppc64 0:1.1.4-2 will be an update
--> Running transaction check
---> Package libarchive13.ppc64 0:3.3.3-1 will be installed
---> Package libdb48.ppc64 0:4.8.30-3 will be installed
---> Package libncurses6.ppc64 0:6.0-6 will be installed
--> Processing Dependency: lib:/QOpenSys/pkgs/lib/libstdc++.so.6(shr_64.o)(ppc64) for package: libncurses6-6.0-6.ppc64
--> Processing Dependency: ncurses-terminfo for package: libncurses6-6.0-6.ppc64
---> Package libopenssl1_1.ppc64 0:1.1.1g-1 will be installed
---> Package libssh2-1.ppc64 0:1.9.0-2 will be installed
---> Package libutil2.ppc64 0:0.8.1-1 will be installed
---> Package python2-iniparse.noarch 0:0.4-2 will be installed
--> Running transaction check
---> Package libstdcplusplus6.ppc64 0:6.3.0-25 will be installed
--> Processing Dependency: lib:/QOpenSys/pkgs/lib/libgcc_s.a(shr.o)(ppc64) for package: libstdcplusplus6-6.3.0-25.ppc64
---> Package ncurses-terminfo.ppc64 0:6.0-6 will be installed
--> Running transaction check
---> Package libgcc-aix.fat 0:6.3.0-25 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================

Package Arch Version Repository Size

Updating:
bash ppc64 4.4-2 ibm 2.1 M
coreutils-pase-dummy ppc 7.2-0 ibm 14 k
db ppc64 4.8.30-3 ibm 112 k
file-magic ppc64 5.32-6 ibm 258 k
libbz2-1 ppc64 1.0.6-15 ibm 89 k
libcurl4 ppc64 7.70.0-1 ibm 402 k
libexpat1 ppc64 2.2.9-1 ibm 202 k
libffi6 ppc64 3.2.1-2 ibm 34 k
libgcc_s1 ppc64 6.3.0-25 ibm 197 k
libglib-2_0-0 ppc64 2.52.0-4 ibm 2.0 M
libiconv2 ppc64 1.14-4 ibm 827 k
libintl9 ppc64 0.19.8-1 ibm 40 k
liblua5_3 ppc64 5.3.4-3 ibm 250 k
liblzma5 ppc64 5.2.3-4 ibm 267 k
libmagic1 ppc64 5.32-6 ibm 204 k
libopenssl1_0_0 ppc64 1.0.2t-1 ibm 1.3 M
libpcre1 ppc64 8.43-0 ibm 712 k
libpopt0 ppc64 1.16-2 ibm 72 k
libreadline6 ppc64 6.3-5 ibm 477 k
libsqlite3-0 ppc64 3.19.3-2 ibm 1.5 M
libxml2-2 ppc64 2.9.4-5 ibm 1.9 M
libz1 ppc64 1.2.11-3 ibm 71 k
nspr ppc64 4.13.1-4 ibm 646 k
nss ppc64 3.30-6 ibm 6.6 M
pase-libs-dummy fat 7.2-0 ibm 172 k
perl ppc64 5.24.1-1 ibm 27 M
python2 ppc64 2.7.18-3 ibm 26 M
python2-pycurl ppc64 7.43.0-4 ibm 220 k
python2-rpm ppc64 4.13.1-2 ibm 276 k
python2-urlgrabber noarch 3.10.2-3 ibm 73 k
rpm ppc64 4.13.1-2 ibm 2.2 M
yum noarch 3.4.3-18 ibm 1.2 M
yum-metadata-parser ppc64 1.1.4-2 ibm 217 k
Installing for dependencies:
libarchive13 ppc64 3.3.3-1 ibm 1.1 M
libdb48 ppc64 4.8.30-3 ibm 942 k
libgcc-aix fat 6.3.0-25 ibm 473 k
libncurses6 ppc64 6.0-6 ibm 1.5 M
libopenssl1_1 ppc64 1.1.1g-1 ibm 2.0 M
libssh2-1 ppc64 1.9.0-2 ibm 326 k
libstdcplusplus6 ppc64 6.3.0-25 ibm 3.3 M
libutil2 ppc64 0.8.1-1 ibm 17 k
ncurses-terminfo ppc64 6.0-6 ibm 583 k
python2-iniparse noarch 0.4-2 ibm 29 k

Transaction Summary

Install 10 Packages
Upgrade 33 Packages

Total download size: 88 M
Is this ok [y/N]: y
Downloading Packages:

Error Downloading Packages:
libsqlite3-0-3.19.3-2.ppc64: failure: ppc64/libsqlite3-0-3.19.3-2.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
db-4.8.30-3.ppc64: failure: ppc64/db-4.8.30-3.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
libopenssl1_0_0-1.0.2t-1.ppc64: failure: ppc64/libopenssl1_0_0-1.0.2t-1.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
libexpat1-2.2.9-1.ppc64: failure: ppc64/libexpat1-2.2.9-1.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
coreutils-pase-dummy-7.2-0.ppc: failure: ppc/coreutils-pase-dummy-7.2-0.ibmi7.2.ppc.rpm from ibm: [Errno 256] No more mirrors to try.
libffi6-3.2.1-2.ppc64: failure: ppc64/libffi6-3.2.1-2.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
python2-2.7.18-3.ppc64: failure: ppc64/python2-2.7.18-3.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
libmagic1-5.32-6.ppc64: failure: ppc64/libmagic1-5.32-6.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
libdb48-4.8.30-3.ppc64: failure: ppc64/libdb48-4.8.30-3.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
pase-libs-dummy-7.2-0.fat: failure: fat/pase-libs-dummy-7.2-0.ibmi7.2.fat.rpm from ibm: [Errno 256] No more mirrors to try.
libiconv2-1.14-4.ppc64: failure: ppc64/libiconv2-1.14-4.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
libgcc_s1-6.3.0-25.ppc64: failure: ppc64/libgcc_s1-6.3.0-25.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
libarchive13-3.3.3-1.ppc64: failure: ppc64/libarchive13-3.3.3-1.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
nss-3.30-6.ppc64: failure: ppc64/nss-3.30-6.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
nspr-4.13.1-4.ppc64: failure: ppc64/nspr-4.13.1-4.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
libglib-2_0-0-2.52.0-4.ppc64: failure: ppc64/libglib-2_0-0-2.52.0-4.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
libpcre1-8.43-0.ppc64: failure: ppc64/libpcre1-8.43-0.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
bash-4.4-2.ppc64: failure: ppc64/bash-4.4-2.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
liblzma5-5.2.3-4.ppc64: failure: ppc64/liblzma5-5.2.3-4.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
libpopt0-1.16-2.ppc64: failure: ppc64/libpopt0-1.16-2.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
perl-5.24.1-1.ppc64: failure: ppc64/perl-5.24.1-1.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
liblua5_3-5.3.4-3.ppc64: failure: ppc64/liblua5_3-5.3.4-3.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
python2-urlgrabber-3.10.2-3.noarch: failure: noarch/python2-urlgrabber-3.10.2-3.ibmi7.2.noarch.rpm from ibm: [Errno 256] No more mirrors to try.
libbz2-1-1.0.6-15.ppc64: failure: ppc64/libbz2-1-1.0.6-15.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
libintl9-0.19.8-1.ppc64: failure: ppc64/libintl9-0.19.8-1.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
libz1-1.2.11-3.ppc64: failure: ppc64/libz1-1.2.11-3.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
python2-rpm-4.13.1-2.ppc64: failure: ppc64/python2-rpm-4.13.1-2.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
file-magic-5.32-6.ppc64: failure: ppc64/file-magic-5.32-6.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
libxml2-2-2.9.4-5.ppc64: failure: ppc64/libxml2-2-2.9.4-5.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
libreadline6-6.3-5.ppc64: failure: ppc64/libreadline6-6.3-5.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
rpm-4.13.1-2.ppc64: failure: ppc64/rpm-4.13.1-2.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.

Comments (7)

  1. Jakub Trusina reporter

    Thank you very much Jesse. I tried to run yum commands, but they are still failing:

    -bash-4.4$ yum clean all
    Cleaning repos: ibm
    Cleaning up Everything
    -bash-4.4$ yum --releasever=7.4 upgrade yum
    ibm | 3.6 kB 00:00:00
    ibm/primary_db | 293 kB 00:00:00
    Setting up Upgrade Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package yum.noarch 0:3.4.3-4 will be updated
    ---> Package yum.noarch 0:3.4.3-18 will be an update
    --> Processing Dependency: python2-iniparse for package: yum-3.4.3-18.noarch
    --> Running transaction check
    ---> Package python2-iniparse.noarch 0:0.4-2 will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    =================================================================================================================
    Package Arch Version Repository Size

    Updating:
    yum noarch 3.4.3-18 ibm 1.2 M
    Installing for dependencies:
    python2-iniparse noarch 0.4-2 ibm 29 k

    Transaction Summary

    Install 1 Package
    Upgrade 1 Package

    Total download size: 1.2 M
    Is this ok [y/N]: y
    Downloading Packages:

    Total 41 MB/s | 1.2 MB 00:00
    Running Transaction Check
    Running Transaction Test

    Transaction Check Error:
    package python2-iniparse-0.4-2.noarch is intended for a different operating system
    package yum-3.4.3-18.noarch is intended for a different operating system

    Error Summary

    Current version of yum:

    -bash-4.4$ yum version
    Installed: $releasever/ppc 34:98a3bcf49b04767ef4f778e4c37134e2f33bb684
    Group-Installed: yum 4:209acd815745d342908446ef83b21b8a9a874aee
    version
    -bash-4.4$ yum --version
    3.4.3
    Installed: rpm-4.13.0.1-4.ppc64 at 2018-03-06 22:40
    Built : None at 2018-03-04 06:36
    Committed: None at 2018-03-04

    Installed: yum-3.4.3-4.noarch at 2018-03-06 22:41
    Built : None at 2018-02-23 19:58
    Committed: None at 2018-02-23
    -bash-4.4$

    Result of script:

    ============================================
    Summary:
    1 errors, 2 warnings

    The following warnings were discovered:

    • /opt/freeware/bin/rpm exists
    • Package not installed: ca-certificates-mozilla

    The following errors were discovered:

    • Package not installed: coreutils-gnu

  2. Jakub Trusina reporter

    I think I should mention as well that we are using local cloned repo as we are not able to reach IBM site from our partition due to firewall blockage (financial system).

  3. Log in to comment