yum 是否保留未成功更新的缓存
我想知道如果更新不成功,例如在更新期间计算机重新启动,但下载了一些软件包,yum 是否会保留下载的软件包的现金。 它会重新下载已经下载的软件包还是会继续下载其他软件包? 实际上,配置文件中的 keepcache 选项表示,如果安装成功,它会保留下载的文件...但是如果安装不成功怎么办?
I would like to know does yum keep cash of downloaded packages if update was not successful, for example during update computer was restarted, but some packages were downloaded.
Will it redownload already downloaded packages or will continue downloading others ?
Actually keepcache option in config file says that it keeps downloaded files if installation was successful ... but what about it it is not successful ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您在下载过程中退出,或者网络中断等,那么 yum 会很乐意保留已下载的内容,并在您下次要求时继续。
请注意,虽然如果您要更新到 foo-2,并下载了其中的一半,但是下次您使用 yum 时 foo-3 可用,那么 yum 只会保留 foo-2 并尝试更新到 foo-3(并且因此下载它)。
If you quit during the download, or the network dies, etc. Then yum will happily keep what has already been downloaded and continue when you next ask it to.
Note that though if you are updating to foo-2, and download half of it, but then the next time you use yum foo-3 is available then yum will just leave foo-2 alone and try to update to foo-3 (and thus. download it).