Ben Poliakoff <[email protected]> writes:
> * John Stoffel <[email protected]> [20100301 09:11]:
>> 
>> Skylar> Does anyone have any tips/tools for managing custom apt
>> Skylar> repositories?  Here's the requirements I have:
>> 
>> Skylar> 1. Take a list of packages and fetch all those packages plus their
>> Skylar> dependencies. I could download the entire mirror but that's a lot of
>> Skylar> disk space I'd rather not dedicate to the task.
>> 
>> Sounds like what you want here is the apt-cacher stuff.  Point all
>> your internal hosts at the cacher and let it fetch the .debs as needed
>> and cache them locally.  
>
> I've found it simplest to have one repo dedicated to an apt caching
> service (I use "approx"), and another separate one for locally generated
> packages, backports etc.

I can also recommend this strategy; having used a variety of options, I found
this the least trouble and most effective solution in the longer term.  While
my proxy of choice is 'apt-cacher-ng', any of them should be fine.

>
>> Skylar> 2. Maintain multiple architectures with one tool (currently i386 and
>> Skylar> amd64, but potentially more in the future).
>> 
>> Should be able to do this just fine.
>> 
>> Skylar> 3. Add custom packages easily.
>> Skylar> 4. Rebuild indices (e.g. Packages.gz and Sources.gz) automatically.
>
> Index rebuilds could be automatically triggered based on some sort of
> periodic find command using the Packages.gz as the timestamp file....

For your own stuff, reprepro is the least-worst solution I have found.
        Daniel

-- 
✣ Daniel Pittman            ✉ [email protected]            ☎ +61 401 155 707
               ♽ made with 100 percent post-consumer electrons

_______________________________________________
Tech mailing list
[email protected]
http://lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to