当我运行时sudo apt-get update
出现此错误:
W: Failed to fetch http://repo.mysql.com/apt/ubuntu/dists/trusty/InRelease 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.
我能做些什么?
答案1
问题是 MySQL repo 中没有utilities-1.4
包。只有utilities-1.5
。
我只能假设你可能utilities-1.4
在你mysql.list
的解决方案是通过以下方式重新配置 mysql:
dpkg-reconfigure mysql-apt-config
选择‘实用程序’->确定->mysql-utilities-1.5->确定->应用
然后运行:
sudo apt-get update
sudo apt-get upgrade