[mythtv-users] creating local apt/yum repos (was: RPM packages?)

Axel Thimm Axel.Thimm at physik.fu-berlin.de
Thu Oct 23 22:50:39 EDT 2003


On Thu, Oct 23, 2003 at 11:35:28AM -0700, Jarod C. Wilson wrote:
>>>Is there any way to create my own apt repository on my lan so that
>>>the 6 machines at my house won't choke my DSL when we all do a
>>>dist-upgrade?
> 
> On Thursday, Oct 23, 2003, at 09:45 US/Pacific, Brad Sagowitz wrote:
>> NM... I've found a how-to that basically says I need to think this
>> through further which also means I won't have time to implement
>> this before Sat.
> 
> [...] Axel? Care to enlighten us on how one would quickly set up a
> local apt repo to share stuff to multiple machines?

One _must_ read the docs to get through the concepts, especially for
creating apt release files (but you can simply copy one and modify
it). Once this is done here is a simplified example script
component for recreating the apt/yum repo metadata.

	# apt
        genbasedir --bloat --flat --bz2only \
	  /var/www/html/apt/redhat/rawhide/en/i386 at-stable at-good at-testing at-bleeding
	# yum
	for section in at-stable at-good at-testing at-bleeding; do
          mkdir -p /var/www/html/apt/redhat/rawhide/en/i386/$section/{RPMS,headers}
          cd /var/www/html/apt/redhat/rawhide/en/i386/$section/RPMS
          ls -s ../../RPMS.$section/*.rpm .
          yum-arch -q -l /var/www/html/apt/redhat/rawhide/en/i386/$section
	done

You asked for it ;)
-- 
Axel.Thimm at physik.fu-berlin.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20031023/2a48c7c8/attachment.pgp


More information about the mythtv-users mailing list