如何使用 Rsync 镜像特定的 Ubuntu 发行版?
例如,使用 apt-mirror 时,我会得到以下几行,因此我只会得到适用于 12.04 的软件包
deb (mirror address)/ubuntu precise main restricted universe multiverse
deb (mirror address)/ubuntu precise-security main restricted universe multiverse
deb (mirror address)/ubuntu precise-updates main restricted universe multiverse
deb-amd64 (mirror address)/ubuntu precise main restricted universe multiverse
deb-amd64 (mirror address)/ubuntu precise-security main restricted universe multiverse
deb-amd64 (mirror address)/ubuntu precise-updates main restricted universe multiverse
deb-i386 (mirror address)/ubuntu precise main restricted universe multiverse
deb-i386 (mirror address)/ubuntu precise-security main restricted universe multiverse
deb-i386 (mirror address)/ubuntu precise-updates main restricted universe multiverse
答案1
apt-mirror 执行您要完成的相同任务:它从存储库下载新软件包,并删除旧软件包,因此 rsync 可能不会比这更好。