I keep getting this error when using the first step of the Installfest.
The line is:
sudo apt-get install autoconf automake bison build-essential curl git-core libapr1 libaprutil1 libc6-dev libltdl-dev libreadline6 libreadline6-dev libsqlite3-0 libsqlite3-dev libssl-dev libtool libxml2-dev libxslt-dev libxslt1-dev libyaml-dev ncurses-dev nodejs openssl sqlite3 zlib1g zlib1g-dev
I receive:
Reading package lists… Done Building dependency tree Reading state information… Done Note, selecting ‘git’ instead of ‘git-core’ Note, selecting ‘libreadline-dev’ instead of ‘libreadline6-dev’ Note, selecting ‘libxslt1-dev’ instead of ‘libxslt-dev’ Note, selecting ‘libncurses5-dev’ instead of ‘ncurses-dev’ Package libreadline6 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package ‘libreadline6’ has no installation candidate After that message I entered:
dpkg --list|grep libreadline (at the suggestion of someone online) I was returned:
ii libreadline7:amd64 7.0-3 amd64 GNU readline and history libraries, run-time libraries
The link to the site is below, the issue arises with the code in Step 1. "libreadline7" in the code a few lines above is actually highlighted in red if that helps. Thanks guys and gals!
21 Answer
I suggest to remove libreadline version from apt-get command and use universal one - libreadline-dev.
So the complete command would be
sudo apt-get install autoconf automake bison build-essential curl git-core \ libapr1 libaprutil1 libc6-dev libltdl-dev libreadline-dev libsqlite3-0 \ libsqlite3-dev libssl-dev libtool libxml2-dev libxslt-dev libxslt1-dev \ libyaml-dev ncurses-dev nodejs openssl sqlite3 zlib1g zlib1g-dev Then follow InstallFest guide.
But I recommend to use Ruby 2.4.4 on step 4 (as it is marked stable on official site).