升级问题:fglrx-core

升级问题:fglrx-core

我尝试升级 Linux 固件,但出现以下问题:

Get:1 http://gb.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-firmware all 1.187.31 [125 MB]
Fetched 125 MB in 18s (7,027 kB/s)                                             
(Reading database ... 194517 files and directories currently installed.)
Preparing to unpack .../linux-firmware_1.187.31_all.deb ...
Unpacking linux-firmware (1.187.31) over (1.187.30) ...
Setting up linux-firmware (1.187.31) ...
update-initramfs: Generating /boot/initrd.img-5.13.0-41-generic
update-initramfs: Generating /boot/initrd.img-5.13.0-40-generic
Setting up fglrx-core (2:15.201-0ubuntu1) ...
dpkg: error: version '-' has bad syntax: revision number is empty
dpkg: error: version '-' has bad syntax: revision number is empty
Removing old fglrx-core-15.201 DKMS files...

------------------------------
Deleting module version: 15.201
completely from the DKMS tree.
------------------------------
Done.
Loading new fglrx-core-15.201 DKMS files...
Building for 5.13.0-41-generic
Building for architecture x86_64
Building initial module for 5.13.0-41-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/fglrx-core.0.cr
ash'
Error! Bad return status for module build on kernel: 5.13.0-41-generic (x86_64)
Consult /var/lib/dkms/fglrx-core/15.201/build/make.log for more information.
dpkg: error processing package fglrx-core (--configure):
 installed fglrx-core package post-installation script subprocess returned error
 exit status 10
Errors were encountered while processing:
 fglrx-core
E: Sub-process /usr/bin/dpkg returned an error code (1)

有人有解决方案吗?

答案1

fglrx是一个过时的旧式 AMD GPU 驱动程序,无法针对当前的 Ubuntu 内核进行构建。

删除它

 sudo apt purge fglrx* 

相关内容