Linuxiarze.pl Forum

Dystrybucje Linux => Ubuntu, Kubuntu, Xubuntu, Lubuntu => Wątek zaczęty przez: abdel w Luty 10, 2018, 12:34:42 PM

Tytuł: Nie mogę zainstalować pakietu mysql-server
Wiadomość wysłana przez: abdel w Luty 10, 2018, 12:34:42 PM
Mam problem taki, że potrzebuje zainstalować mysql na moim serwerze. jednak polecenie apt-get install mysql-server zwraca taki komunikat błędu.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Kiedy próbuję więc zainstalować wersje 5.5 zwraca coś takiego
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
mysql-server-5.5 : Depends: libdbi-perl but it is not going to be installed
                    Depends: mysql-client-5.5 (>= 5.5.59-0ubuntu0.14.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Zawartość pliku sources.list #+ Ubuntu Main Repos
deb http://01.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://01.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse

#+ Ubuntu Update Repos
deb http://01.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://01.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://01.archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://01.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://01.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://01.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://01.archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://01.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb http://nl.archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse

Ma ktoś pomysł jak to naprawić? hosting digitalocean
Tytuł: Odp: Nie mogę zainstalować pakietu mysql-server
Wiadomość wysłana przez: pavroo w Luty 10, 2018, 02:35:19 PM
Pakiet libdbi-perl jest dostępny w repo trusty, więc odśwież listę pakietów:
sudo apt-get update
i spróbuj go zainstalować:
sudo apt-get install libdbi-perl
i wrzuć wynik błędu, jeśli będzie problem.