I think this issue i fixed by renaming repo file:
cd /etc/yum.repos.d;mv CentOS-Base.repo CentOS-Base.repo_
vi CentOS-Base.repo
"a" or "i" key
paste:
[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
baseurl=http://vault.centos.org/6.10/centosplus/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
gpgcheck=1
#released updates
[updates]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
baseurl=http://vault.centos.org/6.10/centosplus/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
gpgcheck=1
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
baseurl=http://vault.centos.org/6.10/centosplus/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
gpgcheck=1
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
baseurl=http://vault.centos.org/6.10/centosplus/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
gpgcheck=1
(replace 6.10 by your version returned by "cat /etc/red*" command)
then "yum clean all;yum update"
then i have seen errors:
# yum update
Loaded plugins: fastestmirror, presto, priorities, protectbase, replace
Setting up Update Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrors.iuscommunity.org/mirrorlist?repo=ius-centos6-archive&arch=i386&protocol=http error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.iuscommunity.org'"
Could not retrieve mirrorlist http://mirrors.iuscommunity.org/mirrorlist/?repo=ius-centos6&arch=i386&protocol=http error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.iuscommunity.org'"
* mratwork-epel: ftp-stud.hs-esslingen.de
* mratwork-release-neutral-noarch: rpms.potissima.com
* mratwork-release-version-arch: rpms.potissima.com
* mratwork-webtatic: uk.repo.webtatic.com
http://repo.varnish-cache.org/redhat/varnish-3.0/el6/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'repo.varnish-cache.org'"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: mratwork-varnish-3.0. Please verify its path and try again
What is the replacement
mirrors repo for ius and varnish-cache?
In the meantime i have opened /etc/yum.repos.d/mratwork.repo and prefixed the "mirrorlist=" lines with IUS repo by "#" character disabling these And set the varnish repo from enabled 1 to 0 and "yum update" now works, but i would rather replace old mirrors by new one not to break future updates.
UPDATE: maybe i should use "archive" repo URLs from files at
https://github.com/iusrepo/ius-release ?