I have an NXRM server that is not connected to the internet. I host copies of the CentOS repos in it. All repos are hosted repos since you can’t upload to proxy repos, and this works fine for copies of the CentOS 7.x public repos. I download the RPMs with wget and upload to the offline repo with curl. Nexus builds the metadata catalog.
CentOS 8 (now Stream) is giving me a bit of trouble. While BaseOS works fine, the AppStream repo is not working. All the packages are in the repo and NXRM created the repodata metadata files
However, when I do a
dnf install <AppStream pkg or
yum install <AppStream pkg>, I get the following error:
no available modular metadata for modular package ‘(pkg)’, it cannot be installed on the system
Not sure what the problem is, but I’ve read that AppStream is different now because of modules instead of just packages. Looking at the CentOS 8 AppStream repodata folder, I see many more metadata files and it looks like sqlite is being used instead of xml files.
My question is this: has anyone successfully created offline copies of the AppStream CentOS 8 repo (as a Nexus hosted repo), and if so, how?
EDIT: forgot to report versions:
- started on 3.21, created repo, imported with curl, had error above
- upgraded to 3.30.0-01, deleted old repo, created new one, imported with curl, still had error above