root@debian:/home/exp# apt-get install mysql-server mysql-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-server 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
Package mysql-client 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 'mysql-server' has no installation candidate
E: Package 'mysql-client' has no installation candidate
root@debian:/home/exp#
#za vseki sluchai:
# deb ftp://ftp.debian.org/debian/ stable main contrib non-free
# deb ftp://ftp.debian.org/debian/ testing main contrib non-free
# deb ftp://ftp.debian.org/debian/ unstable main contrib non-free
#bghranilishta
deb ftp://ftp.bg.debian.org/debian/ stable main contrib non-free
deb ftp://ftp.bg.debian.org/debian/ testing main contrib non-free
deb ftp://ftp.bg.debian.org/debian/ unstable main contrib non-free
#deb-src ftp://ftp.bg.debian.org/debian/ stable main contrib non-free
#deb-src ftp://ftp.bg.debian.org/debian/ testing main contrib non-free
#deb-src ftp://ftp.bg.debian.org/debian/ unstable main contrib non-free
#deb ftp://debian.ludost.net/debian-non-US/ stable/non-US main contrib non-free
#deb ftp://debian.ludost.net/debian-non-US/ testing/non-US main contrib non-free
#deb ftp://debian.ludost.net/debian-non-US/ unstable/non-US main contrib non-free
#deb ftp://debian.ludost.net/debian/ proposed-updates main contrib non-free
#deb ftp://debian.ludost.net/debian/ testing-proposed-updates main contrib non-free
#deb ftp://ftp.uni-sofia.bg/debian-addons-bg/ ./
#deb ftp://ftp.logos-bg.net/debian-addons-bg/ ./
#deb-src ftp://ftp.logos-bg.net/debian-addons-bg/ ./
#Debian security
deb http://security.debian.org/ stable/updates main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
#Debian multimedia
deb http://www.debian-multimedia.org/ sid main
deb http://www.debian-multimedia.org/ etch main
deb http://www.debian-multimedia.org/ sarge main
#New kernels
#deb http://kernel-archive.buildserver.net/debian-kernel/ sid main
nom3r1 каза:apt-get update ?
Ако ли не, тогава си оправи хранилищата и:
apt-get update/upgrade
aptitude update
root@debian:/home/exp# install php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-json
install: target `php5-json' is not a directory
root@debian:/home/exp#
root@debian:/home/exp# install php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-json
install: target `php5-json' is not a directory
root@debian:/home/exp#
Mapu0 каза:Според мен след като не разбираш от линукс,не е добра идея да правиш уеб сървър на ubuntu или debian,или каквото и да е