首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Debian -更新mysql 5.6的问题

Debian -更新mysql 5.6的问题
EN

Unix & Linux用户
提问于 2015-03-24 12:38:58
回答 1查看 1.9K关注 0票数 1

我只是尝试更新运行在Debian7.8上的dev数据库。不幸的是,它现在让我犯了一个错误:

代码语言:javascript
复制
...
W: Failed to fetch http://repo.mysql.com/apt/debian/dists/wheezy/Release  Unable to find expected entry 'utilities-1.4/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

那么我的/etc/apt/sources.list.d/mysql.list文件的内容是这样的:

代码语言:javascript
复制
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out entries below, but any other modifications may be lost.
# Use command 'dpkg-reconfigure mysql-apt-config' as root for modifications.
deb http://repo.mysql.com/apt/debian/ wheezy mysql-apt-config
deb http://repo.mysql.com/apt/debian/ wheezy mysql-5.6
# deb http://repo.mysql.com/apt/debian/ wheezy connector-python-2.0
deb http://repo.mysql.com/apt/debian/ wheezy utilities-1.4

deb-src http://repo.mysql.com/apt/debian/ wheezy mysql-5.6

有谁有办法解决这个问题吗?

EN

回答 1

Unix & Linux用户

发布于 2015-03-25 09:11:57

完全归功于@wurtel在评论中给了我答案。

解决方案是运行dpkg-reconfigure mysql-apt-config,它会弹出菜单。选择实用程序,然后确定如下所示。

然后选择mysql-实用程序-x,然后确定。

然后在下一个菜单上。选择申请。

然后运行sudo apt-get update && sudo apt-get dist-upgrade,一切都正常。

票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/192180

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档