首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >发布运行"apt-get更新“:.没有发布文件。

发布运行"apt-get更新“:.没有发布文件。
EN

Unix & Linux用户
提问于 2022-01-29 17:20:42
回答 1查看 6.3K关注 0票数 -6
代码语言:javascript
运行
复制
# apt-get update && apt-get upgrade && apt-get dist-upgrade
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                           
Hit:2 http://packages.microsoft.com/repos/code stable InRelease                                                                                                        
Ign:3 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg InRelease                                                                        
Hit:5 https://repo.protonvpn.com/debian stable InRelease            
Err:6 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg Release
  404  Not Found [IP: 147.75.85.69 80]
Get:4 http://mirror.serverius.net/kali kali-rolling InRelease [30.6 kB]
Reading package lists... Done      
E: The repository 'http://apt.postgresql.org/pub/repos/apt kali-rolling-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.
EN

回答 1

Unix & Linux用户

发布于 2022-01-29 18:54:25

从PostgreSQL中删除sources.list存储库,因为它不接受kali-rolling发行版,请参阅这个目录postgresql是在Kali存储库中打包的,您可以通过以下方法安装它:

代码语言:javascript
运行
复制
sudo apt update
sudo apt install postgresql
票数 2
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/688468

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档