Postgresql

Penguinista@unknown5207850BF844:~$ sudo dnf install postgresql
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: problem with installed package

  • installed package postgresql17-17.9-10.fc45.x86_64 conflicts with postgresql-any provided by postgresql
    -18.3-12.fc45.i686 from fedora
  • package postgresql-18.3-12.fc45.i686 from fedora conflicts with postgresql-any provided by postgresql17
    -17.9-10.fc45.x86_64 from fedora
  • conflicting requests
  • installed package postgresql17-17.9-10.fc45.x86_64 conflicts with postgresql-any provided by postgresql
    -18.3-12.fc45.x86_64 from fedora
  • package postgresql-18.3-12.fc45.x86_64 from fedora conflicts with postgresql-any provided by postgresql
    17-17.9-10.fc45.x86_64 from fedora
    You can try to add to command line:
    –allowerasing to allow removing of installed packages to resolve problems
    –skip-broken to skip uninstallable packages
    –allow-vendor-change to allow changing package vendors

How do I resolve this problem does anybody know? Thank you.

sudo dnf install postgresql --allowerasing

thank you it worked