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 - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-04-2010, 02:45 AM   #1
iznogud
LQ Newbie
 
Registered: Nov 2004
Location: sarajevo
Distribution: Slackware, SuSE, puppy
Posts: 17

Rep: Reputation: 0
upgrading ncurses and openssl on kubuntu 10.04.1


Hello all,

I am kinda stuck in the process of installing Ruby on Rails 1.3.6.
I was trying to meet dependencies to install libraries for ruby1.9.2-full. First I added repository (http://ppa.launchpad.net/pratikmsinh...ndings/ubuntu/) and than:

Code:
root@biggie:/home/luciano# aptitude install ruby-full ruby1.9.2-full
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
The following packages are BROKEN:
  libopenssl-ruby1.9.2 libreadline-ruby1.9.2 libruby1.9.2 
The following NEW packages will be installed:
  irb1.9.2{a} libdbm-ruby1.9.2{a} libgdbm-ruby1.9.2{a} libruby1.9.2-dbg{a} libtcltk-ruby1.9.2{a} rdoc1.9.2{a} ri1.9.2{a} ruby1.9.2-dev{a} 
  ruby1.9.2-examples{a} ruby1.9.2-full 
The following packages will be upgraded:
  ruby1.9.2 
2 packages upgraded, 12 newly installed, 0 to remove and 2 not upgraded.
Need to get 11.2MB of archives. After unpacking 68.1MB will be used.
The following packages have unmet dependencies:
  libreadline-ruby1.9.2: Depends: libncurses5 (>= 5.7+20100313) but 5.7+20090803-2ubuntu3 is installed.
  libruby1.9.2: Depends: libncurses5 (>= 5.7+20100313) but 5.7+20090803-2ubuntu3 is installed.
                Depends: libssl0.9.8 (>= 0.9.8m-1) but 0.9.8k-7ubuntu8.3 is installed.
  libopenssl-ruby1.9.2: Depends: libssl0.9.8 (>= 0.9.8m-1) but 0.9.8k-7ubuntu8.3 is installed.
The following actions will resolve these dependencies:

Keep the following packages at their current version:
irb1.9.2 [Not Installed]
libopenssl-ruby1.9.2 [Not Installed]
libreadline-ruby1.9.2 [Not Installed]
libruby1.9.2 [1.9.2.z1-1ppa1~lucid (now)]
libruby1.9.2-dbg [Not Installed]
rdoc1.9.2 [Not Installed]
ri1.9.2 [Not Installed]
ruby1.9.2 [1.9.2.z1-1ppa1~lucid (now)]
ruby1.9.2-dev [Not Installed]
ruby1.9.2-full [Not Installed]

Score is -9736

Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.
root@biggie:/home/luciano#
As you can see, my system reports that ncurses and openssl are out of date, and need to be updated. I tried updating ncurses many times. I cannot find it "fresher" in the repo's so I downloaded it and tried manually to install it. This is the string I used to configure ncurses for compilation:
Code:
./configure --prefix=/usr --enable-widec --enable-overwrite --with-shared --with-libtool --enable-termcap 
make
make install DESTDIR=/usr
No matter how I tried updating ncurses, it seems that the core libs will not get updated - note the date:
Code:
root@biggie:/home/luciano/ncurses-5.7-20100626# ls /usr/lib -altr | grep ncu
lrwxrwxrwx   1 root root       13 2010-05-07 11:19 libtermcap.so -> libncurses.so
lrwxrwxrwx   1 root root       12 2010-05-07 11:19 libtermcap.a -> libncurses.a
lrwxrwxrwx   1 root root       13 2010-05-07 11:19 libcurses.so -> libncurses.so
-rwxr-xr-x   1 root root   308628 2010-11-03 12:34 libncurses.so.5.7.0
lrwxrwxrwx   1 root root       19 2010-11-03 12:34 libncurses.so.5 -> libncurses.so.5.7.0
lrwxrwxrwx   1 root root       19 2010-11-03 12:34 libncurses.so -> libncurses.so.5.7.0
-rwxr-xr-x   1 root root     1000 2010-11-03 12:34 libncurses.la
-rw-r--r--   1 root root   342118 2010-11-03 12:34 libncurses++.so.5.7.0
lrwxrwxrwx   1 root root       21 2010-11-03 12:34 libncurses++.so.5 -> libncurses++.so.5.7.0
lrwxrwxrwx   1 root root       21 2010-11-03 12:34 libncurses++.so -> libncurses++.so.5.7.0
-rw-r--r--   1 root root     1098 2010-11-03 12:34 libncurses++.la
-rwxr-xr-x   1 root root   366883 2010-11-03 13:01 libncursesw.so.5.7.0
lrwxrwxrwx   1 root root       20 2010-11-03 13:01 libncursesw.so.5 -> libncursesw.so.5.7.0
lrwxrwxrwx   1 root root       20 2010-11-03 13:01 libncursesw.so -> libncursesw.so.5.7.0
-rwxr-xr-x   1 root root     1007 2010-11-03 13:01 libncursesw.la
-rw-r--r--   1 root root    94204 2010-11-03 13:01 libncurses++w.so.5.7.0
lrwxrwxrwx   1 root root       22 2010-11-03 13:01 libncurses++w.so.5 -> libncurses++w.so.5.7.0
lrwxrwxrwx   1 root root       22 2010-11-03 13:01 libncurses++w.so -> libncurses++w.so.5.7.0
-rw-r--r--   1 root root     1109 2010-11-03 13:01 libncurses++w.la
-rw-r--r--   1 root root  2379570 2010-11-03 13:06 libncurses_g.a
-rw-r--r--   1 root root   435526 2010-11-03 13:06 libncurses.a
lrwxrwxrwx   1 root root       12 2010-11-03 13:06 libcurses.a -> libncurses.a
-rw-r--r--   1 root root   127128 2010-11-03 13:06 libncurses++.a
-rw-r--r--   1 root root  2716120 2010-11-03 15:33 libncursesw_g.a
-rw-r--r--   1 root root   506902 2010-11-03 15:33 libncursesw.a
-rw-r--r--   1 root root   127128 2010-11-03 15:33 libncurses++w.a
root@biggie:/home/luciano/ncurses-5.7-20100626#
A friend said that I could use aptitude to uninstall previous ncurses and than manually install fresh version. What worries me - if I try to uninstall it, apt warns me that it will remove another 857 packages (every freaking thing); and a friend says to "force remove" it and than install them manually. However, this is a machine in production and I would really hate to have to reinstall all the other services I am running - that is of no interest to me; I do not want to kill this machine with force removing crucial package.

Can someone give me any pointers or ideas how to go around this and update these packages?
Same thing applies for openssl; I tried manual compilation, it replaced SOME libraries but not all. How do I go about this?

Thanks in advance for the help.
 
Old 11-05-2010, 03:58 AM   #2
iznogud
LQ Newbie
 
Registered: Nov 2004
Location: sarajevo
Distribution: Slackware, SuSE, puppy
Posts: 17

Original Poster
Rep: Reputation: 0
Instead of using ppa rep, I downloaded ncurses from http://packages.ubuntu.com/maverick/...rses5/download

dpkg -i libncurses.... resolved all my problems.
 
  


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
application install doesn't see ncurses or openssl... why?! punt Debian 24 05-03-2015 03:30 PM
upgrading openssl bentz Linux - Software 1 05-19-2007 01:23 AM
Upgrading Openssl CarlosSunden Linux - General 1 05-21-2004 05:39 PM
upgrading to openssl 0.9.7d-1 on redhat 7.3 megaspaz Linux - Security 1 04-18-2004 06:52 AM
Upgrading Openssl and mod_ssl luba Linux - Security 1 08-15-2002 03:46 PM

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

All times are GMT -5. The time now is 06:15 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