PASE - Error Downloading Packages

By kimot, 8 November, 2023

If you got Error Downloading Packages in Open Source Package Management :

https://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo-base-7.3/ppc64/python39-3.9.18-1.ibmi7.3.ppc64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=ibmi-base clean metadata

Trying other mirror.

Error Downloading Packages:
  python39-3.9.18.ppc64: failure: ppc64/python39-3.9.18-1.ibmi7.3.ppc64.rpm from ibmi-base: [Errno 256] No more mirrors to try

and yum --enablerepo=ibmi-base clean metadata does not solve the problem

you can try to download rpm package directly from repository

wget https://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo-base-7.3/ppc64/python39-3.9.18-1.ibmi7.3.ppc64.rpm

and then install (-ivh) or update (-Uvh)  package via rpm :

rpm -Uvh python39-3.9.18-1.ibmi7.3.ppc64.rpm

Preparing...                          ################################# [100%]
Updating / installing...
   1:python39-3.9.18-1                ################################# [ 50%]
Cleaning up / removing...
   2:python39-3.9.16-1                ################################# [100%]