![卸载了一个软件包,但不断出现签名错误并且无法更新系统](https://linux22.com/image/230819/%E5%8D%B8%E8%BD%BD%E4%BA%86%E4%B8%80%E4%B8%AA%E8%BD%AF%E4%BB%B6%E5%8C%85%EF%BC%8C%E4%BD%86%E4%B8%8D%E6%96%AD%E5%87%BA%E7%8E%B0%E7%AD%BE%E5%90%8D%E9%94%99%E8%AF%AF%E5%B9%B6%E4%B8%94%E6%97%A0%E6%B3%95%E6%9B%B4%E6%96%B0%E7%B3%BB%E7%BB%9F.png)
我安装了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