2016-11-29 70 views
0

我嘗試安裝mysql服務器5.7在我的beaglebone黑色與OS Debian Jessie,我遵循此指令http://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/#apt-repo-setup。但是當我使用apt-get更新時,它總是給我一個錯誤。無法安裝Mysql 5.7

W: Failed to fetch http://repo.mysql.com/apt/debian/dists/jessie/InRelease Unable to find expected entry 'mysql-apt-config/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file) 

這個錯誤讓我瘋了,我嘗試使用apt-get clean,刪除mysql.list,但仍然給我那個錯誤。

非常感謝,如果你能幫助我,謝謝。

+0

嘗試'sudo apt-get check && sudo apt-get update' –

+0

5.7版本已經有MySql記錄的bug,你可以參考https://bugs.mysql.com/bug.php?id=76174 和https://bugs.mysql.com/bug.php?id=76149 –

回答

0

我想這意味着這個存儲庫不提供ARMv7 hardfloat包的構建。可能只適用於i386和AMD64機器。

如果該版本足夠滿足您的需求,您可以從jessie-backports安裝mySQL 5.6。如果你需要5.7,你需要重建軟件包(非常慢)或者遠程升級到Debian SID(注意,可能不穩定)。