-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Weird, as all CentOS machines under my control are suddenly giving the baseurl of Base repo not found error since this morning. Could be that mirrorlist is leading but all other options I found online to debug the error message seem to indicate that (un)commenting should fix it. On 24-5-2015 14:10, Alexander Dalloz wrote:> Am 24.05.2015 um 13:45 schrieb Tim Semeijn: > >> >> Dear, >> >> Recently I have noticed that on all my CentOS machines the >> CentOS-Base.repo file seems to have been modified resulting in >> all baseurl= lines being commented out. > > That is the case for a very long time, even if it hasn't be the > case all the time. Instead of baseurl the default is mirrorlist. > >> Did I miss something that was planned or is this a bug? >> >> Best regards, >> >> - -- Tim Semeijn > > Alexander > > _______________________________________________ CentOS mailing > list CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >- -- Tim Semeijn Babylon Network pgp 0x5B8A4DDF -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVYciFAAoJEIZioqpbik3fAXIP+wWLViSMCCOPfHgDHpIL7LuZ j0RFaKNqL7YT9NU9KXQFXW/x6lRD6AjoMRyqPqWnRCKbJhUAvpNa3cLRRqU3lQMC S4Zkm4PY3mwS9gnvrj69ZSmhTxfTXLprXllc+W8EF0+8ah9kjPsmSuAfMD8+5T4Q qfy1wJtARxeA2EhZKFg9vGYP+0LVVbWELK152GHxlXUq08FbsiLkFizemCf2TPYa 0NYBBsV1MitCqkehkATJw5YULmA4gWw3OFySd8UxZ9ylrAi0C6SNto3B2wNPSg4X 29aiPG/0rcVQDKFFs/wL1hKKRukiCkAOADRxEq+SEEUxqXl7R0vyQiqsclHjTNm+ 7XXw5i0B1zngw2yym8zVbvaMWBGWQLIMhFiYWWb3Lwg4v+8N+KZ0q+MP5RUxW2Rd mPUm1pOpLifD+/avY/1tegDAIvMNrvGCj0AnllDwCn7DZ3sCr8lI8siJdHhlZkdQ JPwLXo9KeEi62P+ZMH/UDgSax5fz2+cRdJlpN9Er8PCo2GOAqbDGX1IBfwzi0C16 KeS85YEstBLQE5YsD/ag19WliY8uzQFSq/tGalUvFvFB/9lQxLbyMU3PBinnDCCB L+A8jZB93SlLRvL4ZvxLeFNt3vclqb6/ie2WesqehKYuirUdcTGyt9H+jpo0uYVJ fm8Hbibo6zYuiP1QnO2q =GmwH -----END PGP SIGNATURE-----
On 05/24/2015 07:48 AM, Tim Semeijn wrote:> Weird, as all CentOS machines under my control are suddenly giving the > baseurl of Base repo not found error since this morning. Could be that > mirrorlist is leading but all other options I found online to debug > the error message seem to indicate that (un)commenting should fix it.For the Base (or os) section of the CentOS-Base.repo file, the default is: ======================================== [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 ======================================== (note: the mirrorlist line wrapped) So mirrorlist returns a list of 10 geoip (by country) based servers where you can get updates ... here is a way to test: http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os (that lists the os update mirrors for your location based on your IP) If you have issues doing updates, I would first do "yum clean all" as root and try again. If that does not work make sure the server can get a list of mirrors from mirrorlist. If your machine does not have a browser, you can print the list in a terminal with: curl "http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os" If you can get a mirrorlist and you are getting errors still, then the issue has something to do with you yum connection to the mirrorlist servers. It could be proxy related, if you have a proxy . more info would be needed. You CAN uncommnet the baseurl, but that is just one host, while mirrorlist gives you ten.> > On 24-5-2015 14:10, Alexander Dalloz wrote: >> Am 24.05.2015 um 13:45 schrieb Tim Semeijn: > >>> >>> Dear, >>> >>> Recently I have noticed that on all my CentOS machines the >>> CentOS-Base.repo file seems to have been modified resulting in >>> all baseurl= lines being commented out. > >> That is the case for a very long time, even if it hasn't be the >> case all the time. Instead of baseurl the default is mirrorlist. > >>> Did I miss something that was planned or is this a bug? >>> >>> Best regards, >>> >>> - -- Tim Semeijn > >> Alexander-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20150524/b274aefa/attachment-0001.sig>
Am 24.05.2015 um 16:11 schrieb Johnny Hughes:> On 05/24/2015 07:48 AM, Tim Semeijn wrote: >> Weird, as all CentOS machines under my control are suddenly giving the >> baseurl of Base repo not found error since this morning. Could be that >> mirrorlist is leading but all other options I found online to debug >> the error message seem to indicate that (un)commenting should fix it.[ ... ]> If you have issues doing updates, I would first do "yum clean all" as > root and try again. If that does not work make sure the server can get > a list of mirrors from mirrorlist. If your machine does not have a > browser, you can print the list in a terminal with: > > curl "http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os"Empty result.> If you can get a mirrorlist and you are getting errors still, then the > issue has something to do with you yum connection to the mirrorlist > servers. It could be proxy related, if you have a proxy . more info > would be needed.Hi Johnny, I am getting the same problem with mirrorlist: # LANG=C yum -d10 makecache Loading "fastestmirror" plugin Config time: 0.015 Running "init" handler for "fastestmirror" plugin Yum Version: 3.2.29 COMMAND: yum -d10 makecache Installroot: / Running "postreposetup" handler for "fastestmirror" plugin Loading mirror speeds from cached hostfile Error: Cannot find a valid baseurl for repo: base Did run a "yum clean all" before. ]# LANG=C yum -d10 update Loading "fastestmirror" plugin Config time: 0.013 Running "init" handler for "fastestmirror" plugin Yum Version: 3.2.29 COMMAND: yum -d10 update Installroot: / Reading Local RPMDB rpmdb time: 0.001 Setting up Update Process Updating Everything Building updates object Setting up Package Sacks Running "postreposetup" handler for "fastestmirror" plugin Loading mirror speeds from cached hostfile Error: Cannot find a valid baseurl for repo: base> You CAN uncommnet the baseurl, but that is just one host, while > mirrorlist gives you ten.Something is screwed on the remote end. Alexander