[+] Instalacja mysqlserver, libdbi-perl Debian Squeeze

Tematy związane z oprogramowaniem, instalacją, konfiguracją
MrTomo
Posty: 6
Rejestracja: 14 listopada 2012, 13:39

[+] Instalacja mysqlserver, libdbi-perl Debian Squeeze

Post autor: MrTomo »

Witam wszystkich.
Zainstalowałem Debian Squeeze, zrobiłem:

Kod: Zaznacz cały

apt-get update
i zabrałem się za instalację mysql.

Kod: Zaznacz cały

apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
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: Broken packages

Kod: Zaznacz cały

apt-get install mysql-server-5.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
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: mysql-client-5.5 (>= 5.5.28-1~dotdeb.0) but it is n
                    Depends: libdbi-perl but it is not installable
                    Depends: mysql-server-core-5.5 (= 5.5.28-1~dotdeb.0) but it
                    Recommends: libhtml-template-perl but it is not installable
Szukam od dłuższego czasu jakiegoś rozwiązania i nie mogę znaleźć.

Próbuję tak:

Kod: Zaznacz cały

apt-get install libdbi-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libdbi-perl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libdbi-perl' has no installation candidate
Tak wygląda mój plik /etc/apt/sources.list

Kod: Zaznacz cały

deb http://security.debian.org/ [B]squeeze[/B]/updates main contrib
deb-src http://security.debian.org/ [B]squeeze[/B]/updates main contrib
deb http://ftp.debian.org/debian/ [B]squeeze[/B]-updates main contrib
deb-src http://ftp.debian.org/debian/ [B]squeeze[/B]-updates main contrib
deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all
Wstawiając na forum logi, polecenia i ich wyniki itp. używaj znaczników code. Przed wysłaniem tekstu na serwer sprawdź czy nie zawiera błędów. Przed założeniem tematu wypada wcześniej przejrzeć forum.
http://debian.linux.pl/threads/5676-Prz ... -napiszesz
http://debian.linux.pl/threads/12771-Za ... #post81406
http://debian.linux.pl/threads/13294-Al ... #post84983
fnmirk
Awatar użytkownika
ArnVaker
Beginner
Posty: 277
Rejestracja: 10 października 2012, 21:58

Post autor: ArnVaker »

Jedyny poprawny wpis w Twoim sources.list to nieoficjalne repozytorium dotdeb.
MrTomo
Posty: 6
Rejestracja: 14 listopada 2012, 13:39

Post autor: MrTomo »

A jakie według Ciebie są poprawne, te?

Kod: Zaznacz cały

deb http://security.debian.org/ stable/updates main contrib non-freedeb
http://ftp.pl.debian.org/debian/ stable main contrib non-free
Awatar użytkownika
ArnVaker
Beginner
Posty: 277
Rejestracja: 10 października 2012, 21:58

Post autor: ArnVaker »

1. Obecna stabilna wersja Debiana to Squeeze, nie Squezee lub Squezze.
2. Wpisu przypominającego główne repozytorium w ogóle tam nie masz, jedynie repozytoria z aktualizacjami.
3. Świadomie próbujesz instalować pakiety z repozytorium dotdeb zamiast oficjalnego?
MrTomo
Posty: 6
Rejestracja: 14 listopada 2012, 13:39

Post autor: MrTomo »

Przepraszam, literówka (na forum)
Oczywiście w pliku mam Squeeze.
Nie chciałem robić zrzutów ekranów a nie miałem jak skopiować, więc, napisałem pierwszy, a potem CTRL+C.

Ps. Znalazłem gdzieś na forum to repozytorium dotdeb. Spróbowałem.
Awatar użytkownika
ArnVaker
Beginner
Posty: 277
Rejestracja: 10 października 2012, 21:58

Post autor: ArnVaker »

Jeszcze punkt 2 został. Natomiast co do nieoficjalnych repozytoriów, to polecam używać jedynie gdy faktycznie ich potrzebujesz.
MrTomo
Posty: 6
Rejestracja: 14 listopada 2012, 13:39

Post autor: MrTomo »

Tak - to może być to.
Sprawdzę i dam znać. Dziękuję.

Dodane:
Ruszyło. Dziękuję raz jeszcze.
Człowiek patrzy i nie widzi.
ODPOWIEDZ