我想安装 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 update”没有帮助:
# 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]
有什么建议吗?谢谢!
答案1
Debian Etch 的 EOL 和 EOS 已经很长了,网上没有它的存储库,这就是您收到 404 错误的原因。