2016-11-21 53 views
1

我正試圖在Debian上安裝autossh,但是我收到錯誤E: Unable to locate package autosshDebian哪個庫擁有autossh包?

我不知道包autossh存在於哪個存儲庫中。我試過searching on the Debian site但無法獲取存儲庫地址。

那麼,這個包在哪裏?什麼回購地址添加到apt sources.list?

編輯:

這裏是我的sources.list

deb http://archive.debian.org/debian squeeze main contrib non-free 
deb-src http://archive.debian.org/debian squeeze main contrib non-free 

apt-cache policy autossh

我得到的錯誤

N: Unable to locate package autossh 

回答

0

autossh包不能在Debian squeeze(EOL),你應該建立包:

git clone https://github.com/leiqin/obfuscated-autossh.git 
cd obfuscated-autossh 
./configure 
make 
sudo make install 
+0

我有我的列表中的'主'回購。編輯我的問題來添加'apt-cache'的輸出。我'擠',但你的答案是關於'傑西'。 – sandy

+0

@sandy我編輯我的答案 – GAD3R