RPM install not working
Hi,
Trying to install curl7.70.0-3 on a 7.4 IBM i system. Both direct access to IBM and SSH tunneling are blocked on our network, so we have to use rpm. This site is blocked too, so using a personal email.
Boot strap files are installed, curl7.70.0-3.src.rpm is in my home directory. Running the command:
rpm -i curl7.70.0-3.src.rpm
First error was the profile rpmbuild didn’t exist, created that, now it ends without error but doesn’t install anything.
Thanks
Comments (8)
-
-
There’s also the ACS Clone repo tool: https://ibmi-oss-docs.readthedocs.io/en/latest/acscloner/README.html
-
reporter Thanks Kevin. Is the binary you mention specifically for 7.2? We are on 7.4. I couldn’t find anything that specified 7.4.
Setting up a local repo doesn’t really get us anything, we can easily download the binaries and get them into the IFS. We don’t use this often, and the amount of work to get a VM set up to use as a repository is not really worth it. There is also no place where we have access out to IBM from ACS to create a clone repsitory.
Thanks
-
All the rpms are supported on 7.2 and up, including 7.4.
I guess in that restrictive environment that makes sense. Do whatever makes the most sense for you.
-
reporter Thanks Kevin!
Making progress. So, it says there’s a dependency on libcurl14.7.70.3.ibmi7.2.ppc64.rpm. Trying to install that gets a file conflict with libcurl14.7.70.0.1.ppc64. I tried to remove that using ACS, I get “Error: Trying to remove “yum”, which is protected”.
Is there a command to remove the earlier version of libcurl?
I guess I could also try curl-7.65.3.4, but I would rather install the latest if I can.
Thanks
-
You can use
rpm -U
to upgrade rpms (andrpm -e
to “erase” them). You can also add progress bar output similar to yum with-h
(may need-v
too). -
reporter Thanks, that worked.
Thank you for your help!
-
- changed status to resolved
- Log in to comment
You are attempting to install a source rpm. You probably want the binary, which would be at https://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/ppc64/curl-7.70.0-3.ibmi7.2.ppc64.rpm
It’s also not recommended to use rpm directly, but install via yum, eg.
yum install curl-7.70.0-3.ibmi7.2.ppc64.rpm
. This will keep the metadata in sync between yum and rpm, otherwise if you ever want to use yum later it’ll be messed up.
You mention having SSH tunneling blocked, but have you tried using a local repo? https://ibmi-oss-docs.readthedocs.io/en/latest/yum/README.html#using-yum-on-an-ibm-i-system-without-internet-access