I am using this tutorial to install postgresql on my VM but when i am running https://www.how2shout.com/linux/how-to-install-postgresql-13-on-ubuntu-22-04-lts-linux/
sudo apt install postgresql-13
I am getting the following error
~$ sudo apt install postgresql-13
Reading package lists... Done
Building dependency tree... Done
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-13 : Depends: postgresql-common (>= 182~) but it is not going to be installed
Depends: libllvm14 but it is not installable
Recommends: sysstat but it is not installable
E: Unable to correct problems, you have held broken packages.
I have seen a lot of answers here but none of them answers this issue, hence posting it here. Please help me in understanding why this issue is occuring, and please let me know the possible solution for it.