Bug #77339 Failed to fetch http://repo.mysql.com/apt/ubuntu/dists/trusty/InRelease
Submitted: 12 Jun 2015 21:12 Modified: 3 Feb 2016 17:51
Reporter: Don Viszneki Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Package Repos Severity:S3 (Non-critical)
Version: OS:Linux (Ubuntu 14.04 x64)
Assigned to: CPU Architecture:Any
Tags: apt, ppa

[12 Jun 2015 21:12] Don Viszneki
Description:
"apt-get update" commands issues the following warning:

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)

Here is the relevant apt source:

hdon@don-OptiPlex-745:~$ cat /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/ubuntu/ trusty mysql-apt-config
deb http://repo.mysql.com/apt/ubuntu/ trusty mysql-5.6
deb http://repo.mysql.com/apt/ubuntu/ trusty workbench-6.2
deb http://repo.mysql.com/apt/ubuntu/ trusty connector-python-2.0
deb http://repo.mysql.com/apt/ubuntu/ trusty utilities-1.4

deb-src http://repo.mysql.com/apt/ubuntu/ trusty mysql-5.6

How to repeat:
apt-get update
[12 Jun 2015 23:13] MySQL Verification Team
Thank you for the bug report.

Get:56 http://security.ubuntu.com trusty-security/universe Translation-en [60,9 kB]
Fetched 3.926 kB in 19s (198 kB/s)                                             
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.
[11 Nov 2015 9:18] Lars Tangvald
Posted by developer:
 
We no longer offer utilities 1.4 on repo.mysql.com.
There is a new apt-config package available that should clear this issue up, but the error will prevent apt from getting any updates from the site.

To install it either:
a) Manually install mysql-apt-config 0.5.3
 1. Download the new package from http://dev.mysql.com/downloads/repo/apt/
 2. Install it. The configuration will clear out the erroneous entry

b) 
 1. Remove the ┬źdeb http://repo.mysql.com/apt/ubuntu/ trusty utilities-1.4┬╗ entry from etc/apt/sources.list.d/mysql.list
 2. Run apt-get update
 3. Run apt-get upgrade
[26 Nov 2015 13:03] Lars Tangvald
Posted by developer:
 
Docs team:
We should maybe have a troubleshooting section for the apt repo docs containing the above instructions for others that run into the same issue.
[3 Feb 2016 17:51] Daniel So
The following steps for resolving the problem has been added to a new Appendix in "A Quick Guide to Using the MySQL APT Repository" (http://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/)

==
1. Delete the file /etc/apt/sources.list.d/mysql.list from your system. That removes all sources list entries for the MySQL APT repository.

2. Download and install the latest version of the release package for the MySQL repository by following the steps given in Adding the MySQL APT Repository, including the sudo apt-get update step. It reconfigures your system properly for using the MySQL APT repository. 
==

The addition will be visible in the next build of the document.