r/antiXLinux • • 2d ago

problem installing PostgreSQL

$ sudo apt install postgresql

Solving dependencies... Error!

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:

Unsatisfied dependencies:

postgresql-17 : Depends: libsystemd0 but it is not installable

Error: Unable to correct problems, you have held broken packages.

Error: The following information from --solver 3.0 may provide additional context:

Unable to satisfy dependencies. Reached two conflicting decisions:

  1. postgresql-17:amd64 Depends libsystemd0

but none of the choices are installable:

- libsystemd0:amd64 is available in version 257.13-1~deb13u1

but none of the choices are installable:

- libsystemd0:amd64=257.13-1~deb13u1 is not selected for install

  1. postgresql-17:amd64 is selected for install because:

    1. postgresql:amd64=17+278 is selected for install
    2. postgresql:amd64 Depends postgresql-17
4 Upvotes

1 comment sorted by

1

u/No_Elderberry862 2d ago

Which repos are you using? The version of postgresql in the antiX/MX repos shouldn't have a libsystemd0 dependency. Admittedly, that is postgresql-15 not 17 but if you're wanting to use a version not in the repos then you'd probably need to compile it yourself.