Não é possível localizar o pacote ao executar o apt-get

1

Eu instalei o rvm e ele me diz que estou perdendo alguns pacotes:

viggy@viggy:~$ rvm requirements
Installing requirements for ubuntu, might require sudo password.
Skipping 'apt-get update' make sure your system is up to date.
RVM autolibs is now configured with mode '2' => 'check and stop if missing',
please run 'rvm autolibs enable' to let RVM do its job or run and read 'rvm autolibs [help]'
or visit https://rvm.io/rvm/autolibs for more information.
Missing required packages: libreadline6-dev, zlib1g-dev, libssl-dev, libyaml-dev, libsqlite3-dev, sqlite3, libxml2-dev, libxslt1-dev, autoconf, libgdbm-dev, libncurses5-dev, automake, libtool, bison, libffi-dev.

Por isso, tento instalá-los, mas não consigo localizar erros de pacote:

viggy@viggy:~$ sudo apt-get --no-install-recommends install libreadline6-dev, zlib1g-dev, libssl-dev, libyaml-dev, libsqlite3-dev, sqlite3, libxml2-dev, libxslt1-dev, autoconf, libgdbm-dev, libncurses5-dev, automake, libtool, bison, libffi-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libreadline6-dev,
E: Unable to locate package zlib1g-dev,
E: Unable to locate package libssl-dev,
E: Unable to locate package libyaml-dev,
E: Unable to locate package libsqlite3-dev,
E: Unable to locate package sqlite3,
E: Unable to locate package libxml2-dev,
E: Unable to locate package libxslt1-dev,
E: Unable to locate package autoconf,
E: Unable to locate package libgdbm-dev,
E: Unable to locate package libncurses5-dev,
E: Unable to locate package automake,
E: Unable to locate package libtool,
E: Unable to locate package bison,
    
por JohnMerlino 27.04.2013 / 02:30

2 respostas

3

Você tem uma vírgula depois de todos os nomes dos pacotes. Remova as vírgulas.

sudo apt-get --no-install-recommends install libreadline6-dev zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev autoconf libgdbm-dev libncurses5-dev automake libtool bison libffi-dev
    
por Alim 15.10.2013 / 22:35
1

Você precisa verificar o seu arquivo /etc/apt/sources.list e decidir qual repositório de software você usará para buscar os pacotes que faltam e adicionar esses repositórios.

A maneira mais fácil e rápida é com o gerenciador de pacotes Synaptic dos programas GUI e com o software & amp; Atualizações '

Mais difícil é através do CLI. Você pode encontrá-lo em link

    
por user85164 27.04.2013 / 03:06