Categories
Computers

apt-mirror Update

The download took all night. It ended a little after 7 this morning, which pegs it at about 14 hours to download 65GB. My internet connection is a 10Mbit cable line, so there’s a bench mark of sorts.

When I embarked on this little project, my goal was to come up with a way to force apt-cacher-ng to update all of its cache on a schedule. For the native machine/architecture all that is required is to schedule an apt-get update which can be done by enabling it in the apt config files. But I couldn’t figure out how to force the same thing for a foreign architecture (ie- for another computer running i386 based stuff) so the files would already exist on the network.

The more I thought about it, I realized there wasn’t any bandwidth savings to be had because, though both machines run debian/testing, they both required different sets of package files because of the different architectures. Therefore, anything I was doing was going to be for creating a more convenient update process by having the files already present on the local network. The apt-mirror package isn’t ideal since it downloads an entire repository for a debian branch rather than caching and updating just the packages I need. However, it’s better than a full-blown mirror and, once it’s initially setup, the downloading is merely a matter of updating the local repository. In the end, it seemed like the best compromise.

Categories
Computers

apt-mirror

Prior to the server mobo dieing I had been using apt-cacher-ng to minimize internet traffic. The setup worked well since both my EEE and my server were running i386 packages from the testing distribution.

With the new mobo in the server, all the packages are amd64 based packages. Thus, I’m not really gaining any advantages with apt-cacher since different packages are going to the two computers. So I’m trying out the apt-mirror package since it can be configured to download packages for different architectures.

Since it’s a mirror as opposed to a caching application, it’s downloading all of the packages related to testing for both i386 and amd64. I started it about 5:15PM. The download size is ~65GB. It’s still downloading.

More later… once this step is complete.