Hi Samuel, and Tim,
On Tue, Aug 13, 2019 at 4:57 AM Tim via users users@lists.fedoraproject.org wrote:
On Mon, 2019-08-12 at 16:35 -0700, Samuel Sieb wrote:
You could add it to your /etc/hosts file like: 127.0.0.2 the.bad.domain
This does seem like a roundabout solution to what has to be a common problem (wanting to blackban specific repos). For whatever reason people have wanted to do that, it ought to be possible to directly do it with the configuration for the software in question.
While some might argue it would best to have a bad repo removed from the pool, it could be the case that the repo is fine, just that the path between it and some users is a problem.
-- [tim@localhost ~]$ uname -rsvp Linux 5.0.16-100.fc28.x86_64 #1 SMP Tue May 14 18:22:28 UTC 2019 x86_64
Boilerplate: All mail to my mailbox is automatically deleted. There is no point trying to privately email me, I only get to see the messages posted to the mailing list.
Sorry, no viruses was included with this email, please read the rm and fdisc man files to learn how to seriously mangle your own system.
I have come across this workaround, but dislike it for exactly the same reason as Tim.
Another "solution" floating around the web is use fastestmirror. Those of us who have been a Fedora users know it all too well the issues with fastestmirror. That said, I believe it has a "exclude" option, if I could use that, but not use fastestmirror, that could be acceptable for the time being. But I don't think that's possible. Maybe I should just use Samuel's workaroound for now, and file an RFE against dnf.