What type of hardware are you using: VPS bought online What YunoHost version are you running: 12.0.12 What app is this about: AppFlowy
Describe your issue
I tried to install AppFlowy on a subdomain, but it failed - see logfile.
Apparently the failure is due to E: Package 'postgresql-server-dev-17' has no installation candidate
As I am not an IT expert I appreciate every help.
Thank you
Okay then…
If version 15 can be installed, I can’t understand why the script stops running. It’s euther 15 or 17. Let’s gather more info but not much hope there…
Could you share today’s installation log and the output of sudo apt install postgresql-server-dev-15 build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev libpq-dev --simulate ?
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.9).
build-essential set to manually installed.
libssl-dev is already the newest version (3.0.15-1~deb12u1).
libssl-dev set to manually installed.
zlib1g-dev is already the newest version (1:1.2.13.dfsg-1).
zlib1g-dev set to manually installed.
xz-utils is already the newest version (5.4.1-1).
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:
libpq-dev : Depends: libpq5 (= 15.12-0+deb12u2) but 16.3-1.pgdg110+1 is to be installed
E: Unable to correct problems, you have held broken packages.
Could you check psql --version ?
and the output of sudo apt install postgresql-server-dev-15 --simulate ?
On debian 12, only postgresql-server-dev-15 is available in official repo:
No, I don’t think so because (afaik…) you can run two versions of PSQL (with differents ports, folders) but I’ve never had to do this and when I try something new, I prefer try it on my own YNH-test lab …
We should find out which app is using PostgreSQL 16 to run a test.
I’m talking nonsense: this is psql version but not postgresql-server-dev-x version… Could you check and share the output of
ls /etc/postgresql
and pg_lsclusters
and apt install postgresql-server-dev-15 ?
I managed to install both immich (which uses postgresql 16) and appflowy (which uses postgresql 15) so…I’m still investigating…
pg_lsclusters ==>
Ver Cluster Port Status Owner Data directory Log file
15 main 5432 online postgres /var/lib/postgresql/15/main /var/log/postgresql/postgresql-15-main.log
16 main 5433 online postgres /var/lib/postgresql/16/main /var/log/postgresql/postgresql-16-main.log
Please note that I used sudo -i
sudo -i apt install postgresql-server-dev-15 ==>
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:
libpq-dev : Depends: libpq5 (= 15.12-0+deb12u2) but 16.3-1.pgdg110+1 is to be installed
E: Unable to correct problems, you have held broken packages.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.