Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How do I mirror specific Ubuntu distributions using Rsync?

For example, using apt-mirror I would have the following lines so I would only have the package for 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
share|improve this question
    
Wanted to use RSYNC so I could use its native bandwidth throttle and the new feature in v3.1.0 that allows view of total progress (--info=progress2) –  trekkiejonny Jan 4 at 2:36

1 Answer 1

apt-mirror does the same task you are trying to achieve: it downloads new packages from repository, and delete old ones, so rsync will probably not do better than that.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.