美文网首页
/etc/pacman.conf设置SigLevel = Nev

/etc/pacman.conf设置SigLevel = Nev

作者: 苍蝇的梦 | 来源:发表于2022-10-19 20:00 被阅读0次

    2022-10-10 遇到的一点小问题

    今天在更新应用时遇到了密钥错误的问题,无法正常更新。

    [root@wannoo ~]# pacman -S gcc-libs
    resolving dependencies...
    looking for conflicting packages...
    
    Packages (1) gcc-libs-12.2.0-1
    
    Total Download Size:     0.05 MiB
    Total Installed Size:  137.72 MiB
    Net Upgrade Size:       32.15 MiB
    
    :: Proceed with installation? [Y/n] y
    :: Retrieving packages...
     gcc-libs-12.2.0-1-x86_64                                                 55.6 KiB  27.8K/s 00:02 [##########################################################] 100%
    (1/1) checking keys in keyring                                                                    [##########################################################] 100%
    downloading required keys...
    error: key "9D4CWANNOO26DA0A" could not be looked up remotely
    error: required key missing from keyring
    error: failed to commit transaction (unexpected error)
    Errors occurred, no packages were upgraded.
    

    这个网上搜一下,有挺多的。

    把文件/etc/pacman.conf里面的SigLevel = Required DatabaseOptional修改为SigLevel = Never就可以了。

    Never : All signature checking is suppressed, even if signatures are present.

    这个设置相关的几个文档,记录一下:
    Pacman
    Package_signing
    pacman.conf

    pacman.conf

    相关文章

      网友评论

          本文标题:/etc/pacman.conf设置SigLevel = Nev

          本文链接:https://www.haomeiwen.com/subject/kljzartx.html