我已以 root 身份登录并运行
apt-get update
apt-get upgrade
之后重新启动了。
但是,当天的消息仍然显示我有 7 个包可以更新。
Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 3.13.0-24-generic i686)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Tue Apr 25 12:34:11 SGT 2017
System load: 0.0 Processes: 116
Usage of /: 69.1% of 19.56GB Users logged in: 1
Memory usage: 50% IP address for eth0: **
Swap usage: 0% IP address for tun0: **
Graph this data and manage this system at:
https://landscape.canonical.com/
7 packages can be updated.
7 updates are security updates.
已尝试运行update-motd
但仍然显示相同的内容。
我如何查看和更新这些包?
输出apt list --upgradable
:
linux-generic/xenial-updates,xenial-security 4.4.0.75.81 i386 [upgradable from: 4.4.0.59.62]
linux-headers-generic/xenial-updates,xenial-security 4.4.0.75.81 i386 [upgradable from: 4.4.0.59.62]
linux-image-generic/xenial-updates,xenial-security 4.4.0.75.81 i386 [upgradable from: 4.4.0.59.62]
N: Ignoring file '50unattended-upgrades.ucf-old' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
输出/usr/lib/update-notifier/apt-check --human-readable
:
7 packages can be updated.
7 updates are security updates.
答案1
我可以通过手动升级 linux-headers-generic 包来解决这个问题:
sudo apt-get install linux-headers-generic