每当我尝试安装任何东西时都会出现以下错误
(Reading database ... 162729 files and directories currently installed.)
Removing crossplatformui (2.0.6) ...
ztemtvcdromd: no process found
dpkg: error processing package crossplatformui (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
crossplatformui
E: Sub-process /usr/bin/dpkg returned an error code (1)
答案1
1.输入/var/lib/dpkg/info
cd /var/lib/dpkg/info
2.删除所有与 crossplatformui 相关的条目
sudo rm crossplatformui.*
3.强制删除 crossplatformui
sudo dpkg --remove --force-remove-reinstreq crossplatformui
4.显示内容为:
(Reading database ...
dpkg: warning: files list file for package `crossplatformui' missing, assuming package has no files currently installed.
(Reading database ... 159448 files and directories currently installed.)
Removing crossplatformui ...