[Apt-cacher-ng-users] apt-cacher-nh and urpmi (Mandriva & Mageia)

Eduard Bloch edi at gmx.de
Tue May 24 18:56:25 UTC 2011


#include <hallo.h>
* Jean Parpaillon [Tue, May 24 2011, 12:59:06PM]:
> Hi,
> I am using apt-cacher-ng for Debian and Ubuntu system with great
> satisfaction for some time now !
> I need now to use it for Mandriva distribution. The package manager is
> urpmi and it has builtin repo support, which present me from using a
> regular proxy.
> 
> Have you ever tried to use apt-cacher-ng with this tool ? I've read you
> get pain while trying to adapt it for yum. What are the blocking
> points ?

I don't remember the details. IIRC the blocking point for me was that
when I tried to set an HTTP proxy for package related work but NOT for
user settings, I could not find a single place to do so. Something
always tried to do something without proxy.

> What would it need to make it run ? 

a) find a good place to configure the package proxy (which can be
documented in a user-friendly way)

b) identify which files have static contents (like RPMs with unique
names) and which are the volatile ones, compose appropriate regexps and
add them to acfg_defaults.cc . Plus, find the content index file which
serves as entry point (not referenced by any other one) and add it to
the whitelist pattern.

c) write a parser for index files which collects file descriptions and
checksums

d) (optional) if there is a well synchronized mirror network, write a
Remap-... configuration example for acng.conf

e) (optional, hacking) add automated import function to get a list of
the mirror network servers into a URL list file (see
Debian/Ubuntu/ArchLinux examples in GNUMakefile)

I think that should be all for the moment.

Regards,
Eduard.



More information about the Apt-cacher-ng-users mailing list