LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-08-2011, 12:03 AM   #1
adarshmca
LQ Newbie
 
Registered: Dec 2010
Posts: 28

Rep: Reputation: 0
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
 
Old 02-08-2011, 12:19 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
You have issues with dependencies in PostgreSQL installation. If you want to install PostgreSQL, you could download it as a deb package and install it. I have it installed this way without dependency issues.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 13 Installation issue -- Unable to install multiple linux distributions ---partition issue navneethr Linux - General 6 12-22-2010 11:17 PM
Apache2, PHP5, or MYSQL issue: Unable to jump to row 0 on MySQL ..... MTAS Linux - Server 5 03-26-2010 09:13 AM
Installation issue with MySQL-server-5.1.43-1.rhel5.ia64 [libirc.so(64bit) is needed] cyberparanoid Linux - Software 2 02-07-2010 12:05 PM
apache, php, mysql installation issue sohailark Linux - Server 4 11-05-2006 10:21 AM
php4 mysql, installation, php-pages with mysql info stay empty dnla Linux - Software 2 03-14-2004 02:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration