Continuo recebendo esse erro ao usar a primeira etapa do Installfest.
A linha é:
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
Eu recebi:
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
Depois dessa mensagem eu digitei:
dpkg --list|grep libreadline (at the suggestion of someone online)
Fui devolvido:
ii libreadline7:amd64 7.0-3 amd64 GNU readline and history libraries, run-time libraries
O link para o site está abaixo, o problema surge com o código na Etapa 1. "libreadline7" no código algumas linhas acima está destacado em vermelho, se isso ajudar. Obrigado rapazes e moças!
Responder1
Sugiro remover libreadline
a versão do apt-get
comando e usar o universal - libreadline-dev
.
Então o comando completo seria
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
Então sigaGuia do InstallFest.
Mas eu recomendo usar Ruby 2.4.4
emPasso 4(como isso émarcadoestábulono site oficial).