启用 FIPS 后安装软件包时出现问题

启用 FIPS 后安装软件包时出现问题

最近安装了 20.04 并启用了 FIPS,然后尝试安装一个名为 ffmpeg 的软件包,但失败了。
我尝试在装有 20.04 的笔记本电脑上安装同一个软件包,没有出现任何问题。

有没有人遇到过下面显示的此类问题:

sudo apt install ffmpeg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 ffmpeg : Depends: libavdevice58 (= 7:4.2.4-1ubuntu0.1) but it is not going to be installed
          Depends: libavresample4 (= 7:4.2.4-1ubuntu0.1) but it is not going to be installed
          Depends: libsdl2-2.0-0 (>= 2.0.10) but it is not going to be installed
 linux-image-generic-hwe-20.04 : Depends: linux-image-5.11.0-38-generic but it is not going to be installed
 linux-modules-5.11.0-38-generic : Depends: linux-image-5.11.0-38-generic but it is not going to be installed or linux-image-unsigned-5.11.0-38-generic but it is not going to be installed
 linux-modules-extra-5.11.0-38-generic : Depends: linux-image-5.11.0-38-generic but it is not going to be installed or linux-image-unsigned-5.11.0-38-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libfprint-2-tod1 shim
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  linux-image-5.11.0-38-generic
Suggested packages:
  fdutils linux-doc | linux-hwe-5.11-source-5.11.0 linux-hwe-5.11-tools
The following NEW packages will be installed:
  linux-image-5.11.0-38-generic
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
7 not fully installed or removed.
Need to get 0 B/9,912 kB of archives.
After this operation, 10.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 238096 files and directories currently installed.)
Preparing to unpack .../linux-image-5.11.0-38-generic_5.11.0-38.42~20.04.1_amd64.deb ...
Unpacking linux-image-5.11.0-38-generic (5.11.0-38.42~20.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-5.11.0-38-generic_5.11.0-38.42~20.04.1_amd64.deb (--unpack):
 unable to open '/boot/vmlinuz-5.11.0-38-generic.dpkg-new': Operation not permitted
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-5.11.0-38-generic_5.11.0-38.42~20.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

非常感谢您的意见!Lrios

相关内容