什么时候什么也不做,请注销或重新启动以响应系统更新 [英] When to do nothing, logout or reboot in response to a system update

查看:112
本文介绍了什么时候什么也不做,请注销或重新启动以响应系统更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到,当我使用PackageKit在Fedora上更新编程工具(程序包)时,有时会被告知需要注销或重新启动.但是,在使用Yum(首选)时,没有这样的建议(据我所知).我的经验法则是,如果我看到某个工具或插件(Eclipse)进行了更新,则将重新启动该工具.如果它是系统组件,例如kde-base或panel,我将注销,并且如果安装了新内核,将重新启动.麻烦的是,当有数百个软件包涉及更新时,要意识到如此之多,实在是太麻烦了.

I've noticed that when I update my programming tools (packages) on Fedora using PackageKit, I will occasionally be told that I need to logout or reboot. Yet when using Yum (preferred), no such advice is present (to the best of my awareness). My rule of thumb is that if I see a tool or plugin (Eclipse) has an update, I will restart the tool. If it is a system component, like kde-base or panel, I will logout and if there is a new kernel installed that will be a reboot. Trouble is, it is just too onerous to be so aware when there are hundreds of packages involved in an update.

这也适用于Ubuntu/Debian/etc上的apt-get.但我怀疑对于Windows或Mac而言,它不是很多.

This also applies to apt-get on Ubuntu/Debian/etc. but not so much for Windows or Mac, I suspect.

推荐答案

yum-security插件应尽快处理需要重启"信息,并发出警告/消息.

The yum-security plugin should soon be processing the "needs-restart" information, and issuing a warning/message.

您还可以使用需求重新启动(从yum-utils软件包中)或"yum ps"(从yum-plugin-ps软件包中).

You can also use needs-restarting (from the yum-utils package), or "yum ps" (from the yum-plugin-ps package).

这篇关于什么时候什么也不做,请注销或重新启动以响应系统更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆