卸载了一个软件包,但不断出现签名错误并且无法更新系统

卸载了一个软件包,但不断出现签名错误并且无法更新系统

我安装了sublime-text,然后又卸载了。去检查:

> sudo pactree sublime-text
error: package 'sublime-text' not found
> sudo pactree -r sublime-text
error: package 'sublime-text' not found

现在我想更新我的系统:

> sudo pacman -Syu
error: sublime-text: signature from "Sublime HQ Pty Ltd <[email protected]>" is unknown trust
:: Synchronizing package databases...
 system is up to date
 world is up to date
 galaxy is up to date
 lib32 is up to date
 universe is up to date
 omniverse is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 sublime-text                                                                                     1837.0   B  4.30 KiB/s 00:00 [----------------------------------------------------------------------------] 100%
error: sublime-text: signature from "Sublime HQ Pty Ltd <[email protected]>" is unknown trust
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))

看起来还有一些东西sublime-text不允许我继续。如何从这个软件包中彻底清理我的系统?

答案1

检查你的 /etc/pacman.conf 中是否还有 sublime repo

[sublime-text]
Server = https://download.sublimetext.com/arch/stable/x86_64

如果你这样做,你需要做的就是删除它然后 pacman -Syu 它会让你更新

然后 pacman -d/删除密钥 pacman -d 8A8F901A

相关内容