- 工信部备案号 滇ICP备05000110号-1
- 滇公安备案 滇53010302000111
- 增值电信业务经营许可证 B1.B2-20181647、滇B1.B2-20190004
- 云南互联网协会理事单位
- 安全联盟认证网站身份V标记
- 域名注册服务机构许可:滇D3-20230001
- 代理域名注册服务机构:新网数码
在使用yum命令安装rpm时,有时会出现如下错误:
Install 0 Package(s)
Update 0 Package(s)
Remove 9 Package(s)
Is this ok [y/N]: n
Exiting on user Command
Complete!
在网上查了很多资料都没有明确的说明,后来在如下的链接中找到了答案:
http://www.landui.com/index.php?/archives/35-Package-Management-Week-Using-Yum.html
其中有说明到“Note that adding the option -y to the yum command line would skip the confirmation step and proceed directly to installing or removing the requested package(s).”
所以,我们在使用yum安装rpm包时,如果出现“Exiting on user Command”的错误,请在yum命令后加上“-y”选项。
命令如下:
#yum localinstall-y libX11-devel-1.3.4-3.fc14.i686.rpm
原文地址:http://www.landui.com/yuanyuan_186/article/details/8487862
售前咨询
售后咨询
备案咨询
二维码
TOP