SCIENTIFIC-LINUX-USERS Archives

February 2020

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show HTML 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:
Steven C Timm <[log in to unmask]>
Reply To:
Steven C Timm <[log in to unmask]>
Date:
Thu, 20 Feb 2020 20:34:43 +0000
Content-Type:
multipart/alternative
Parts/Attachments:
text/plain (1446 bytes) , text/html (3289 bytes)
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: [log in to unmask] <[log in to unmask]> on behalf of Ken Teh <[log in to unmask]>
Sent: Thursday, February 20, 2020 2:30 PM
To: scientific-linux-users <[log in to unmask]>
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.


ATOM RSS1 RSS2