I use debian 6.0.6, before I install phpmyadmin, I install this:
apt-get update && apt-get -y install apache2 apache2-doc autoconf automake \
bison ca-certificates ethtool flex g++ gcc gcc-4.4 libapache2-modphp5 \
libcrypt-ssleay-perl libmysqlclient-dev libnet1 libnet1-dev libpcre3 \
libpcre3-dev libphp-adodb libssl-dev libtool libwww-perl make mysqlclient \
mysql-common mysql-server ntp php5-cli php5-gd php5-mysql php-pear \
sendmail sysstat vim
I try to install phpmyadmin, but I found this error:
apt-get install phpmyadmin
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:
phpmyadmin : Depends: php5-mcrypt but it is not going to be installed
E: Broken packages
And I tried this command:
apt-get install phpmyadmin php5-mcrypt
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:
php5-mcrypt : Depends: php5-common (= 5.3.3-7+squeeze17) but 5.3.28-1~dotdeb.0 is to be installed
E: Broken packages
What should I do?