首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >为什么ubuntu服务器包依赖于更新通知程序-公共?

为什么ubuntu服务器包依赖于更新通知程序-公共?
EN

Ask Ubuntu用户
提问于 2018-11-21 14:23:59
回答 1查看 3.7K关注 0票数 2

我想卸载update-notifier-common并实现我自己的更新检查解决方案,但是每次尝试时,都会警告我这样做也会卸载ubuntu服务器包:

代码语言:javascript
复制
apt purge update-notifier-common 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  ubuntu-server* update-notifier-common*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 1460 kB disk space will be freed.
Do you want to continue? [Y/n]

update-notifier-commonubuntu-server提供了哪些功能,为什么ubuntu-server要依赖它?

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2018-11-21 14:28:54

文件列表update-manager-common显示了一些可能在服务器上使用的文件:

代码语言:javascript
复制
/etc/kernel/postinst.d/update-notifier
/etc/update-motd.d/90-updates-available
/etc/update-motd.d/95-hwe-eol
/etc/update-motd.d/98-fsck-at-reboot
/etc/update-motd.d/98-reboot-required

它向MOTD添加了各种有用的消息,并为内核包设置了重新启动所需的通知。这些能放在另一个包裹里吗?也许吧。他们应该是吗?我看不出令人信服的理由。

票数 4
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1094820

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档