Open SpeedBlack opened 7 years ago
Hello,
I've done a small modification to mrepo so it can use reposyncs:// with RHSM. I'm attaching the patch below. It's basically adding the information already available for the RHEL7 repository (CA, cert, key) to the temporary reposync configuration file. mrepo_reposyncs.patch.txt
The URLs for the repositories are those listed on the RH website, ie they end with /os or /debug.
I use mrepo to synchronize RHEL7 packages (with LFTP, since it's https URLs).
Did anyone find a solution where mrepo/lftp only downloads the latest version of a package and not all as seen below? 389-ds-base-1.3.1.6-25.el7.x86_64.rpm 389-ds-base-1.3.1.6-26.el7_0.x86_64.rpm 389-ds-base-1.3.3.1-13.el7.x86_64.rpm 389-ds-base-1.3.3.1-15.el7_1.x86_64.rpm 389-ds-base-1.3.3.1-16.el7_1.x86_64.rpm 389-ds-base-1.3.3.1-20.el7_1.x86_64.rpm 389-ds-base-1.3.3.1-23.el7_1.x86_64.rpm 389-ds-base-1.3.4.0-19.el7.x86_64.rpm 389-ds-base-1.3.4.0-21.el7_2.x86_64.rpm 389-ds-base-1.3.4.0-26.el7_2.x86_64.rpm 389-ds-base-1.3.4.0-29.el7_2.x86_64.rpm 389-ds-base-1.3.4.0-30.el7_2.x86_64.rpm 389-ds-base-1.3.4.0-32.el7_2.x86_64.rpm 389-ds-base-1.3.4.0-33.el7_2.x86_64.rpm 389-ds-base-1.3.5.10-11.el7.x86_64.rpm 389-ds-base-1.3.5.10-12.el7_3.x86_64.rpm
Because, for example, "rhel-7-server-rpms" repository : Repo-size 17 G
Before with RHEL6 I used : (## Download older versions of a certain package ?) rhnget-download-all = no
Do you know of any other option or script ?
Thanks a lot for your help.