After the last update to CentOS 6.8, I have observed that in mirrorlist there are no mirrors for “centos-base” and for “centos-updates”.
Before the update to CentOS 6.8, there were mirrors for CentOS (please see the attached files), from Romania. I think there may be an issue with romanian mirrors.
Question:
What and where I must modify to have mirrors for “centos-base” and for “centos-update”, but not from romanian mirrors (I prefer mirrors from US).
TIA,
Gabriel
EDIT:
Maybe the update policy is changed?
Will be available updates only through NethServer, including CentOS updates?
The versions were good.
The upgrade to NS 6.8 was OK but there were no mirrors for CentOS updates/upgrades.
After “Possible fix? (to test on non-production server)”, tested first on VM * and then on production server, I have mirrors (please see the attached files).
I had the same issue on VM: I had a NS 6.7 “virgin” and I tried to update it to NS 6.8 from “Software center”. The update worked only for NS, not for CentOS which remained to 6.7, and no mirrors for CentOS in Software center.
I was thinking why we got the vault link. Not very familiar with CentOS but suspected it is to archive old unmaintained releases.
Checked a CentOS mirror and got this:
This directory (and version of CentOS) is deprecated. For normal users,
you should use /6/ and not /6.7/ in your path. Please see this FAQ
concerning the CentOS release scheme:
In this case (my case but I saw also and in other printscreen in this topic, @fasttech, that there are no centos mirrors), I think it was only a matter of yum cache which was solved with the last two commands:
In this case, I tested with just those two commands, and also tried with yum clean all (and done some other tests), and there were still no centos mirrors. But changing the version number (directly in the mirrorlist like @giordy kindly suggested or the distroversion var) succeeded.
If this is a measure to prevent updates from breaking the system, that’s OK. But then IMO the nethserver package updating to a new release should take care of this as well. Otherwise, if no major risk, use just the major version number.
–Edit–
OK. There’s something related in the commits:
I did this on Zentyal but here is a little bit different.
Anyway, now it works and I know that is not about the romanian mirrors.
I saw in /etc/yum.conf that is possible to refresh metadata from time to time but I will not change anything for now.
I will wait to see what Giacomo would say after he will check.
Weird, I had upgraded a couple of production installs to 6.8 final, completed upgrades, I thought, until I saw that one had old packages, and no centos caches, a yum clean all fixed that and now there’s a flood of updates. Sigh, thought I was done at that office.