I've added the official repository to my
deb http://apt.postgresql.org/pub/repos/apt/ cosmic-pgdg main 11
When I try to install PostgreSQL-11 on Ubuntu Cosmic (18.10), I get the following error
$ apt-get install postgresql-11 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-11 : Depends: libllvm6.0 (>= 1:6.0~svn298832-1~) but it is not installable E: Unable to correct problems, you have held broken packages.
How do I go about resolving this error?