zwelch | Hi all, I run a local ubuntu mirror of focal/jaunty, and my apt-mirror script decided today to (re-?)downloading 170GB of files. Over a 20mbit connection no less. Anyone know why this happened? | 01:56 |
---|---|---|
hloeung | zwelch, no idea, probably best switch to using `rsync` for mirroring? | 02:13 |
zwelch | i know apt-mirror has been unmaintained for a long time; I have had to work out new patches with each of the past several LTS releases. but does this mean that it's now officially recognized as broken/discouraged/unsupported? | 02:18 |
hloeung | you're probably best asking in the Ubuntu support channel on whether `apt-mirror` is `broken/discouraged/unsupported` | 02:21 |
hloeung | IIUC, it has always been encouraged to use `rsync` for mirror operators to keep their mirrors in sync with the main ones we operate | 02:21 |
zwelch | incidentally, all of the files being downloaded are hosted on security.ubuntu.com | 02:22 |
zwelch | I started mirroring a long long time ago, and I believe apt-mirror was the officially recommended tool to use. | 02:23 |
hloeung | https://wiki.ubuntu.com/Mirrors?action=recall&rev=443 - this goes back to 2010 | 02:29 |
zwelch | i started mirror long before that :) | 02:29 |
hloeung | I honestly don't know how far back the recommendation to use `rsync` goes | 02:30 |
hloeung | but yeah, not something we support | 02:31 |
hloeung | anyways, I'll leave it here :) | 02:31 |
zwelch | No worries. It sounds like I just need to bite the bullet and switch to an rsync-based script. | 02:42 |
zwelch | Looking at the ubumirror project, it looks like an rsync solution requires a full mirror of all active versions? apt-mirror allowed me to only download the files for the distros that I'm using; is there an rsync-based solution that can do that? | 02:51 |
zwelch | i.e. how do i mirror only those files required for focal/jaunty? | 02:51 |
sarnold | zwelch: you can probably skip cloning security.ubuntu.com entirely, the usual archive mirrors get the security updates, too | 19:26 |
sarnold | zwelch: the extra security.ubuntu.com is so people can get security updates more rapidly, in case their local country mirror syncs daily or weekly or something with a lot of extra latency | 19:27 |
zwelch | sarnold: That's interesting. How long has that been true? Curious to know how long I've been downloading and storing security updates twice.... :) | 20:01 |
maswan | hmm.. I think I remember this change being introduced, maybe around ubuntu 10-12 somewhere? | 20:02 |
zwelch | i think i set up my mirror around 6 or 8, so "nearly the entire time" :) | 20:03 |
sarnold | zwelch: heh, that's a good question :) It's been this way since 2012 anyway | 20:08 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!