Hello everybody,
I tried many measures suggested on the Internet but the issue was not resolved. Now I found a link where it was suggested that one command will install whatever is necessary to install wordpress. The command is as below;
sudo apt-get install lamp-server^
So I tried that, But I got the following error.
~ $ sudo apt-get install lamp-server^
Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting ‘libdbi-perl’ for task ‘lamp-server’
Note, selecting ‘libapache2-mod-php5’ for task ‘lamp-server’
Note, selecting ‘ssl-cert’ for task ‘lamp-server’
Note, selecting ‘mysql-server-5.1’ for task ‘lamp-server’
Note, selecting ‘mysql-server-5.5’ for task ‘lamp-server’
Note, selecting ‘mysql-client-core-5.1’ for task ‘lamp-server’
Note, selecting ‘mysql-client-core-5.5’ for task ‘lamp-server’
Note, selecting ‘apache2.2-common’ for task ‘lamp-server’
Note, selecting ‘mysql-server’ for task ‘lamp-server’
Note, selecting ‘php5-readline’ for task ‘lamp-server’
Note, selecting ‘libwrap0’ for task ‘lamp-server’
Note, selecting ‘libdbd-mysql-perl’ for task ‘lamp-server’
Note, selecting ‘apache2-mpm-prefork’ for task ‘lamp-server’
Note, selecting ‘libhtml-template-perl’ for task ‘lamp-server’
Note, selecting ‘mysql-client-5.1’ for task ‘lamp-server’
Note, selecting ‘mysql-client-5.5’ for task ‘lamp-server’
Note, selecting ‘libaio1’ for task ‘lamp-server’
Note, selecting ‘mysql-common’ for task ‘lamp-server’
Note, selecting ‘libmysqlclient16’ for task ‘lamp-server’
Note, selecting ‘libmysqlclient18’ for task ‘lamp-server’
Note, selecting ‘mysql-server-core-5.1’ for task ‘lamp-server’
Note, selecting ‘mysql-server-core-5.5’ for task ‘lamp-server’
Note, selecting ‘libterm-readkey-perl’ for task ‘lamp-server’
Note, selecting ‘php5-mysql’ for task ‘lamp-server’
Note, selecting ‘php5-common’ for task ‘lamp-server’
Note, selecting ‘php5-cli’ for task ‘lamp-server’
Note, selecting ‘libplrpc-perl’ for task ‘lamp-server’
Note, selecting ‘php5-json’ for task ‘lamp-server’
Note, selecting ‘tcpd’ for task ‘lamp-server’
libaio1 is already the newest version.
libdbd-mysql-perl is already the newest version.
libdbi-perl is already the newest version.
libdbi-perl set to manually installed.
libterm-readkey-perl is already the newest version.
libwrap0 is already the newest version.
php5-json is already the newest version.
php5-json set to manually installed.
ssl-cert is already the newest version.
tcpd is already the newest version.
libapache2-mod-php5 is already the newest version.
libmysqlclient18 is already the newest version.
libmysqlclient18 set to manually installed.
mysql-client-5.5 is already the newest version.
mysql-client-5.5 set to manually installed.
mysql-client-core-5.5 is already the newest version.
mysql-client-core-5.5 set to manually installed.
mysql-common is already the newest version.
mysql-common set to manually installed.
mysql-server is already the newest version.
mysql-server-5.5 is already the newest version.
mysql-server-5.5 set to manually installed.
mysql-server-core-5.5 is already the newest version.
mysql-server-core-5.5 set to manually installed.
php5-common is already the newest version.
php5-common set to manually installed.
php5-mysql is already the newest version.
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:
apache2 : Conflicts: apache2.2-common but 2.2.14-5ubuntu8 is to be installed
apache2-mpm-prefork : Depends: apache2 (= 2.4.7-1ubuntu4.9)
apache2.2-common : Depends: apache2.2-bin (= 2.2.14-5ubuntu8) but it is not going to be installed
mysql-client-5.5 : Breaks: mysql-client-5.1 but 5.1.41-3ubuntu12 is to be installed
mysql-client-core-5.5 : Breaks: mysql-client-core-5.1 but 5.1.41-3ubuntu12 is to be installed
mysql-common : Breaks: mysql-client-5.1 (< 5.5) but 5.1.41-3ubuntu12 is to be installed
Breaks: mysql-server-5.1 (< 5.5) but 5.1.41-3ubuntu12 is to be installed
Breaks: mysql-server-core-5.1 (< 5.5) but 5.1.41-3ubuntu12 is to be installed
mysql-server-5.5 : Breaks: mysql-client-5.1 but 5.1.41-3ubuntu12 is to be installed
Breaks: mysql-server-5.1 but 5.1.41-3ubuntu12 is to be installed
mysql-server-core-5.5 : Breaks: mysql-client-5.1 but 5.1.41-3ubuntu12 is to be installed
Breaks: mysql-server-5.1 but 5.1.41-3ubuntu12 is to be installed
Breaks: mysql-server-core-5.1 but 5.1.41-3ubuntu12 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Could some one please help me resolve this issue.
Thanks & Regards