【问题标题】:Upgrading to 20.04 from 19.10 - Err:2 http://apt.postgresql.org/pub/repos/apt eoan-pgdg [closed]从 19.10 升级到 20.04 - Err:2 http://apt.postgresql.org/pub/repos/apt eoan-pgdg [关闭]
【发布时间】:2021-03-05 01:39:02
【问题描述】:

我在 Ubuntu 19.10 上并尝试将其升级到 20.04.1 LTS。但是当我运行sudo apt update 时出现以下错误:

Hit:1 https://dl.yarnpkg.com/debian stable InRelease
Hit:2 http://apt.postgresql.org/pub/repos/apt eoan-pgdg InRelease                                           
Err:2 http://apt.postgresql.org/pub/repos/apt eoan-pgdg InRelease             
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7FCC7D46ACCC4CF8
Ign:3 https://download.rethinkdb.com/apt eoan InRelease 
Err:4 https://download.rethinkdb.com/apt eoan Release   
  404  Not Found [IP: 167.172.11.96 443]
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://apt.postgresql.org/pub/repos/apt eoan-pgdg InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7FCC7D46ACCC4CF8
E: The repository 'https://download.rethinkdb.com/apt eoan Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

有什么办法可以消除这些错误吗?

我之前没有安装 postresql,不知道为什么会出现错误。

【问题讨论】:

    标签: postgresql ubuntu-20.04 ubuntu-19.10


    【解决方案1】:

    似乎有人设置了 PGDG 存储库,但没有安装 PostgreSQL。所以解决方法很简单:删除存储库配置。

    如果存储库是在the instructions from the PostgreSQL site 之后设置的,则解决方法应该像删除/etc/apt/sources.list.d/pgdg.list 一样简单。

    【讨论】:

      猜你喜欢
      • 2022-11-14
      • 2020-01-09
      • 2021-10-18
      • 2021-03-29
      • 2021-04-18
      • 1970-01-01
      • 1970-01-01
      • 2020-08-25
      • 1970-01-01
      相关资源
      最近更新 更多