Hi,
I am trying to modify the "CentOS-Base.repo" to explicitly search for packages / updates that are 6.7 so it does not update to 6.9.
The reason is that the application that will be installed only supports 6.7 so I want to make sure that when someone or hopefully me runs "yum update" etc. it does not update to 6.9.
I have modified "CentOS-Base.repo" located here:
/etc/yum.repos.d
and the file now looks like this:
https://pastebin.com/k1SX5H2V
I think I got the links correct because if I run this (after installing "yum-utils"):
Code: Select all
python -c 'import yum, pprint; yb = yum.YumBase(); pprint.pprint(yb.conf.yumvar, width=1)'
Code: Select all
Loaded plugins: fastestmirror, presto
{'arch': 'ia32e',
'basearch': 'x86_64',
'infra': 'stock',
'releasever': '6',
'uuid': '<uuid>'}
Code: Select all
Setting up and reading Presto delta metadata
http://vault.centos.org/6.7/updates/x86_64/repodata/4f5c4185525053567956cd669dda94fd983913a08771989c107626f8949b6394-prestodelta.xml.gz: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Might be some command I missed after updating the "CentOS-Base.repo"-file.
Would appreciate your help