Feature #133
Use local apt-cacher for Debian/Ubuntu installs
Status: | Resolved | Start: | 2016-02-27 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assigned to: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - | |||
Votes: | 0 |
Description
Debian/Ubuntu installs currently use a well-known remote mirror, but there is no reason why they shouldn't use the local apt-cacher which aside from probably being faster would also avoid chargeable data transfer.
History
Updated by admin about 9 years ago
- Status changed from New to Resolved
Installer does actually use apt-cacher. In preseed file:
# Force use of our own apt-cache d-i mirror/country string manual d-i mirror/protocol string http d-i mirror/http/hostname string apt-cacher.lon.bitfolk.com d-i mirror/http/directory string /debian/ftp.uk.debian.org/debian
It's only the initial kernel and initramfs that are downloaded from an external mirror.
These could possibly be hosted locally also, but:
- This would be more complicated as apt-cacher only caches an apt repository and the installer files aren't in an apt repository.
- They're only a couple of megabytes in size anyway.
So I'm not convinced it's worth the hassle to do that.