zoukankan      html  css  js  c++  java
  • arclinux安装报错unknown trust

    最近在自己的arclinux上安装postgreSQL的时候出现错误如下:

    error: postgresql-libs: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust

    arclinux论坛搜到帖子:

    https://bbs.archlinux.org/viewtopic.php?id=143337

    解决办法所删掉 /etc/pacman.d/gnupg/ ,由于文件夹下太多东西,不放心,移动到备份目录

    sudo mv /etc/pacman.d/gnupg/ /etc/pacman.d/gnupg.bk/

    这个时候如果再安装,会报错说:

    warning: Public keyring not found; have you run 'pacman-key --init'?
    downloading required keys...
    error: key "FC1B547C8D8172C8" 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.

    需要更新pacman 的key

    pacman-key --init
    pacman-key --populate archlinux

     如果还是不行,就关掉校验吧

    sudo vim /etc/pacman.conf

    把里面的SigLevel设置为 Never

  • 相关阅读:
    CSS 备忘
    header操作cookie
    定时器传参数
    Display 和Visible 区别
    php 笔记
    概要设计要求
    iOS 之 UITextView
    iOS 按钮设置图片和事件
    iOS 设置控件圆角、文字、字体
    iOS 之 UIScrollView
  • 原文地址:https://www.cnblogs.com/javaxiu/p/6761765.html
Copyright © 2011-2022 走看看