![Ubuntu Server 16.04 更新失败?](https://linux22.com/image/915057/Ubuntu%20Server%2016.04%20%E6%9B%B4%E6%96%B0%E5%A4%B1%E8%B4%A5%EF%BC%9F.png)
最近安装了 Ubuntu Server 16.04.6 LTS 来运行无头家庭服务器。除了基本安装外,我还安装了 Samba 文件共享、OpenSSH 和 Plex Media Server。我没有在安装中选择自动安全更新。所有功能都运行良好,只有一个例外 - 更新。
在 clean/base 安装后,我立即以 root 身份运行了 apt-get update 和 apt-get upgrade,并且都正确执行。现在,当我运行 apt-get update 和 apt-get upgrade 时,我的系统会轮询存储库并获取更新(见下面的输出)。但在下次启动/重启时,更新似乎没有生效,因为“可用更新”报告行显示的数据与之前相同。
我是第一次运行自己的服务器,所以我怀疑这是由于我缺乏经验导致的简单问题,但无法找到解决办法。有什么想法吗?
Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-159-generic x86_64)
8 packages can be updated.
1 update is a security update.
Last login: Fri Aug 16 15:05:28 2019 from 127.0.0.1
xx@xxserver:~$ su
Password:
root@xxserver:/home/xx# apt-get update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
... (deleted intervening entries)
Get:11 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [4,328 B]
Fetched 3,658 kB in 7s (491 kB/s)
Reading package lists... Done
root@xxserver:/home/xx# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libdrm2 open-vm-tools ubuntu-minimal
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
root@xxserver:/home/xx#
---------------------------reboot--------------------------------------------------
Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-159-generic x86_64)
8 packages can be updated.
1 update is a security update.
New release '18.04.2 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
Last login: Fri Aug 16 16:06:56 2019 from 127.0.0.1
xx@xxserver:~$