Run the command with the repository temporarily disabled Yum--disablerepo=zabbix ...

Source: Internet
Author: User

Use Yum online to install a need to FQ to access the URL, because did not turn the installation will fail, the error is similar:

One of the configured repositories failed (Zabbix official repository-x86_64), and Yum doesn ' t have enough data To continue. At this point, the only safe thing Yum can does is fail. 

     There are a few ways to work "fix" this:1. Contacts the upstream for the repository and get them to fix the problem. 2. Reconfigure the BASEURL/ETC. For the repository, to point to a working upstream. This is most often useful if to are using a newer distribution release than was supported by the repository (and T

     He packages to the previous distribution release still work).

     3. Run the command with the repository temporarily disabled Yum--disablerepo=zabbix ... 4. Disable the repository permanently, so Yum won ' t use it by default. Yum'll then just ignore the repository until you enable it permanently or use again for TEM Porary Usage:yum-config-manager--disable Zabbix or SubsCription-manager Repos--disable=zabbix 5.
        Configure the failing repository to being skipped, if it is unavailable. Note that Yum would try to contact the repo.  When the It runs most commands, so'll have to try and fail the each time (and thus. Yum) is much slower.  If It is a very temporary problem though, this is often a nice compromise:yum-config-manager--save --setopt=zabbix.skip_if_unavailable=true

The example above is the solution given by Yum, installing Zabbix online and adding Zabbix sources, which will cause errors when executing all Yum commands in the future, and the solution is to delete the source file:

Rm-fr/etc/yum.repos.d/xxx.repo
--This article from: https://www.cnblogs.com/icewee/articles/7743453.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.