[英]How to install MySQL WorkBench in Debian wheezy Operating System?
[英]Cannot install mySQL/maridDB on Debian 7 (Wheezy)
堆棧溢出。 我過去幾天努力在樹莓派2上安裝mySQL:/我不是Debian 7(Wheezy),所以我無法更改發行版,必須使用它。 因此,我需要安裝MySQL 5.5或更高版本,或MariaDB,並且我嘗試安裝兩者,但均無效果。
在安裝MariaDB時,請按照他們的文檔進行操作
sudo apt-get install mariadb-server
出現錯誤:
The following packages have unmet dependencies:
mariadb-server : Depends: mariadb-server-10.0 (= 10.0.32+maria-1~wheezy) but it is not installable
嘗試使用谷歌搜索並尋找類似的案例,但找不到任何可行的方法。
使用mySQL,情況甚至更糟。 使用他們的文檔 ,MySQL APT存儲庫和教程,執行以下步驟:
wget https://dev.mysql.com/get/mysql-apt-config_0.8.8-1_all.deb
dpkg -i mysql-apt-config_0.8.8-1_all.deb (choosing mysql 5.6)
apt-get update
它顯示錯誤:
apt-get update
Hit http://mirror.zol.co.zw wheezy Release.gpg
Hit http://mirror.zol.co.zw wheezy Release
Hit http://mirror.zol.co.zw wheezy/main Sources
Hit http://mirror.zol.co.zw wheezy/main amd64 Packages
Hit http://mirror.zol.co.zw wheezy/main i386 Packages
Ign http://mirror.zol.co.zw wheezy/main Translation-en_GB
Ign http://mirror.zol.co.zw wheezy/main Translation-en
Hit http://archive.raspberrypi.org wheezy Release.gpg
Hit http://raspberrypi.collabora.com wheezy Release.gpg
Hit http://raspberrypi.collabora.com wheezy Release
Get:1 http://repo.mysql.com wheezy Release.gpg [173 B]
Hit http://archive.raspberrypi.org wheezy Release
Hit http://raspberrypi.collabora.com wheezy/rpi armhf Packages
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Get:2 http://repo.mysql.com wheezy Release [24.1 kB]
Get:3 http://repo.mysql.com wheezy/mysql-5.6 Sources [859 B]
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en_GB
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en
Ign http://archive.raspberrypi.org wheezy/main Translation-en_GB
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Fetched 25.2 kB in 5s (4,900 B/s)
W: Failed to fetch http://repo.mysql.com/apt/debian/dists/wheezy/Release Unable to find expected entry 'mysql-apt-config/binary-armhf/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.
如果我嘗試:
apt-get install mysql-community-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mysql-community-server
請幫助,任何幫助將不勝感激!
在正式的debian repo中似乎沒有名稱為mysql-community-server
軟件包。 我找到了mysql-server
包。 https://packages.debian.org/wheezy/mysql-server 。
所以試試這個:
deb http://security.debian.org/debian-security wheezy/updates main
到文件/etc/apt/sources.list
) sudo apt-get update
sudo apt-get install mysql-server
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.