---
title: "yum: Cannot find a valid baseurl for repo: migsrv解决方法"
author: "daizj"
date: "2018-09-03T10:33:45Z"
tags: []
categories: ["操作系统"]
slug: "yum-cannot-find-a-valid-baseurl-for-repo-migsrv"
draft: false
lastmod: "2018-09-03T10:33:45Z"
id: 2429937
url: "https://daizj.iteye.com/blog/2429937"
---

yum安装程序报错：

Loaded plugins: fastestmirror
Setting up Update Process
Determining fastest mirrors
Could not retrieve mirrorlist http://yum.wsd.com/index.php?release=1.2&arch=x86_64&repo=migsrv error was
14: PYCURL ERROR 22 - "The requested URL returned error: 404"
Error: Cannot find a valid baseurl for repo: migsrv


解决办法：删除migsrv.repo文件

rm -rf  /etc/yum.repos.d/migsrv.repo