SCIENTIFIC-LINUX-USERS Archives

October 2020

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Chris Schanzle <[log in to unmask]>
Reply To:
Chris Schanzle <[log in to unmask]>
Date:
Tue, 13 Oct 2020 11:44:52 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (38 lines)
On 10/13/20 8:04 AM, Teh, Kenneth M. wrote:
> Hello Nico,
>
> I'm under the impression you maintain the epel repos. If I'm not mistaken, do you have instructions for cloning them?  I'm interested in preserving SL6 and EPEL6 beyond their EOL to use for creating container images.


You are mistaken - EPEL is from the Fedora Project, but no worries, just go to the list of EPEL Mirrors and picking a nearby mirror using the protocol of your choice (rsync, http), mirror the repo:


https://urldefense.proofpoint.com/v2/url?u=https-3A__admin.fedoraproject.org_mirrormanager_mirrors_EPEL&d=DwIF-g&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=fa__8iD8YoUrx80ADBdu6xRV_Xb3V-8dGY1roz-gkwo&s=Wk8qAkRPCNSY6R10xy5svCGIOVo-juEMhqiqeJGJM6k&e= 


If you use rsync, I suggest "browsing" and using 'rsync -n' to see what would be transferred before actually doing it.  Use the http links to easily browse the file structure.  E.g., if your mirror is rsync://mirrors.us.kernel.org/fedora-epel/ ,


rsync rsync://mirrors.us.kernel.org/fedora-epel/


(the trailing slash is important) will show you the top level directories.  You probably want just EPEL "6", so take that next step...


rsync rsync://mirrors.us.kernel.org/fedora-epel/6/


OK, so now work up to doing the transfer, but "-n" means don't actually transfer anything, it'll just show you the full recursive list of files.


rsync -n -avHP rsync://mirrors.us.kernel.org/fedora-epel/6/  ./


If you don't need the ppc64, exclude:


rsync -n -avHP --exclude=ppc64rsync://mirrors.us.kernel.org/fedora-epel/6/  ./


Rinse and repeat until satisfied, then remove the -n to transfer files for real.  You'll need about 47 GB for EPEL 6 excluding ppc64, visible if you include "-hh --stats" in your rsync command.

ATOM RSS1 RSS2