Munin 图表显示 3 个可升级的安全包(红色警报),但 apt 不会安装它们

Munin 图表显示 3 个可升级的安全包(红色警报),但 apt 不会安装它们

我正在使用这个 munin 插件:http://exchange.munin-monitoring.org/plugins/apt_ubuntu/details

该服务器是最新的 ubuntu 10.04。

所以..

这是我的 munin 服务器,它在其自己的 munin 图表上显示系统上的红色警报,即“3 个安全可升级包”的警报。

但包裹被扣留了。

我该怎么做才能让闹钟消失?

root@fbmmu01:/home/admmarc# **apt-get update**
Hit http://ppa.launchpad.net lucid Release.gpg
.......[some repos which show no error]
Reading package lists... Done
root@fbmmu01:/home/admmarc# **apt-get upgrade**
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  linux-generic linux-headers-generic linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
root@fbmmu01:/home/admmarc#

谢谢。

答案1

好的,从 munin-exchange 插件页面本身,在评论中我发现了这一点:

由 C. Alex Roeber 于 2010 年 10 月 25 日 18:54 撰写。

请记住,apt-update 不会升级内核或其他一些安全包。运行 apt-get upgrade,它会告诉您哪些包未升级。然后对它们运行 apt-get install。

祝你好运

所以我按照它说的做了:

apt-get 安装 linux-generic linux-headers-generic linux-image-generic

此后:

root@fbmmu01:/home/admmarc# /etc/munin/plugins/apt-ubuntu 
security.value 0
updates.value 0
proposed.value 0
backports.value 0
other.value 0
total.value 0

所以,只是因为内核包不关心升级,所以需要安装它们。

相关内容