apt-get update/install 时出现的问题

apt-get update/install 时出现的问题

我在执行此命令时遇到问题,apt-get update甚至install在尝试更新我的 OVH 内核版本时(4.19-ovh-xxxx-std-ipv6-64

这是错误

up linux-image-4.4.0-170-generic (4.4.0-170.199) ...
Processing triggers for linux-image-4.4.0-170-generic (4.4.0-170.199) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.4.0-170-generic
/etc/kernel/postinst.d/zz-update-grub:
Searching for GRUB installation directory ... found: /boot/grub
/etc/default/grub: line 27: want: command not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
dpkg: error processing package linux-image-4.4.0-170-generic (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 linux-image-4.4.0-170-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

编辑:这是一些人要求的 /etc/default 文件夹中的 grub 文件。 https://hastebin.com/onecitenog.ini

相关内容