|
发表于 2018-12-25 08:23:43
|
显示全部楼层
这是 bug 吗?
anynode
----------------------------------------
Selecting previously unselected package linux-image-4.14.90.
(Reading database ... 26296 files and directories currently installed.)
Preparing to unpack linux-image-4.14.90.deb ...
Done.
Unpacking linux-image-4.14.90 (4.14.90-10.00.Custom) ...
Setting up linux-image-4.14.90 (4.14.90-10.00.Custom) ...
Hmm. There is a symbolic link /lib/modules/4.14.90/build
However, I can not read it: No such file or directory
Therefore, I am deleting /lib/modules/4.14.90/build
Hmm. The package shipped with a symbolic link /lib/modules/4.14.90/source
However, I can not read the target: No such file or directory
Therefore, I am deleting /lib/modules/4.14.90/source
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.14.90 /boot/vmlinuz-4.14.90
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.14.90 /boot/vmlinuz-4.14.90
update-initramfs: Generating /boot/initrd.img-4.14.90
W: initramfs-tools configuration sets RESUME=UUID=8564e379-d91c-49e5-b290-0f18aa576565
W: but no matching swap device is available.
I: The initramfs will attempt to resume from /dev/vda2
I: (UUID=0aa09bd3-75f2-47c4-afdf-bb5b88ddd8f2)
I: Set the RESUME variable to override this.
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.14.90 /boot/vmlinuz-4.14.90
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.14.90
Found initrd image: /boot/initrd.img-4.14.90
Found linux image: /boot/vmlinuz-4.9.0-4-amd64
Found initrd image: /boot/initrd.img-4.9.0-4-amd64
Killed
yanqing001 发表于 2018-12-25 14:04
这是 bug 吗?
anynode
Ctrl + c
然后
---------------------------
Killed
^Cdpkg: error processing package linux-image-4.14.90 (--install):
subprocess installed post-installation script was interrupted
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-4.14.90.postinst line 391.
Errors were encountered while processing:
linux-image-4.14.90
检测到 2 个其余内核,开始卸载...
开始卸载 linux-image-4.9.0-4-amd64 内核...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-image-4.9.0-4-amd64* linux-image-amd64*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 190 MB disk space will be freed.
(Reading database ... 30538 files and directories currently installed.)
Removing linux-image-amd64 (4.9+80+deb9u2) ...
Removing linux-image-4.9.0-4-amd64 (4.9.51-1) ...
W: Removing the running kernel
I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.14.90
I: /initrd.img.old is now a symlink to boot/initrd.img-4.14.90
I: /vmlinuz is now a symlink to boot/vmlinuz-4.14.90
I: /initrd.img is now a symlink to boot/initrd.img-4.14.90
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.9.0-4-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.14.90
Found initrd image: /boot/initrd.img-4.14.90
done
Setting up linux-image-4.14.90 (4.14.90-10.00.Custom) ...
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.14.90 /boot/vmlinuz-4.14.90
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.14.90 /boot/vmlinuz-4.14.90
update-initramfs: Generating /boot/initrd.img-4.14.90
W: initramfs-tools configuration sets RESUME=UUID=8564e379-d91c-49e5-b290-0f18aa576565
W: but no matching swap device is available.
I: The initramfs will attempt to resume from /dev/vda2
I: (UUID=0aa09bd3-75f2-47c4-afdf-bb5b88ddd8f2)
I: Set the RESUME variable to override this.
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.14.90 /boot/vmlinuz-4.14.90
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.14.90
Found initrd image: /boot/initrd.img-4.14.90
done
(Reading database ... 26306 files and directories currently installed.)
Purging configuration files for linux-image-4.9.0-4-amd64 (4.9.51-1) ...
W: APT had planned for dpkg to do more than it reported back (10 vs 14).
Affected packages: linux-image-4.14.90:amd64
卸载 linux-image-4.9.0-4-amd64 内核卸载完成,继续...
开始卸载 内核...
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
卸载 内核卸载完成,继续...
内核卸载完毕,继续...
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.14.90
Found initrd image: /boot/initrd.img-4.14.90
done
[注意] 重启VPS后,请重新运行脚本开启BBRplus
需要重启VPS后,才能开启BBRplus,是否现在重启 ? [Y/n] :
[信息] VPS 重启中...
|
|