我正在尝试安装一些软件包,但每次 yum 都失败了,说明应通过 load-transaction 命令安装该软件包。
我希望 yum 从互联网上获取软件包并安装它,因为以这种方式退出是蹩脚的?
请找到 yum 命令和输出:
命令:
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
Run Code Online (Sandbox Code Playgroud)
输出:
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' …
Run Code Online (Sandbox Code Playgroud) centos ×1