Ubuntu第三方系统安装错误

安装第三方定制Ubuntu时遇到如下错误
反复尝试多次无果
64位
内核版本:5.11.0-31-generic

错误信息:



安装失败
外部命令已完成,但出现了错误。
命令  apt install -y --no-upgrage -o Acquire::gpgv::Options::=--ignore-time-conflict shim-signed 以退出代码100完成。
WARNING:apt does not have a stable CLI interface. 
Use with caution in scripts.
Reading package lists...
Building dependency tree...
Recommends: secureboot-db but it is not installable
E:/Unable to correct problems,you have held broken packages


可能是脚本命令错误

img

应该是--no-upgrade
先列出被挂起的包

apt-mark showhold

然后取消挂起

sudo apt-mark unhold <package name>

也可以尝试卸载这个包,然后运行修改后的脚本命令