标题: 错误 Sub-process /usr/bin/dpkg returned an error code (1) [打印本页] 作者: linda 时间: 2022-5-11 11:33 标题: 错误 Sub-process /usr/bin/dpkg returned an error code (1)
In my case, I had an issue with polar-bookshelf. So I looked for the files associated with it:
ls -l /var/lib/dpkg/info | grep -i polar-bookshelf
-rw-r--r-- 1 root root 2324811 Aug 14 19:29 polar-bookshelf.list
-rw-r--r-- 1 root root 2822824 Aug 10 04:28 polar-bookshelf.md5sums
-rwxr-xr-x 1 root root 113 Aug 10 04:28 polar-bookshelf.postinst
-rwxr-xr-x 1 root root 84 Aug 10 04:28 polar-bookshelf.postrm
Now all I needed to do was to remove these files: