On Thu, Apr 18, 2013 at 11:57:46AM +0100, Trey Blancher wrote: > I set up reprepro to replace my broken debmirror partial mirror, and it has > worked great. Configure and forget about it. I have one slight issue, > though. > I have configured reprepro correctly, as far as I can tell, but I get 404 > warnings in my apache2 log, like so > > [Sat Apr 13 20:16:07 2013] [error] [client 127.0.0.1] File does not exist: > /var > /spool/mirror/debian/dists/sid/contrib/i18n > [Sat Apr 13 20:16:07 2013] [error] [client 127.0.0.1] File does not exist: > /var > /spool/mirror/debian/dists/sid/contrib/i18n > [Sat Apr 13 20:16:07 2013] [error] [client 127.0.0.1] File does not exist: > /var > /spool/mirror/debian/dists/sid/main/i18n > [Sat Apr 13 20:16:07 2013] [error] [client 127.0.0.1] File does not exist: > /var > /spool/mirror/debian/dists/sid/main/i18n > [Sat Apr 13 20:16:07 2013] [error] [client 127.0.0.1] File does not exist: > /var > /spool/mirror/debian/dists/sid/non-free/i18n > [Sat Apr 13 20:16:07 2013] [error] [client 127.0.0.1] File does not exist: > /var > /spool/mirror/debian/dists/sid/non-free/i18n > > There is more than just that in one salvo of errors, but they're all very > similar. They all seem to do with internationalization (i18n) files, which I > don't need.
Without digging too deeply into this, I suspect this is normal behavior. Apt-get tends to request lots of (usually) nonexistent files from my repositories as it appears to support multiple styles of repositories. For example, a repository may (or may not) have a top-level "Release" file, it may (or may not) be signed ("Release.gpg"), the list of packages may be compressed ("Packages" vs "Packages.gz" / "Packages.bz2"), and the repository may support differential updates (*.diff files). And probably lots of other optional bits. To preserve backward compatibility new repository features tend to be added by adding new files, which allows apt-get to detect the presense/absense of the feature easily. I would not be the least bit surprised to see that the package descriptions may be available in non-english languages via different files: Having all languages for all packages in the same file would be a big chunk... > I'd just like to get rid of those messages. I have attached my > reprepro mirror conf/distributions and conf/updates files. Is there > something I'm missing? If you have control over the apt clients, you may be able to tweak their apt.conf to control which translation files are (attempted) downloaded. But this could be a fair amount of work for very little benefit. Hope this helps -- Karl E. Jorgensen -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130418112910.GB6491@hawking