On 10/10/19 1:23 AM, John Broome wrote:
On Wed, Oct 9, 2019 at 1:54 PM Lance Albertson <lance@osuosl.org mailto:lance@osuosl.org> wrote:
If that's the case, should there at least be an empty repo that makes dnf happy until there's time there's actual content to be added there?
I thought it shipped disabled by default, and you explicitly had to enable if you wanted packages before the next point release was fully released.
It should still exist.
I, and I presume like others, will often use "dnf --enablerepo=* search hotness" to see if a package is hiding in a repo I keep disabled by default. A missing repo breaks this process. As a result I have the CR and Media repo files completely commented out (if I remove the file it will simply be replaced by an update). For those who want the same, try:
sed --in-place "s/^/# /g" /etc/yum.repos.d/CentOS-Media.repo sed --in-place "s/# #/##/g" /etc/yum.repos.d/CentOS-Media.repo sed --in-place "s/^/# /g" /etc/yum.repos.d/CentOS-Vault.repo sed --in-place "s/# #/##/g" /etc/yum.repos.d/CentOS-Vault.repo sed --in-place "s/^/# /g" /etc/yum.repos.d/CentOS-CR.repo sed --in-place "s/# #/##/g" /etc/yum.repos.d/CentOS-CR.repo
That said, last I checked, the source and debuginfo repos are also defined, but missing. This causes problems. That means I currently need to type "dnf --enablerepo=* --disablerepo=*source --disablerepo=*debuginfo search hotness" ...
I assume the core team simply hasn't had time to set those repos yet ... and I don't mind waiting patiently, but perhaps it's time to create, at the very least, an empty repo, as suggested above.
L~