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.