yum update resolves unzip, zip package versions not available on the mirror (ftp://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/ppc64/)

Issue #90 resolved
Ben Roberts created an issue

.

.

.

zip ppc64 3.0-2 ibm 404 k

Transaction Summary

Upgrade 13 Packages

Total download size: 69 M
Is this ok [y/N]: y
Downloading Packages:
(1/13): curl-7.65.3-3.ibmi7.2.ppc64.rpm | 107 kB 00:00:00
(2/13): findutils-4.6.0-2.ibmi7.2.ppc64.rpm | 1.8 MB 00:00:02
(3/13): libcurl4-7.65.3-3.ibmi7.2.ppc64.rpm | 371 kB 00:00:00
(4/13): libpopt0-1.16-2.ibmi7.2.ppc64.rpm | 72 kB 00:00:00
(5/13): libreadline6-6.3-3.ibmi7.2.ppc64.rpm | 477 kB 00:00:00
(6/13): libsqlite3-0-3.19.3-1.ibmi7.2.ppc64.rpm | 1.5 MB 00:00:01
(7/13): libutil2-0.6.2-0.ibmi7.2.ppc64.rpm | 16 kB 00:00:00
(8/13): python2-2.7.17-0.ibmi7.2.ppc64.rpm | 26 MB 00:00:26
(9/13): python2-pycurl-7.43.0-3.ibmi7.2.ppc64.rpm | 219 kB 00:00:01
(10/13): python3-3.6.9-1.ibmi7.2.ppc64.rpm | 36 MB 00:00:34
ftp://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/ppc64/unzip-6.0-2.ibmi7.2.ppc64.rpm: [Errno 14] FTP Error 550 - Given file does not exist
Trying other mirror.
(12/13): wget-1.20.3-0.ibmi7.2.ppc64.rpm | 932 kB 00:00:01
ftp://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/ppc64/zip-3.0-2.ibmi7.2.ppc64.rpm: [Errno 14] FTP Error 550 - Given file does not exist
Trying other mirror.

Error Downloading Packages:
unzip-6.0-2.ppc64: failure: ppc64/unzip-6.0-2.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.
zip-3.0-2.ppc64: failure: ppc64/zip-3.0-2.ibmi7.2.ppc64.rpm from ibm: [Errno 256] No more mirrors to try.

bash-4.4$


I was able to work around the issue by pointing the yum install command to the package versions that WERE actually available to download on the mirror (i.e. unzip-6.0-3, zip-3.0-3) instead of the ones prescribed by yum update (i.e. unzip-6.0-2, zip-3.0-2) which were not available on the mirror.

I mentioned this to Jesse Gorzinski (@IBMJesseG) on Twitter. He directed me to open an issue here.

Comments (6)

  1. Kevin Adler

    You may need to run yum clean expire-cache to instruct yum to download the latest metadata. The default is once per day and if the package was updated since then you will run in to problems. I can double check that the metadata is, in fact, correct.

  2. Ben Roberts reporter

    I did attempt yum clean all (at Jesse’s suggestion) though it did not resolve the issue. Yum continued to prescribe the package versions that were not available on the mirror. Not sure if adding expire-cache would have made a difference.

  3. Kevin Adler

    yum clean all should have done the same as yum clean expire-cache, plus more. I’m not sure why it failed for you. I have checked the metadata and it’s all good and I was able to test it locally and it worked.

  4. Kevin Adler

    Also, as a correction, I meant yum clean metadata, not yum clean expire-cache. Regardless, yum clean all should do both of those, plus more.

  5. Ben Roberts reporter

    Thanks, Kevin. Using these commands as workarounds, I was able to get past the immediate issue. If you find metadata is, in fact, correct, I suggest closing this issue and I’ll open another if I come upon it again.

    yum install ftp://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/ppc64/unzip-6.0-3.ibmi7.2.ppc64.rpm

    yum install ftp://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/ppc64/zip-3.0-3.ibmi7.2.ppc64.rpm

  6. Log in to comment