ubuntu 10.04 and libreadline

58 views
Skip to first unread message

jmet...@gmail.com

unread,
Aug 18, 2010, 11:39:36 PM8/18/10
to rubyversi...@googlegroups.com
Hello,

On a ubuntu (10.04) did apt-get the packages recommended by "rvm notes"

---8<---
jmettraux@akula:~$ sudo apt-get install build-essential bison openssl libreadline5 libreadline-dev curl git-core zlib1g zlib1g-dev libssl-dev vim libsqlite3-0 libsqlite3-dev sqlite3 libreadline5-dev libreadline6-dev libxml2-dev git-core subversion autoconf
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssl is already the newest version.
curl is already the newest version.
git-core is already the newest version.
zlib1g is already the newest version.
vim is already the newest version.
libsqlite3-0 is already the newest version.
git-core is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libreadline5-dev: Conflicts: libreadline-dev but 6.1-1 is to be installed
libreadline6-dev: Conflicts: libreadline5-dev but 5.2-7build1 is to be installed
E: Broken packages
--->8---

Dropping libreadline5-dev and libreadline6-dev, and adding libreadline-dev seems to fix the issue.

Here is a patch :

---8<---
diff --git a/scripts/notes b/scripts/notes
index cb49529..bc890f6 100755
--- a/scripts/notes
+++ b/scripts/notes
@@ -24,7 +24,7 @@ if [[ "Linux" = "$system" ]] ; then
printf "\n $ aptitude install curl sun-java6-bin sun-java6-jre sun-java6-jdk"

printf "\n $item For MRI & ree (if you wish to use it) you will need (depending on what you are installing):"
- printf "\n $ aptitude install build-essential bison openssl libreadline5 libreadline-dev curl git-core zlib1g zlib1g-dev libssl-dev vim libsqlite3-0 libsqlite3-dev sqlite3 libreadline5-dev libreadline6-dev libxml2-dev git-core subversion autoconf"
+ printf "\n $ aptitude install build-essential bison openssl libreadline5 libreadline-dev curl git-core zlib1g zlib1g-dev libssl-dev vim libsqlite3-0 libsqlite3-dev sqlite3 libreadline-dev libxml2-dev git-core subversion autoconf"

printf "\n $item For IronRuby (if you wish to use it) you will need:"
printf "\n $ aptitude install curl mono-2.0-devel"
--->8---


Many thanks for rvm, cheers,

--
John Mettraux - http://jmettraux.wordpress.com

Wayne E. Seguin

unread,
Aug 21, 2010, 11:50:47 AM8/21/10
to rubyversi...@googlegroups.com
Thanks!

This is updated in head/0.1.47

Reply all
Reply to author
Forward
0 new messages