SCIENTIFIC-LINUX-USERS Archives

January 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:
Peter Willis <[log in to unmask]>
Reply To:
Peter Willis <[log in to unmask]>
Date:
Tue, 28 Jan 2020 14:50:18 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
Hello,

I am attempting to build an exported file system for diskless nodes.

My distribution is  SL 7.7 and the command I am using is:

yum install @Base kernel dracut-network nfs-utils --installroot=/node_root --releasever=/

The repository problem manifests as a mistranslation of the  '$slreleasever'   environment variable.
 
This makes all the FTP repositories used by YUM malformed. The value '$slreleasever'  appears to be inserted to the URLs rather than the proper value  '7x'. Hence the URLs read:

https://urldefense.proofpoint.com/v2/url?u=http-3A__ftp.scientificlinux.org_linux_scientific_-2524slreleasever_x86-5F64_os_Packages_&d=DwIFAg&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=_XPWQWNwUeu0ZFKH219isUWT6M2TPEo7FIuWwhY0wjM&s=-7jDic-Wp04OefvpIx3KLdPeLmRh7bYielU8ZO8vb2w&e= .....

Rather than :

https://urldefense.proofpoint.com/v2/url?u=http-3A__ftp.scientificlinux.org_linux_scientific_7x_x86-5F64_os_Packages_&d=DwIFAg&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=_XPWQWNwUeu0ZFKH219isUWT6M2TPEo7FIuWwhY0wjM&s=UKg8rHPPmAJWsAUGj3Sw9Xgc2ybKBgIYkQkEmYV6HmU&e= 


Has anyone encountered this issue with yum before?

Is there a solution? 

I have tried       'yum clean all'    and friends.

Thanks for any help,

pwillis  

ATOM RSS1 RSS2