我只是尝试更新运行在Debian7.8上的dev数据库。不幸的是,它现在让我犯了一个错误:
...
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文件的内容是这样的:
### 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有谁有办法解决这个问题吗?
发布于 2015-03-25 09:11:57
完全归功于@wurtel在评论中给了我答案。
解决方案是运行dpkg-reconfigure mysql-apt-config,它会弹出菜单。选择实用程序,然后确定如下所示。

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

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

然后运行sudo apt-get update && sudo apt-get dist-upgrade,一切都正常。
https://unix.stackexchange.com/questions/192180
复制相似问题