Yum list error appears under CENTOS7 and Yum groupolist query software group list error

Source: Internet
Author: User

Before learning Yum Online installation do not know where the error followed by the teacher's tutorial to walk the configuration file also looked no wrong but also reported wrong this is the error chart below

Here is a description of the "#" is the comment can not write this is etc/yum.repos.d/below LS a bit of linux Centos-media.repo configuration file

Tried a lot of times, so I changed the file suffix to another name and recreated a centos-media.repo.

This is my own Centos-media.repo file that I wrote with Vim.

If you make a mistake, you can change gpgcheak=1 to gpgcheak=0.

Then create the local Yum source first step to open the CD/DVD click Connection

The second step is to create the directory mkdir mut

Mount Disc Mount/dve/cdrom/mut/cdrom

Mount successfully and then enter cd/etc/yum.repos.d/

LS View the files in the current directory here we only need to see two files

The first Centos-base.repo this file is the default network source first created local Yum needs to shut down the network source so that the network source is not in effect open it

You just need to change the repo suffix.

Step three configuration Centos-media.repo

You can do it by the picture above.

The Yum list error appears under

Centos7 and the Yum groupolist query software group list error

Related Article

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.