更新 grub 返回:
/usr/sbin/grub-mkconfig: 12: /etc/default/grub: GRUB_CMDLINE_LINUX=acpi_osi=Linux acpi_backlight=vendor: not found
Run Code Online (Sandbox Code Playgroud)
而且apt-get upgrade命令没有执行成功,它以这个消息结束:
/var/lib/dpkg/info/grub-pc.config: 12: /etc/default/grub: GRUB_CMDLINE_LINUX=acpi_osi=Linux acpi_backlight=vendor: not found
dpkg: error processing package grub-pc (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
Run Code Online (Sandbox Code Playgroud)
grub 文件:/etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub …Run Code Online (Sandbox Code Playgroud) grub2 ×1