I am trying to install some packages and yum fails every time stating that the package should be installed by load-transaction command.
I want yum to fetch the packages from internet and install it as exiting in this way is lame?
Please find the yum command and output:
Command:
Step 4 : RUN yum install httpd php php-cli gcc glibc glibc-common gd gd-devel net-snmp openssl-devel wget unzip
---> Running in b0cdbf62be4e
Output:
Total download size: 82 M
Installed size: 186 M
Is this ok [y/d/N]: Exiting on user command
Your transaction was saved, rerun it with:
yum load-transaction /tmp/yum_save_tx.2016-07-21.12-39.KWu7ih.yumtx
The command '/bin/sh -c yum install httpd php php-cli gcc glibc glibc-common gd gd-devel net-snmp openssl-devel wget unzip' returned a non-zero code: 1
Now the funny thing is it is happening in docker build process so I thought to delete the interim image but its happening even if I delete the image.
I looked at yum help but there are no flags which would override/force installation regardless if it is saved.
I tried even yum clean all before yum -y install but its of no use.
yum -y install ...
toyum install -y ...
) – Dan M. Sep 28 '21 at 12:26