MySql Installation Issue
Dear all,
Today I'm facing a strange issue regarding mysql.
Usually in Ubuntu-based Systems, I install mysql by the below command :
apt-get install mysql-server
It works fine but Today in User's sytem ( Ubuntu-10.4 ) based system, it causes the below error at the end :
The following packages have unmet dependencies:
postgresql-8.4: Depends: postgresql-client-8.4 but it is not going to be installed
Depends: postgresql-common (>= 104~) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
There is a unwanted postgresql-8.4 package listed below :
root@ws40-man-lin:~# dpkg -l | grep postgresql
pFR postgresql-8.4 8.4.5-0ubuntu10.04 object-relational SQL database, version 8.4
I tried to purge it but I cann't succeed resulting in below error :
root@ws40-man-lin:~# dpkg --purge postgresql-8.4
dpkg: error processing postgresql-8.4 (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
postgresql-8.4
root@ws40-man-lin:~#
I tried to install mysql from third-party source code but it results in error condition :
root@ws40-man-lin:~# apt-get install libncurses5-dev
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:
postgresql-8.4: Depends: postgresql-client-8.4 but it is not going to be installed
Depends: postgresql-common (>= 104~) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@ws40-man-lin:~#
Please help me how to overcome or troubleshoot this problem.
Thanks & Regards
Adarsh Sharma
|