无法在 ubuntu 21.10 中安装 pgAdmin 4

Unable to install pgAdmin 4 in ubuntu 21.10

我尝试在最新的 ubuntu 版本 21.10 中安装 pgAdmin4 时遇到一些问题。

我已经使用以下命令为存储库安装了 public 密钥

sudo curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo apt-key add

但是当我尝试使用以下命令创建存储库配置文件时,我收到了下面提到的错误。

sudo sh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'

错误日志

  404  Not Found [IP: 2604:1380:2000:7501::69 443]
Hit:11 http://us.archive.ubuntu.com/ubuntu impish-backports InRelease
Get:12 http://us.archive.ubuntu.com/ubuntu impish-updates/main amd64 DEP-11 Metadata [7,972 B]
Get:13 http://us.archive.ubuntu.com/ubuntu impish-updates/universe amd64 DEP-11 Metadata [2,008 B]
Reading package lists... Done       
E: The repository 'https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/impish pgadmin4 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.

备用应用程序名称:dbeaver
备选申请 link:https://dbeaver.io/download/ 谢谢。

试试 多毛 :

sudo sh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/hirsute pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'