I’ve built/installed a into both a local-only repo and a COPR repo
my relevant repo files are
/etc/yum.repos.d/nginx-mainline-local.repo
[nginx-mainline-local]
name=nginx-mainline-local
baseurl=file:///usr/local/LOCAL_REPO/nginx-mainline
enabled=1
module_hotfixes=1
gpgcheck=0
repo_gpgcheck=0
priority=90
/etc/yum.repos.d/_copr:copr.fedorainfracloud.org:pgfed:nginx-mainline.repo
[copr:copr.fedorainfracloud.org:pgfed:nginx-mainline]
name=Copr repo for nginx-mainline owned by pgfed
baseurl=https://download.copr.fedorainfracloud.org/results/pgfed/nginx-mainline/fedora-$releasever-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://download.copr.fedorainfracloud.org/results/pgfed/nginx-mainline/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1
priority=80
both repos are enabled
dnf repolist nginx-mainline-local copr:copr.fedorainfracloud.org:pgfed:nginx-mainline
repo id repo name status
copr:copr.fedorainfracloud.org:pgfed:nginx-mainline Copr repo for nginx-mainline owned by pgfed enabled
nginx-mainline-local nginx-mainline-local enabled
I can see ‘info’ re: my available package in the local repo
dnf --disablerepo='*' --enablerepo=nginx-mainline-local info compat-luarocks --refresh
Last metadata expiration check: 1:07:16 ago on Tue 30 Jun 2020 08:14:01 AM PDT.
Available Packages
Name : compat-luarocks
Version : v3.3.1
Release : 1.fc32
Architecture : x86_64
Size : 153 k
Source : compat-luarocks-v3.3.1-1.fc32.src.rpm
Repository : nginx-mainline-local
Summary : Lua Module Deployment & Management
URL : https://github.com/luarocks/luarocks
License : MIT
Description : Lua Module Deployment & Management
and in the COPR repo
dnf --disablerepo='*' --enablerepo=copr:copr.fedorainfracloud.org:pgfed:nginx-mainline info compat-luarocks --refresh
Copr repo for nginx-mainline owned by pgfed 9.8 kB/s | 3.3 kB 00:00
Available Packages
Name : compat-luarocks
Version : v3.3.1
Release : 1.fc32
Architecture : src
Size : 5.1 M
Source : None
Repository : copr:copr.fedorainfracloud.org:pgfed:nginx-mainline
Summary : Lua Module Deployment & Management
URL : https://github.com/luarocks/luarocks
License : MIT
Description : Lua Module Deployment & Management
Name : compat-luarocks
Version : v3.3.1
Release : 1.fc32
Architecture : x86_64
Size : 153 k
Source : compat-luarocks-v3.3.1-1.fc32.src.rpm
Repository : copr:copr.fedorainfracloud.org:pgfed:nginx-mainline
Summary : Lua Module Deployment & Management
URL : https://github.com/luarocks/luarocks
License : MIT
Description : Lua Module Deployment & Management
BUT, if I simply check for ‘–all’ available packages,
dnf info compat-luarocks --all --refresh
it only returns info for the COPR repo,
Available Packages
Name : compat-luarocks
Version : v3.3.1
Release : 1.fc32
Architecture : src
Size : 5.1 M
Source : None
Repository : copr:copr.fedorainfracloud.org:pgfed:nginx-mainline
Summary : Lua Module Deployment & Management
URL : https://github.com/luarocks/luarocks
License : MIT
Description : Lua Module Deployment & Management
Name : compat-luarocks
Version : v3.3.1
Release : 1.fc32
Architecture : x86_64
Size : 153 k
Source : compat-luarocks-v3.3.1-1.fc32.src.rpm
Repository : copr:copr.fedorainfracloud.org:pgfed:nginx-mainline
Summary : Lua Module Deployment & Management
URL : https://github.com/luarocks/luarocks
License : MIT
Description : Lua Module Deployment & Management
not ‘all’ including the local repo, which is still clearly enabled & populated.
what ‘dnf’ syntax, add’l step &/or config, is required to return the intended “-all” available packages?