Próbuję zainstalować mysql-server na serwerze debian linux, ale otrzymuję to:
Wypróbowałem prawie wszystko, co znalazłem, gdy szukałem w Google mojego problemu, nic nie działało. Ten problem występuje również w przypadku innych pakietów, nie tylko mysql-server (na przykład mysql-client).
Próbowałem apt-get install -f i wszystkie inne możliwe poprawki z terminala i nic nie działało. Zauważ, że nie mam dobrego doświadczenia w pracy z linuxem.
Oto, co otrzymam z apt-get update:
Dziękuję Ci.
Odpowiedzi:
0 dla odpowiedzi № 1Uważam, że twój problem jest związany z twoją listą repozytoriów /etc/apt/sources.list
Sądzę, że nie ma tam wszystkich niezbędnych repozytoriów. Proponuję zmienić listę źródeł /etc/apt/sources.list
do czegoś takiego jak poniżej:
deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
deb http://ftp.debian.org/debian wheezy-backports main contrib non-free
deb-src http://ftp.debian.org/debian wheezy-backports main contrib non-free
Po tym uruchomieniu apt-get update
i wypróbować instalację i naprawy (takie jak apt-get install -f
) jeszcze raz.