The package doesn't seem to exist:
$ sudo dnf install postgresql17-debugsource-17.4
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
No match for argument: postgresql17-debugsource-17.4
You can try to add to command line:
--skip-unavailable to skip unavailable packages
Yours,
Laurenz Albe