这一切都始于我尝试将 AMD ROCm 从 3.5 版更新到 4.0 版以运行 tensorflow-rocm 之后。新版本的 ROCm 根本不起作用。尝试安装或运行时apt-get upgrade
,Ubuntu (20.04 LTS) 抛出以下错误。
Setting up qgis-providers (1:3.16.3+32focal) ...
- 'VirtualXPath' [XML Path Language - XPath]
- 'VirtualXPath' [XML Path Language - XPath]
- 'VirtualXPath' [XML Path Language - XPath]
free(): invalid pointer
Aborted (core dumped)
dpkg: error processing package qgis-providers (--configure):
installed qgis-providers package post-installation script subprocess returned error exit status 134 dpkg: dependency problems prevent configuration of qgis:
qgis depends on qgis-providers (= 1:3.16.3+32focal); however:
Package qgis-providers is not configured yet.
dpkg: error processing package qgis (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-qgis:
python3-qgis depends on qgis-providers (= 1:3.16.3+32focal); however:
Package qgis-providers is not configured yet.
dpkg: error processing package python3-qgis (--configure):
dependency problems - leaving unconfigured
Setting up rock-dkms (1:4.0-23) ...
Removing old amdgpu-4.0-23 DKMS files...
------------------------------
Deleting module version: 4.0-23
completely from the DKMS tree.
------------------------------
Done.
Loading new amdgpu-4.0-23 DKMS files...
Building for 5.8.0-38-generic 5.8.0-41-generic
Building for architecture x86_64
Building initial module for 5.8.0-38-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/rock-dkms-firmware.0.crash'
Error! Bad return status for module build on kernel: 5.8.0-38-generic (x86_64)
Consult /var/lib/dkms/amdgpu/4.0-23/build/make.log for more information.
dpkg: error processing package rock-dkms (--configure):
installed rock-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of rocm-dkms:
rocm-dkms depends on rock-dkms; however:
Package rock-dkms is not configured yet.
dpkg: error processing package rocm-dkms (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
qgis-providers
qgis
python3-qgis
rock-dkms
rocm-dkms
运行sudo dpkg --configure -a
也会引发同样的错误。