On Sat Mar 15 17:29 -0800, James Sparenberg wrote: > Is there a decent tutorial on using urpmi with a locally created rpm > database? I've a number of "our company only" rpms that I'd like to > make available to urpmi is why.
Basically I do the following... this is how I generate my own custom distrib for my local mirror (which only does main minus various i18n packages, installer stuff etc.). I may be wrong in places, in which cases, someone will correct me ;o). 1) create a base/hdlists file. This file has a simple format: hdlist_name path/to/rpms name_of_distrib hdlist_name is generally going to be hdlist.cz path/to/rpms is relative to the main directory of the distribution. If your RPMS are in /distrib/RPMS, then the main directory of the distribution is /distrib, for instance. In this case, base/hdlists looks something like hdlist.cz RPMS internal packages 2) from the main directory, execute: gendistrib --distrib . which will create the files that urpmi needs 3) do a normal urpmi.addmedia for a local medium... in our example: urpmi.addmedia source_name file://distrib/RPMS with ../base/hdlist.cz source_name does not have to correspond to name_of_distrib... That should do it... -- Levi Ramsey [EMAIL PROTECTED] [EMAIL PROTECTED] The food of love is Mandrake root. GPG Fingerprint: 354C 7A02 77C5 9EE7 8538 4E8D DCD9 B4B0 DC35 67CD Currently playing: The Doors - Light My Fire Linux 2.4.21-0.13mdk 21:40:01 up 1 day, 43 min, 9 users, load average: 0.08, 0.11, 0.15