Blame SOURCES/BZ-1195745-failed-repo-message.patch

d2a170
commit d83aab7e518f77a0de1e938fc4a7e7c4c55f1a17
d2a170
Author: Valentina Mukhamedzhanova <vmukhame@redhat.com>
d2a170
Date:   Fri May 6 14:47:55 2016 +0200
d2a170
d2a170
    Recommend --disablerepo and subscription-manager when a repo fails. BZ 1195745
d2a170
d2a170
diff --git a/yummain.py b/yummain.py
d2a170
index 32680a8..b1666a2 100755
d2a170
--- a/yummain.py
d2a170
+++ b/yummain.py
d2a170
@@ -85,13 +85,18 @@ def main(args):
d2a170
         distribution release than is supported by the repository (and the
d2a170
         packages for the previous distribution release still work).
d2a170
 
d2a170
-     3. Disable the repository, so yum won't use it by default. Yum will then
d2a170
-        just ignore the repository until you permanently enable it again or use
d2a170
-        --enablerepo for temporary usage:
d2a170
+     3. Run the command with the repository temporarily disabled
d2a170
+            yum --disablerepo=%(repoid)s ...
d2a170
+
d2a170
+     4. Disable the repository permanently, so yum won't use it by default. Yum
d2a170
+        will then just ignore the repository until you permanently enable it
d2a170
+        again or use --enablerepo for temporary usage:
d2a170
 
d2a170
             yum-config-manager --disable %(repoid)s
d2a170
+        or
d2a170
+            subscription-manager repos --disable=%(repoid)s
d2a170
 
d2a170
-     4. Configure the failing repository to be skipped, if it is unavailable.
d2a170
+     5. Configure the failing repository to be skipped, if it is unavailable.
d2a170
         Note that yum will try to contact the repo. when it runs most commands,
d2a170
         so will have to try and fail each time (and thus. yum will be be much
d2a170
         slower). If it is a very temporary problem though, this is often a nice