<p dir="ltr">Seems right, try commenting the mirror line and use a direct URL, and see if it's help. You can also try using curl or wget to check if it's a network problem </p>
<br><div class="gmail_quote"><div dir="ltr">On Thu, 8 Dec 2016, 21:33 David Suna, <<a href="mailto:david@davidsconsultants.com">david@davidsconsultants.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000" class="gmail_msg">
<p class="gmail_msg">I tried "yum clean all" but that didn't help. I am not sure how
to tell where the url's should be pointing. Here is what I have in
CentOS-Base.repo</p>
<p class="gmail_msg"># CentOS-Base.repo<br class="gmail_msg">
#<br class="gmail_msg">
# The mirror system uses the connecting IP address of the client
and the<br class="gmail_msg">
# update status of each mirror to pick mirrors that are updated to
and<br class="gmail_msg">
# geographically close to the client. You should use this for
CentOS updates<br class="gmail_msg">
# unless you are manually picking other mirrors.<br class="gmail_msg">
#<br class="gmail_msg">
# If the mirrorlist= does not work for you, as a fall back you can
try the<br class="gmail_msg">
# remarked out baseurl= line instead.<br class="gmail_msg">
#<br class="gmail_msg">
#<br class="gmail_msg">
<br class="gmail_msg">
[base]<br class="gmail_msg">
name=CentOS-$releasever - Base<br class="gmail_msg">
mirrorlist=<a class="m_4762248309566575283moz-txt-link-freetext gmail_msg" href="http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra" target="_blank">http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra</a><br class="gmail_msg">
#baseurl=<a class="m_4762248309566575283moz-txt-link-freetext gmail_msg" href="http://mirror.centos.org/centos/$releasever/os/$basearch/" target="_blank">http://mirror.centos.org/centos/$releasever/os/$basearch/</a><br class="gmail_msg">
enabled=1<br class="gmail_msg">
gpgcheck=1<br class="gmail_msg">
gpgkey=<a class="m_4762248309566575283moz-txt-link-freetext gmail_msg">file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6</a><br class="gmail_msg">
<br class="gmail_msg">
#released updates <br class="gmail_msg">
[updates]<br class="gmail_msg">
name=CentOS-$releasever - Updates<br class="gmail_msg">
mirrorlist=<a class="m_4762248309566575283moz-txt-link-freetext gmail_msg" href="http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra" target="_blank">http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra</a><br class="gmail_msg">
#baseurl=<a class="m_4762248309566575283moz-txt-link-freetext gmail_msg" href="http://mirror.centos.org/centos/$releasever/updates/$basearch/" target="_blank">http://mirror.centos.org/centos/$releasever/updates/$basearch/</a><br class="gmail_msg">
enabled=1<br class="gmail_msg">
gpgcheck=1<br class="gmail_msg">
gpgkey=<a class="m_4762248309566575283moz-txt-link-freetext gmail_msg">file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6</a><br class="gmail_msg">
<br class="gmail_msg">
#additional packages that may be useful<br class="gmail_msg">
[extras]<br class="gmail_msg">
name=CentOS-$releasever - Extras<br class="gmail_msg">
mirrorlist=<a class="m_4762248309566575283moz-txt-link-freetext gmail_msg" href="http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra" target="_blank">http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra</a><br class="gmail_msg">
#baseurl=<a class="m_4762248309566575283moz-txt-link-freetext gmail_msg" href="http://mirror.centos.org/centos/$releasever/extras/$basearch/" target="_blank">http://mirror.centos.org/centos/$releasever/extras/$basearch/</a><br class="gmail_msg">
gpgcheck=1<br class="gmail_msg">
pgkey=<a class="m_4762248309566575283moz-txt-link-freetext gmail_msg">file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6</a><br class="gmail_msg">
<br class="gmail_msg">
#additional packages that extend functionality of existing
packages<br class="gmail_msg">
[centosplus]<br class="gmail_msg">
name=CentOS-$releasever - Plus<br class="gmail_msg">
mirrorlist=<a class="m_4762248309566575283moz-txt-link-freetext gmail_msg" href="http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra" target="_blank">http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra</a><br class="gmail_msg">
#baseurl=<a class="m_4762248309566575283moz-txt-link-freetext gmail_msg" href="http://mirror.centos.org/centos/$releasever/centosplus/$basearch/" target="_blank">http://mirror.centos.org/centos/$releasever/centosplus/$basearch/</a><br class="gmail_msg">
gpgcheck=1<br class="gmail_msg">
enabled=0<br class="gmail_msg">
gpgkey=<a class="m_4762248309566575283moz-txt-link-freetext gmail_msg">file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6</a> <br class="gmail_msg">
<br class="gmail_msg">
#contrib - packages by Centos Users<br class="gmail_msg">
[contrib]<br class="gmail_msg">
name=CentOS-$releasever - Contrib<br class="gmail_msg">
mirrorlist=<a class="m_4762248309566575283moz-txt-link-freetext gmail_msg" href="http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib&infra=$infra" target="_blank">http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib&infra=$infra</a><br class="gmail_msg">
#baseurl=<a class="m_4762248309566575283moz-txt-link-freetext gmail_msg" href="http://mirror.centos.org/centos/$releasever/contrib/$basearch/" target="_blank">http://mirror.centos.org/centos/$releasever/contrib/$basearch/</a><br class="gmail_msg">
gpgcheck=1<br class="gmail_msg">
enabled=0<br class="gmail_msg">
gpgkey=<a class="m_4762248309566575283moz-txt-link-freetext gmail_msg">file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6</a> <br class="gmail_msg">
<br class="gmail_msg">
</p></div><div bgcolor="#FFFFFF" text="#000000" class="gmail_msg">
<p class="gmail_msg">
</p>
<br class="gmail_msg">
<div class="m_4762248309566575283moz-cite-prefix gmail_msg">On 08/12/16 21:00, Rabin Yasharzadehe
wrote:<br class="gmail_msg">
</div>
<blockquote type="cite" class="gmail_msg">
<div dir="ltr" class="gmail_msg">
<div class="gmail_default gmail_msg" style="font-family:tahoma,sans-serif">+1
for `yum clean all`<br class="gmail_msg">
<br class="gmail_msg">
</div>
<div class="gmail_default gmail_msg" style="font-family:tahoma,sans-serif">also
make sure your repos in the `/etc/yum.repo.d/` folder are
enabled and are pointing to a valid repos.<br class="gmail_msg">
</div>
<div class="gmail_default gmail_msg" style="font-family:tahoma,sans-serif">some
VPS provider will change the url's in this files to point to
there proxy server to save time and BW,<br class="gmail_msg">
<br class="gmail_msg">
</div>
<div class="gmail_default gmail_msg" style="font-family:tahoma,sans-serif"><br class="gmail_msg">
</div>
<div class="gmail_default gmail_msg" style="font-family:tahoma,sans-serif"><br class="gmail_msg">
</div>
</div>
<div class="gmail_extra gmail_msg"><br clear="all" class="gmail_msg">
<div class="gmail_msg">
<div class="m_4762248309566575283gmail_signature gmail_msg" data-smartmail="gmail_signature">
<div dir="ltr" class="gmail_msg"><span style="font-family:tahoma,sans-serif" class="gmail_msg">--<br class="gmail_msg">
Rabin</span></div>
</div>
</div>
<br class="gmail_msg">
<div class="gmail_quote gmail_msg">On 8 December 2016 at 18:57, David Suna
<span dir="ltr" class="gmail_msg"><<a href="mailto:david@davidsconsultants.com" class="gmail_msg" target="_blank">david@davidsconsultants.com</a>></span>
wrote:<br class="gmail_msg">
<blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am using
CentOS for the first time on a GoDaddy Virtual Private
Server. Yesterday I was able to install packages without a
problem. Today, for some reason, any package I try to search
for I get a No Matches found error. And any package I try to
install I get No package <package name> available.<br class="gmail_msg">
<br class="gmail_msg">
I am a Debian / Ubuntu user so I am a little lost in the
CentOS - yum world. GoDaddy support is completely worthless.
I have tried searching on Google but have not found what I
am looking for.<br class="gmail_msg">
<br class="gmail_msg">
Can anyone give me a pointer to how I can solve this
problem?<br class="gmail_msg">
<br class="gmail_msg">
Thanks,<span class="m_4762248309566575283HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"><br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
-- <br class="gmail_msg">
David Suna<br class="gmail_msg">
<a href="mailto:david@davidsconsultants.com" class="gmail_msg" target="_blank">david@davidsconsultants.com</a><br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
Linux-il mailing list<br class="gmail_msg">
<a href="mailto:Linux-il@cs.huji.ac.il" class="gmail_msg" target="_blank">Linux-il@cs.huji.ac.il</a><br class="gmail_msg">
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" rel="noreferrer" class="gmail_msg" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br class="gmail_msg">
</font></span></blockquote>
</div>
<br class="gmail_msg">
</div>
</blockquote>
<br class="gmail_msg">
</div><div bgcolor="#FFFFFF" text="#000000" class="gmail_msg"><pre class="m_4762248309566575283moz-signature gmail_msg" cols="72">--
David Suna
<a class="m_4762248309566575283moz-txt-link-abbreviated gmail_msg" href="mailto:david@davidsconsultants.com" target="_blank">david@davidsconsultants.com</a></pre>
</div></blockquote></div>