yum 安装rpm包是出现Exiting on user Command错误
2011-07-29 16:41
387 查看
在使用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
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
相关文章推荐
- yum 安装rpm包是出现Exiting on user Command错误
- redhat7.0/centos7.0 yum安装提示Exiting on user cancel的解决方法
- centos 7 升级后yum install出现Exiting on user cancel
- 解决yum/rpm安装时出现的“error: install: %pre scriptlet failed”类似错误
- 解决yum/rpm安装时出现的“error: install: %pre scriptlet failed”类似错误
- 安装appach时出现没有安装gcc的错误,用yum安装gcc时yum出现错误(修改yum配置)
- 【转】CentOS 使用yum命令安装出现错误提示”could not retrieve mirrorlist http://mirrorlist.centos.org ***”
- yum 安装 nfs,rpcbind 出现错误 libc.so.6(GLIBC_2.14)(64bit) is needed by
- CentOS6.5 安装Python2.7后, yum出现“No module named yum”错误
- CentOS 使用yum命令安装出现错误提示”could not retrieve mirrorlist http://mirrorlist.centos.org
- 安装NDK:Cygwin中出现-bash: $'\r': command not found 错误 的解决办法
- 安装kernel...src.rpm错误:warning: user mockbuild does not exist - using root
- yum安装软件包时出现Transaction Check Error:错误的解决方法
- yum 安装的时候出现错误
- CentOS升级Python3.x.x后安装pip出现command not found 错误
- rpm和yum的使用,程序包编译安装以及编译apache过程中出现的问题
- 关于Python安装模块出现error: command 'gcc' failed with exit status 1错误的解决方法
- Yum安装中出现错误mirrorlist.txt的解决方法
- CentOS6 安装Python2.7后,yum出现“No module named yum”错误
- Yum离线安装(五) --- yum 出现Public Key错误的解决