首页 > 其他 > 详细

yum更新出错-解决

时间:2018-07-30 13:09:47      阅读:2666      评论:0      收藏:0      [点我收藏+]

Total download size: 14 M
Is this ok [y/d/N]:

 

命令里已经yum install -y了,但是还是需要选择Y,N没有自动执行,请问这个要怎么破。

PS:我是在Dockerfile里设置,然后进入镜像手动测试,Dockerfile报错如下:

Is this ok [y/d/N]: Exiting on user command
Your transaction was saved, rerun it with:
yum load-transaction /tmp/yum_save_tx.2018-02-01.02-10.O1ZlZ_.yumtx
The command ‘/bin/sh -c yum update && yum install telnet -y‘ returned a non-zero code: 1

需要执行:

yum update -y && yum install telnet -y 

说明yum update过程中需要确认

yum更新出错-解决

原文:https://www.cnblogs.com/fuyuteng/p/9389908.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!