Ruby on rails Linux Mint';rvm要求';失败

Ruby on rails Linux Mint';rvm要求';失败,ruby-on-rails,ruby,linux,installation,linux-mint,Ruby On Rails,Ruby,Linux,Installation,Linux Mint,我运行LinuxMint16(petra),遇到越来越多的问题,它说它需要一个软件包,它甚至告诉我它需要我安装什么,我尝试完全安装那个软件包,然后它说“嘿,那个软件包不存在!哈哈!” 这变得令人难以置信地沮丧,不幸的是,我在重新安装操作系统时完全没有运气,因为我需要以太网电缆和路由器,而这两者我都没有。我已经尝试开始学习Erlang,这已经变得不可能了,因为我甚至无法安装它(见我之前的stackoverflow帖子),现在我甚至无法让rails工作,这是我在今年夏天开始实习之前经常做的事情 这是

我运行LinuxMint16(petra),遇到越来越多的问题,它说它需要一个软件包,它甚至告诉我它需要我安装什么,我尝试完全安装那个软件包,然后它说“嘿,那个软件包不存在!哈哈!”

这变得令人难以置信地沮丧,不幸的是,我在重新安装操作系统时完全没有运气,因为我需要以太网电缆和路由器,而这两者我都没有。我已经尝试开始学习Erlang,这已经变得不可能了,因为我甚至无法安装它(见我之前的stackoverflow帖子),现在我甚至无法让rails工作,这是我在今年夏天开始实习之前经常做的事情

这是我的问题

core@core约$rvm要求

检查造币厂的要求。 mint的安装要求。 正在更新系统..核心密码 “apt get--安静--是更新”需要:。。。。。。。。。。。。。。。 安装所需的软件包:libreadline6 dev、libyaml dev、autoconf、, libgdbm开发、libncurse5开发、automake、libtool、libffi开发。。。。。错误 运行“需求”\u debian\u libs\u安装libreadline6 dev libyaml dev autoconf libgdbm dev libncurse5 dev automake libtool libffi dev', 显示最后15行 /home/core/.rvm/log/1404864015/package_install_libreadline6-dev_libyaml-dev_autoconf_libgdbm-dev_libncurse5-dev_automake_libtool_libffi-dev.log 只能从其他来源获得

程序包libtool不可用,但已被另一个程序包引用 包裹这可能意味着包裹丢失、丢失或丢失 已过时,或只能从其他来源获得

E:找不到程序包libreadline6 dev E:程序包“autoconf”已被删除 没有安装候选程序E:找不到程序包libgdbm dev E: 找不到程序包libncurse5 dev E:程序包“automake”没有 安装候选程序E:包“libtool”未安装 候选人E:找不到程序包libffi dev +返回100 +return 100 Requirements安装失败,状态为100

我试着安装了几个这样的软件包,然后我得到一条信息“嘿,那个软件包不存在!”

我能做什么

请帮我解决这个问题,这样我才能再次变得高效。非常非常感谢

更新:iain建议我运行一个命令,我这么做了,它产生了以下结果:

core@core~$sudo apt获取安装自动功能bison构建必需 libssl开发libyaml开发libreadline6 libreadline6开发zlib1g zlib1g开发 [sudo]核心密码:读取包列表。。。建成 依赖关系树正在读取状态信息。。。成品包装 autoconf不可用,但被另一个包引用。这 可能意味着该包装丢失、已过时或仅 可从其他来源获得

E:包“autoconf”没有安装候选程序E:无法 找到程序包libreadline6 dev


我安装这些包是为了让Ruby在Ubuntu系统上构建

make
autoconf
libtool
build-essential
libffi-dev
libgdbm-dev
libncurses5-dev
libreadline-dev
libssl-dev
libyaml-dev
zlib1g-dev
我从中获得了该列表的大部分内容,这表明:

apt-get install autoconf bison build-essential libssl-dev libyaml-dev libreadline6 libreadline6-dev zlib1g zlib1g-dev
但是我也加入了
make
,这是为了更好的衡量


我是从Vagrant提供的一个Ubuntu盒子里得到这个的,这个盒子应该(希望)足够接近Mint用来检查的东西

# 

# deb cdrom:[Ubuntu-Server 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424.1)]/ dists/precise/main/binary-i386/
# deb cdrom:[Ubuntu-Server 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424.1)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu-Server 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424.1)]/ precise main restricted

#deb cdrom:[Ubuntu-Server 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424.1)]/ dists/precise/main/binary-i386/
#deb cdrom:[Ubuntu-Server 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424.1)]/ dists/precise/restricted/binary-i386/
#deb cdrom:[Ubuntu-Server 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424.1)]/ precise main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu precise partner
# deb-src http://archive.canonical.com/ubuntu precise partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu precise main
# deb-src http://extras.ubuntu.com/ubuntu precise main
MD5可能有助于:

$ md5 sources.list 
MD5 (sources.list) = b966730006afc9e02e6d56d7ceb96af5

您是否先尝试过
apt get update
?是的,一切都是最新的。我在下面添加了一个软件包列表,但可能无法解决您的问题。@ArthurCollé我唯一能想到的另一件事是运行
apt get check
(有关更多命令,请参阅)和/或检查存储库列表是否正常且可访问。@ArthurCollé(从)您可以检查
/etc/apt/sources.list
,但您可能应该对照已知的良好列表进行检查…我会尝试查找一个。再次感谢您的帮助,非常感谢![6年后…]@ArthurCollé迟做总比不做强:)