gpt4 book ai didi

postgresql - 错误 | sudo apt-get 更新:404 未找到 [IP:2604:1380:2000:7501::69 80]

转载 作者:行者123 更新时间:2023-12-04 18:59:56 25 4
gpt4 key购买 nike

关闭。这个问题需要debugging details .它目前不接受答案。












编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将帮助其他人回答问题。


去年关闭。







Improve this question




执行时出现错误:

sudo apt-get update
错误:
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:5 http://apt.postgresql.org/pub/repos/apt bionic-pgdg InRelease
Ign:6 http://apt.postgresql.org/pub/repos/apt utopic-pgdg InRelease
Hit:7 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/bionic pgadmin4 InRelease
Err:8 http://apt.postgresql.org/pub/repos/apt utopic-pgdg Release
404 Not Found [IP: 2604:1380:2000:7501::69 80]
Reading package lists... Done
E: The repository 'http://apt.postgresql.org/pub/repos/apt utopic-pgdg Release' does not have 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.

我已经经历了许多类似的问题,但没有一个解决方案可以帮助我解决这个问题。我什至更换了 source.list并尝试遵循这些解决方案中提到的所有步骤。
作为ubuntu服务器系统的新用户,此时我不确定这是程序安装问题还是系统问题。
服务器:Ubuntu 18.04 LTS
谁能帮我解决这个问题?

最佳答案

问题是你有:

Ign:6 http://apt.postgresql.org/pub/repos/apt utopic-pgdg InRelease

该版本没有发布。仅供引用,Postgres(PGDG) 存储库仅涵盖 LTS 版本。您将需要摆脱 Ubuntu Utopic(14.10) 存储库。它可能在:
/etc/apt/sources.list.d/pgdg.list

更新。添加进一步的步骤以查找 repo。
如果该文件不存在,请尝试: /etc/apt/grep -r -i utopic *找到列出 repo 的位置。

关于postgresql - 错误 | sudo apt-get 更新:404 未找到 [IP:2604:1380:2000:7501::69 80],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63163847/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com