Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lpato:sll7
yum
BZ-1195745-failed-repo-message.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File BZ-1195745-failed-repo-message.patch of Package yum
commit d83aab7e518f77a0de1e938fc4a7e7c4c55f1a17 Author: Valentina Mukhamedzhanova <vmukhame@redhat.com> Date: Fri May 6 14:47:55 2016 +0200 Recommend --disablerepo and subscription-manager when a repo fails. BZ 1195745 diff --git a/yummain.py b/yummain.py index 32680a8..b1666a2 100755 --- a/yummain.py +++ b/yummain.py @@ -85,13 +85,18 @@ def main(args): distribution release than is supported by the repository (and the packages for the previous distribution release still work). - 3. Disable the repository, so yum won't use it by default. Yum will then - just ignore the repository until you permanently enable it again or use - --enablerepo for temporary usage: + 3. Run the command with the repository temporarily disabled + yum --disablerepo=%(repoid)s ... + + 4. Disable the repository permanently, so yum won't use it by default. Yum + will then just ignore the repository until you permanently enable it + again or use --enablerepo for temporary usage: yum-config-manager --disable %(repoid)s + or + subscription-manager repos --disable=%(repoid)s - 4. Configure the failing repository to be skipped, if it is unavailable. + 5. Configure the failing repository to be skipped, if it is unavailable. Note that yum will try to contact the repo. when it runs most commands, so will have to try and fail each time (and thus. yum will be be much slower). If it is a very temporary problem though, this is often a nice
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor