LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-07-2013, 12:53 PM   #1
Arun Kurian
LQ Newbie
 
Registered: Oct 2013
Posts: 23

Rep: Reputation: Disabled
Dependency issue while installing MySQL Server 5.1


I was trying to install MySQL server 5.1. What ever I try to install I am wanting the following Dependencies :

The following packages have unmet dependencies: bash : PreDepends: libtinfo5 but it is not going to be installed bsdmainutils : Depends: libtinfo5 but it is not going to be installed cmake-curses-gui : Depends: libtinfo5 but it is not going to be installed gettext : Depends: libtinfo5 but it is not going to be installed info : Depends: libtinfo5 but it is not going to be installed ispell : Depends: libtinfo5 but it is not going to be installed less : Depends: libtinfo5 but it is not going to be installed libcunit1-ncurses : Depends: libtinfo5 but it is not going to be installed libcwidget3 : Depends: libtinfo5 but it is not going to be installed libedit2 : Depends: libtinfo5 but it is not going to be installed libncurses5 : Depends: libtinfo5 (= 5.9-10) but it is not going to be installed PreDepends: libtinfo5 (>= 5.9-3) but it is not going to be installed libncursesw5 : Depends: libtinfo5 (= 5.9+20130608-1) but it is not going to be installed Depends: libc6 (>= 2.15) but 2.13-38 is to be installed libreadline6 : Depends: libtinfo5 but it is not going to be installed mutt : Depends: libtinfo5 but it is not going to be installed mysql-server : Depends: mysql-server-5.5 but it is not going to be installed nano : Depends: libtinfo5 but it is not going to be installed ncurses-bin : PreDepends: libtinfo5 (>= 5.9-3~) but it is not going to be installed procps : Depends: libtinfo5 but it is not going to be installed psmisc : Depends: libtinfo5 but it is not going to be installed python2.6 : Depends: libtinfo5 but it is not going to be installed python2.7 : Depends: libtinfo5 but it is not going to be installed util-linux : PreDepends: libtinfo5 but it is not going to be installed vim : Depends: libtinfo5 but it is not going to be installed vim-tiny : Depends: libtinfo5 but it is not going to be installed w3m : Depends: libtinfo5 but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

When I try apt-get -f install I get the same error. I cant even use vi. When I try to open a file I get the error vi: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

Also apt-get install mysql 5.5. How do I Install MySQL 5.1 and also please advice how could I install all the packages with the dependency. I also tried aptitude but the results are the same


Kindly advice.

Regards,

Arun Kurian
 
Old 12-08-2013, 10:07 PM   #2
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
What version of Debian are you using?

Wheezy (Debian 7) has Mysql 5.5 if you want to use Mysql 5.1 you will need to use Squeeze (Debian 6).
 
Old 12-08-2013, 11:36 PM   #3
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Your system seems badly broken.
(presumably an incomplete squeeze to wheezy upgrade? or mixing releases intentionally?)

You need to sort that out before trying to install mysql (or anything else).

Post your sources.list and 'uname -a' and 'cat /etc/debian-version' and 'apt-cache policy libtinfo5'

Last edited by descendant_command; 12-08-2013 at 11:38 PM.
 
Old 12-10-2013, 01:19 PM   #4
Arun Kurian
LQ Newbie
 
Registered: Oct 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
i Just resolved the issue. I was using Debian Wheezy. I just mixed up some ubuntu packages with it. I manually removed the packages and reinstalled with the correct package which resolved the issue.
 
  


Reply

Tags
installation, mysql, package management


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Dependency Issue while installing rpm rajaniyer123 Linux - General 3 01-06-2012 03:28 AM
installing MySQL - libaio dependency error nknithya Linux - Newbie 0 10-27-2011 02:02 AM
Dependency Issue while installing Ntop3.3.10.......!! Soby Thomas Linux - Software 2 05-28-2009 11:20 PM
Dependency issue while installing xpdf shivkiyer Linux - Software 11 07-28-2007 01:24 AM
Problems Installing/uninstalling MySQL On Fedora Fc4 (library dependency issue) donraja Linux - Software 2 05-26-2006 01:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:36 AM.

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