0

I am trying to install PostgreSQL on Ubuntu 20. However, an errors occurs while installing. Could somebody help me please?

$ 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.

So i tried to install packaged manually, but still got error

$ 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.

karel
  • 114,770

0 Answers0