after an interrupted upgrade of ubuntu 10.04 server LTS to ubuntu 12.04 server LTS somethings weren't installed correctly. Anyways I installed apache, ftp, phpmyadmin etc. At some point I deleted some packages that were causing problems and that messed up my mysql and phpmyadmin installation. Now I can not install mysql and phpmyadmmin. I get the following error trying to install mysql:
The following packages have unmet dependencies:
mysql-server-5.1 : Depends: mysql-client-5.1 (>= 5.1.67-0ubuntu0.10.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
And I get the following error trying to install phpmyadmin:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libxml-libxml-perl : Depends: perl (>= 5.14.2-6ubuntu1) but it is not going to be installed
Depends: libxml-namespacesupport-perl but it is not going to be installed
libxml-sax-expat-perl : Depends: perl but it is not going to be installed
Depends: libxml-namespacesupport-perl (>= 0.03) but it is not going to be installed
Depends: libxml-parser-perl (>= 2.27) but it is not going to be installed
libxml-sax-perl : Depends: perl but it is not going to be installed
Depends: libxml-namespacesupport-perl but it is not going to be installed
Depends: libxml-sax-base-perl but it is not installable
phpmyadmin : Depends: perl but it is not going to be installed
Recommends: apache2 or lighttpd but it is not going to be installed or httpd
Recommends: mysql-client
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).