尝试在apache2上安装乘客时出现问题。

当我尝试安装时说:

passenger: depend: libruby1.8 (>= 1.8.7.357-1) but 1.8.7.352-2ubuntu1.3 is installed


我尝试更新&&升级,删除,清理并重新安装了lib,并更新了source.list,但没有任何效果...

这是我的source.list:

#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Ubuntu Main Repos
deb http://fr.archive.ubuntu.com/ubuntu/ precise main restricted universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ precise main restricted universe

###### Ubuntu Update Repos
deb http://fr.archive.ubuntu.com/ubuntu/ precise-security main restricted universe
deb http://fr.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ precise-security main restricted universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe


这是我使用的存储库

deb https://oss-binaries.phusionpassenger.com/apt/passenger lucid main
deb https://oss-binaries.phusionpassenger.com/apt/passenger precise main
deb https://oss-binaries.phusionpassenger.com/apt/passenger saucy main
deb https://oss-binaries.phusionpassenger.com/apt/passenger squeeze main
deb https://oss-binaries.phusionpassenger.com/apt/passenger wheezy main

最佳答案

我找出了问题所在,只需要使用精确的存储库即可。

deb https://oss-binaries.phusionpassenger.com/apt/passenger precise main

10-05 18:56