软件包 linux-firmware 未安装...请参阅下文。请帮忙

软件包 linux-firmware 未安装...请参阅下文。请帮忙
sudo apt-get -f install linux-firmware
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  amd64-microcode intel-microcode iucode-tool
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  linux-firmware
0 upgraded, 1 newly installed, 0 to remove and 1800 not upgraded.
36 not fully installed or removed.
Need to get 0 B/27.6 MB of archives.
After this operation, 50.7 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  linux-firmware
Install these packages without verification [y/N]? y
(Reading database ... 355777 files and directories currently installed.)
Unpacking linux-firmware (from .../linux-firmware_1.79.18_all.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-firmware_1.79.18_all.deb (--unpack):
 trying to overwrite '/lib/firmware/usbduxfast_firmware.bin', which is also in package firmware-linux-free 3.3
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/linux-firmware_1.79.18_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
apt-get autoremove 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 linux-image-generic : Depends: linux-firmware but it is not installed
E: Unmet dependencies. Try using -f.

答案1

您安装了一些linux-firmware-free与 冲突的自定义包linux-firmware

您可以通过以下方式修复它

sudo apt-get remove linux-firmware-free
sudo apt-get install linux-firmware

答案2

尝试使用aptitude install linux-firmware- 它将为您提供一些解决依赖问题的选项。

注意: apt-get -f install应作为单独的命令使用,无需任何软件包。您可以尝试apt-get -f install; apt-get -f install linux-firmware但不能apt-get -f install linux-firmware。当然请sudo相应使用。

相关内容