Rsync

無法在 mycloud.rackspace.com 上安裝 rsync

  • February 12, 2013

我想安裝 rsync 來每天備份我客戶的伺服器帳戶,該帳戶最近已遷移到 mycloud.rackspace.com。Rackspace 確實有一個教程暗示它可以以通常的方式安裝:

http://www.rackspace.com/knowledge_center/article/backing-up-your-files-with-rsync

我的問題似乎是它是一個舊的 linux 版本。uname -a 顯示:

Linux xxxx 2.6.16.29-xen #1 SMP Sun Sep 30 04:00:13 UTC 2007 x86_64 GNU/Linux

我嘗試將反向埠添加到 apt 源列表:

# cat /etc/apt/sources.list
deb http://ftp.debian.org/debian/ etch main
deb-src http://ftp.debian.org/debian/ etch main

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib

deb http://backports.debian.org/debian-backports squeeze-backports main contrib

但是,我得到了相同的“未找到”錯誤,似乎沒有嘗試獲取反向埠。“能力更新”沒有幫助:

# aptitude -t squeeze-backports install rsync
Reading package lists... Done
Building dependency tree... Done
Reading extended state information      
Initializing package states... Done
Reading task descriptions... Done  
Building tag database... Done    
The following packages have been kept back:
 apache2 apache2-mpm-prefork apache2-utils apache2.2-common apt apt-utils 
 debian-archive-keyring dhcp3-client dhcp3-common gs-gpl gzip imagemagick libapr1 libaprutil1 
 libc6 libc6-dev libexpat1 libfreetype6 libgnutls13 libhtml-parser-perl libkrb53 liblcms1 
 libldap-2.3-0 libmagick9 libmysqlclient15-dev libmysqlclient15off libnewt0.52 libpam-modules 
 libpam-runtime libpam0g libpng12-0 libpq4 libsasl2 libsasl2-2 libsasl2-modules libsqlite3-0 
 libssl0.9.8 libtiff4 liburi-perl libvolume-id0 libxml2 mediawiki1.7 mediawiki1.7-math 
 mysql-client-5.0 mysql-common mysql-server mysql-server-5.0 openssh-client openssh-server 
 openssl php5 postfix psmisc sudo udev vim-common vim-tiny wget whiptail x11-common 
The following NEW packages will be installed:
 rsync 
0 packages upgraded, 1 newly installed, 0 to remove and 60 not upgraded.
Need to get 272kB of archives. After unpacking 541kB will be used.
WARNING: untrusted versions of the following packages will be installed!

Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.

 rsync 

Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No": Yes
Writing extended state information... Done
Err http://ftp.debian.org etch/main rsync 2.6.9-2etch2
 404 Not Found [IP: 130.89.148.12 80]
Err http://security.debian.org etch/updates/main rsync 2.6.9-2etch2
 404 Not Found [IP: 128.31.0.36 80]
E: Failed to fetch http://security.debian.org/pool/
updates/main/r/rsync/rsync_2.6.9-2etch2_amd64.deb: 
404 Not Found [IP: 128.31.0.36 80]

有什麼建議嗎?謝謝!

Debian Etch 很長 EOL 和 EOS 沒有線上儲存庫,這就是您收到 404 錯誤的原因。

引用自:https://serverfault.com/questions/477986