小编Cra*_*man的帖子

CentOs 7 YUM 更新不起作用

我正在尝试执行 ayum update并且所有镜像都失败并显示 404。我将 url 放入浏览器,错误是正确的,url 不存在。YUM 正在寻找镜像上不存在的包。请参阅下面的错误消息:

https://mirrors.lug.mtu.edu/epel/7/x86_64/repodata/13b91b1efe2a1db71aa132d76383fdb5311887958a910548546d58a5856e2c5d-primary.sqlite.xz: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
http://mirror.oss.ou.edu/epel/7/x86_64/repodata/13b91b1efe2a1db71aa132d76383fdb5311887958a910548546d58a5856e2c5d-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
https://mirror.csclub.uwaterloo.ca/fedora/epel/7/x86_64/repodata/13b91b1efe2a1db71aa132d76383fdb5311887958a910548546d58a5856e2c5d-primary.sqlite.xz: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
http://mirror.sfo12.us.leaseweb.net/epel/7/x86_64/repodata/13b91b1efe2a1db71aa132d76383fdb5311887958a910548546d58a5856e2c5d-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.math.princeton.edu/pub/epel/7/x86_64/repodata/13b91b1efe2a1db71aa132d76383fdb5311887958a910548546d58a5856e2c5d-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://kdeforge2.unl.edu/mirrors/epel/7/x86_64/repodata/13b91b1efe2a1db71aa132d76383fdb5311887958a910548546d58a5856e2c5d-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found
Trying …
Run Code Online (Sandbox Code Playgroud)

yum centos

23
推荐指数
2
解决办法
7万
查看次数

在 CentOs 7 上安装 libmysqlclient

我正在尝试从 src 构建 mysql-shell 1.0.11。当我安装时,RPM 不是一个选项。要求之一是libmysqlclient 5.7+。我已经安装了mysql++mysql++-develmysql-connector-python.noarch,和mysql-workbench-community。当我尝试构建(Cmake)时,出现以下错误。

Could not find static "libmysqlclient_r.a libmysqlclient.a" in MYSQL_LIB_DIR
Run Code Online (Sandbox Code Playgroud)

我需要安装什么才能完成这项工作?显然我需要 libmysqlclient,但是 yum 中没有列出任何具有该名称或接近该名称的内容。

使用 CentOs7。

TIA

centos mysql

5
推荐指数
2
解决办法
4万
查看次数

标签 统计

centos ×2

mysql ×1

yum ×1