简体   繁体   English

apt-get update 更新失败 mysql

[英]apt-get update fails to update mysql

Whenever I run sudo apt-get update in Ubuntu 14.04.2 I keep getting this message at the end.每当我在 Ubuntu 14.04.2 中运行sudo apt-get update时,我都会在最后收到此消息。 I've just been ignoring it but I'm worried that I'm not getting all of the updates I should because of it.我一直忽略它,但我担心我没有因此而得到我应该得到的所有更新。 How should I fix this?我应该如何解决这个问题?

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)
$ sudo dpkg-reconfigure mysql-apt-config

连接器-Python >>连接器-python-2.0 >>应用

$ sudo apt-get update

In my case I had to remove the repository "https://repo.mysql.com/apt/ubuntu focal mysql-apt-config".就我而言,我不得不删除存储库“https://repo.mysql.com/apt/ubuntu focal mysql-apt-config”。

Software & Updates -> Other Software -> select it, and remove it or uncheck it. Software & Updates -> Other Software -> select 它,然后将其删除或取消选中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM