西数超哥博客
运维经验教程分享

yum 安装rpm包是出现Exiting on user Command错误

在使用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://dailypackage.fedorabook.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://blog.csdn.net/yuanyuan_186/article/details/8487862

转载请注明:西数超哥博客www.ysidc.top» yum 安装rpm包是出现Exiting on user Command错误

https://www.ysidc.top 西数超哥博客,数据库,西数超哥,虚拟主机,域名注册,域名,云服务器,云主机,云建站,ysidc.top

赞(0)
声明:本站发布的内容(图片、视频和文字)以原创、转载和分享网络内容为主,若涉及侵权请及时告知,将会在第一时间删除。本站原创内容未经允许不得转载:西数超哥博客 » yum 安装rpm包是出现Exiting on user Command错误