运行升级时出现 LSB 错误消息

运行升级时出现 LSB 错误消息

运行 sudo apt-get update && sudo apt-get upgrade 后,终端中显示此消息:

包配置

Configuring sysv-rc 
Unable to migrate to dependency-based boot system                           
Tests have determined that problems in the boot system exist which          
prevent migration to dependency-based boot sequencing:                      
insserv: warning: script 'K20acpi-support' missing LSB tags and             
overrides, insserv: warning: script 'alsa-store' missing LSB tags and       
overrides, insserv: warning: script 'irqbalance' missing LSB tags and       
overrides, insserv: warning: script 'dbus' missing LSB tags and             
overrides, insserv: warning: script 'udevtrigger' missing LSB tags and      
overrides, insserv: warning: script 'gdm' missing LSB tags and              
overrides, insserv: warning: script 'console-setup' missing LSB tags and

Configuring sysv-rc
Unable to migrate to dependency-based boot system                           
Tests have determined that problems in the boot system exist which          
prevent migration to dependency-based boot sequencing:                      
insserv: warning: script 'K20acpi-support' missing LSB tags and             
overrides, insserv: warning: script 'alsa-store' missing LSB tags and       
overrides, insserv: warning: script 'irqbalance' missing LSB tags and       
overrides, insserv: warning: script 'dbus' missing LSB tags and             
overrides, insserv: warning: script 'udevtrigger' missing LSB tags and      
overrides, insserv: warning: script 'gdm' missing LSB tags and              
overrides, insserv: warning: script 'console-setup' missing LSB tags and    
ok                                                                           

我不知道该如何修复。非常感谢您的帮助!

答案1

您需要删除 --purge 所有这些包,然后重试sudo apt-get update && sudo apt-get upgrade

这就成功了。

相关内容