Try to do yum --disablerepo=* localinstall
and see if that helps

If it does then you ahve to look in each *.repo file and disable them all in 
turn.

Steve

________________________________
From: owner-scientific-linux-us...@listserv.fnal.gov 
<owner-scientific-linux-us...@listserv.fnal.gov> on behalf of Ken Teh 
<00000864eace5c83-dmarc-requ...@listserv.fnal.gov>
Sent: Thursday, February 20, 2020 2:30 PM
To: scientific-linux-users <scientific-linux-users@fnal.gov>
Subject: disabling the mirror list

I tried to do a yum localinstall somename.rpm and yum went out looking for
mirrors. I have a machine behind a nat box that restricts outbound access so it
is timing out trying to reach 
https://urldefense.proofpoint.com/v2/url?u=http-3A__ftp.scientificlinux.org&d=DwICaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=gPxUF7VEZvngH42FWi_n2Oud9LoYvWcrlEyfWEZv4BI&s=U4w5jEkK86lgA8jZYPg5ym6c03DCPEsaGyPstP1aQqc&e=
 .

Why does it try accessing various mirrors when I do a local install?

We have a local mirror here at ANL and I want yum to use our local mirror and
not wander around the net trying to reach various mirrors. To this end, I've put
the baseurl in sl6x.repo to point at our local mirror. But it still goes out to
look for mirrors.

What gives? Tried looking at ym.conf parameters but none jumps out at me that
might possibly disable this behaviour.

Would appreciate some advice.  Thanks.

Reply via email to