2013-10-23 83 views
0

嘗試在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

+0

您正在使用哪個存儲庫?官方的Phusion存儲庫的Precise包依賴於libruby1.8(> = 1.8.7.352)。 – Hongli

回答

0

我弄清楚什麼是錯的,我只需要使用精確的資料庫。

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