我刚刚从 Ubuntu 18.04 升级到 19.10。升级后,我注意到 pgAdmin4 已被删除,而其他软件仍然存在,现在当我尝试从终端安装 pgadmin4 时,我得到:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
pgadmin4 : Depends: pgadmin4-common (= 4.18-1.pgdg18.04+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我已经安装了 pgadmin3,但我真的想要 pgadmin4。那可能吗?
据我所知,该
pgadmin4
软件包是从第三方存储库安装的。快速搜索给了我这个页面 - https://atalia.postgresql.org/morgue/p/pgadmin4/。
因此,您必须打开软件和更新 (
software-properties-gtk
) 并启用类似于上面的行。或者按照http://wiki.postgresql.org/wiki/Apt中的描述再次添加这个存储库: