无法使用 libllvm10 安装 PostgreSQL 问题

无法使用 libllvm10 安装 PostgreSQL 问题

我正在尝试在 Ubuntu 20 上安装 PostgreSQL。但是,安装时出现错误。有人能帮帮我吗?

$ sudo apt install postgresql postgresql-contrib
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 postgresql : Depends: postgresql-14 but it is not going to be installed
 postgresql-contrib : Depends: postgresql-contrib-14
E: Unable to correct problems, you have held broken packages.

因此我尝试手动安装打包,但仍然出现错误

$ sudo apt-get install postgresql-14
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 postgresql-14 : Depends: libllvm10 (>= 1:9~svn298832-1~) but it is not installable
                 Recommends: sysstat but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

相关内容