LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Dependency issue while installing MySQL Server 5.1 (https://www.linuxquestions.org/questions/debian-26/dependency-issue-while-installing-mysql-server-5-1-a-4175487226/)

Arun Kurian 12-07-2013 12:53 PM

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

k3lt01 12-08-2013 10:07 PM

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).

descendant_command 12-08-2013 11:36 PM

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'

Arun Kurian 12-10-2013 01:19 PM

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.


All times are GMT -5. The time now is 01:52 PM.