![无法分发升级 16.04.2LTS](https://linux22.com/image/1001523/%E6%97%A0%E6%B3%95%E5%88%86%E5%8F%91%E5%8D%87%E7%BA%A7%2016.04.2LTS.png)
我无法让我的服务器成功运行 dist-upgrade。我一直卡在“update-initramfs:生成 /boot/initrd.img-4.4.0-83-generic”。
它可以重新启动,并且一切似乎都正常,否则我只是无法完成更新。
user@server:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
linux-headers-4.4.0-83 linux-headers-4.4.0-83-generic linux-image-4.4.0-83-generic linux-image-extra-4.4.0-83-generic
The following packages will be upgraded:
linux-generic linux-headers-generic linux-image-generic
3 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 68.6 MB of archives.
After this operation, 297 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
<<Gets removed because I don't have the rep>>
headers-generic amd64 4.4.0.83.89 [2,260 B]
Fetched 68.6 MB in 34s (1,960 kB/s)
Selecting previously unselected package linux-image-4.4.0-83-generic.
(Reading database ... 62521 files and directories currently installed.)
Preparing to unpack .../linux-image-4.4.0-83-generic_4.4.0-83.106_amd64.deb ...
Done.
Unpacking linux-image-4.4.0-83-generic (4.4.0-83.106) ...
Selecting previously unselected package linux-image-extra-4.4.0-83-generic.
Preparing to unpack .../linux-image-extra-4.4.0-83-generic_4.4.0-83.106_amd64.deb ...
Unpacking linux-image-extra-4.4.0-83-generic (4.4.0-83.106) ...
Preparing to unpack .../linux-generic_4.4.0.83.89_amd64.deb ...
Unpacking linux-generic (4.4.0.83.89) over (4.4.0.62.65) ...
Preparing to unpack .../linux-image-generic_4.4.0.83.89_amd64.deb ...
Unpacking linux-image-generic (4.4.0.83.89) over (4.4.0.62.65) ...
Selecting previously unselected package linux-headers-4.4.0-83.
Preparing to unpack .../linux-headers-4.4.0-83_4.4.0-83.106_all.deb ...
Unpacking linux-headers-4.4.0-83 (4.4.0-83.106) ...
Selecting previously unselected package linux-headers-4.4.0-83-generic.
Preparing to unpack .../linux-headers-4.4.0-83-generic_4.4.0-83.106_amd64.deb ...
Unpacking linux-headers-4.4.0-83-generic (4.4.0-83.106) ...
Preparing to unpack .../linux-headers-generic_4.4.0.83.89_amd64.deb ...
Unpacking linux-headers-generic (4.4.0.83.89) over (4.4.0.62.65) ...
Setting up linux-image-4.4.0-83-generic (4.4.0-83.106) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-83-generic