Debian -- mysql 5.6 アップデートの問題

Debian -- mysql 5.6 アップデートの問題

私はDebian 7.8で実行されている開発データベースを更新しようとしています。残念ながら、次のエラーが発生します。

...
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

この問題を解決する方法に関するヒントがある人はいますか?

ベストアンサー1

コメントで返信いただいた@wurtelに感謝します。

解決策はdpkg-reconfigure mysql-apt-configそれを実行することです。これでメニューが表示されます。以下のようにユーティリティを選択して[OK]を選択します。

ここに画像の説明を入力してください。

その後、mysql-utilities-xを選択すると大丈夫です。

ここに画像の説明を入力してください。

その後、次のメニューに。アプリを選択してください。

ここに画像の説明を入力してください。

その後、実行すると、sudo apt-get update && sudo apt-get dist-upgradeすべてがうまく動作します。

おすすめ記事