2016-04-04 32 views
0

我在這裏有點超出我的深度,我需要一些建議。我正在嘗試改編一個SMS網關以輸出到網絡位置。它運行在Voyage Linux上。公寓 - 一再失敗。身份驗證警告和404錯誤

我正在嘗試安裝cifs-utils軟件包以訪問Windows網絡位置,但無處可去。實際上,所有apt-get命令似乎都會返回錯誤。這裏是我運行更新時的一個例子:

[email protected]:/# sudo apt-get update 
Hit http://security.debian.org squeeze/updates Release.gpg 
Ign http://security.debian.org/debian-security/ squeeze/updates/contrib Translation-en 
Ign http://security.debian.org/debian-security/ squeeze/updates/contrib Translation-it 
Ign http://security.debian.org/debian-security/ squeeze/updates/main Translation-en 
Ign http://security.debian.org/debian-security/ squeeze/updates/main Translation-it 
Ign http://security.debian.org/debian-security/ squeeze/updates/non-free Translation-en 
Ign http://security.debian.org/debian-security/ squeeze/updates/non-free Translation-it 
Hit http://security.debian.org squeeze/updates Release 
Hit http://security.debian.org squeeze/updates/main i386 Packages 
Hit http://security.debian.org squeeze/updates/contrib i386 Packages 
Hit http://security.debian.org squeeze/updates/non-free i386 Packages 
Ign http://ftp.jp.debian.org squeeze Release.gpg 
Ign http://ftp.jp.debian.org/debian/ squeeze/contrib Translation-en 
Ign http://ftp.jp.debian.org/debian/ squeeze/contrib Translation-it 
Ign http://ftp.jp.debian.org/debian/ squeeze/main Translation-en 
Ign http://ftp.jp.debian.org/debian/ squeeze/main Translation-it 
Ign http://ftp.jp.debian.org/debian/ squeeze/non-free Translation-en 
Ign http://ftp.jp.debian.org/debian/ squeeze/non-free Translation-it 
Hit http://www.voyage.hk ./ Release.gpg 
Ign http://ftp.jp.debian.org squeeze Release 
Ign http://www.voyage.hk/dists/0.8/ ./ Translation-en 
Ign http://www.voyage.hk/dists/0.8/ ./ Translation-it 
Ign http://ftp.jp.debian.org squeeze/main i386 Packages 
Ign http://ftp.jp.debian.org squeeze/contrib i386 Packages 
Ign http://ftp.jp.debian.org squeeze/non-free i386 Packages 
Hit http://www.voyage.hk ./ Release 
Err http://ftp.jp.debian.org squeeze/main i386 Packages 
404 Not Found 
Err http://ftp.jp.debian.org squeeze/contrib i386 Packages 
404 Not Found 
Ign http://www.voyage.hk ./ Packages 
Err http://ftp.jp.debian.org squeeze/non-free i386 Packages 
404 Not Found 
Hit http://www.voyage.hk ./ Packages 
W: Failed to fetch http://ftp.jp.debian.org/debian/dists/squeeze/main/binary-i386/Packages.gz 404 Not Found  
W: Failed to fetch http://ftp.jp.debian.org/debian/dists/squeeze/contrib/binary-i386/Packages.gz 404 Not Found 

W: Failed to fetch http://ftp.jp.debian.org/debian/dists/squeeze/non free/binary-i386/Packages.gz 404 Not Found 

E: Some index files failed to download, they have been ignored, or old ones used instead. 

任何/所有的建議表示讚賞。我已經得到了這個項目,但我不得不在Linux上學習我的方式;我只有一個基本的理解。

+0

一些回購沒有你正在尋找的paskages了。它阻止你進行安裝嗎?如果是這樣,嘗試找到工作回購 – Pixou

回答

0

您正在使用舊的debian,所以不再存在存儲庫。 您必須解決的庫文件,查找的/etc/apt/sources.list

使此文件的備份:

cp -p /etc/apt/sources.list /root/sources.list 

然後更換適當的URL的內容,包在這裏現在

http://archive.debian.org/debian/dists/Debian-6.0/

+0

感謝您的幫助! 它發展到這個階段,嘗試安裝CIFS-utils的後: '讀取軟件包列表...完成 大廈的依賴關係樹 讀取狀態信息...完成 包CIFS-utils的是不可用的,但被稱爲到另一個包。 這可能意味着包丟失,已過時,或 只能從其他來源 E:包「CIFS-utils的」沒有安裝candidate' 這是擠壓的是一個古老的分佈的因素對cifs-utils的位置的引用不再適用? – mlloydw

+0

歉意格式不好! – mlloydw

+0

使用:「apt-cache search cifs」來查找軟件包名稱,它似乎不再是cifs-utils。 – neb0