Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

dnf is unable to work with srpm packages in AppStream repository

Andrew.GJul 22 2021

I faced with an issue that dnf doesn't see source RPM when working with packages from AppStream repository. For example,
dnf repoquery --srpm -l nginx returns nothing
dnf download --source nginx returns the following error:

No package nginx-1.14.1-9.0.1.module+el8.0.0+5347+9282027e.src available.
Exiting due to strict setting.
Error: No package nginx-1.14.1-9.0.1.module+el8.0.0+5347+9282027e.src available.

Other AppStream packages, e.g. varnish, nodejs or freeradius are also affected.
I know that srpm can be manually downloaded from Oracle yum server, but this is not a convenient way.
Please note that upstream has no such issue.

Comments
Post Details
Added on Jul 22 2021
1 comment
367 views