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
On Thu, 8 Dec 2016, 21:33 David Suna, <da...@davidsconsultants.com> wrote: > 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 > > # CentOS-Base.repo > # > # The mirror system uses the connecting IP address of the client and the > # update status of each mirror to pick mirrors that are updated to and > # geographically close to the client. You should use this for CentOS > updates > # unless you are manually picking other mirrors. > # > # If the mirrorlist= does not work for you, as a fall back you can try the > # remarked out baseurl= line instead. > # > # > > [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/ > enabled=1 > gpgcheck=1 > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 > > #released updates > [updates] > name=CentOS-$releasever - Updates > mirrorlist= > http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra > #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ > enabled=1 > gpgcheck=1 > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 > > #additional packages that may be useful > [extras] > name=CentOS-$releasever - Extras > mirrorlist= > http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra > #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ > gpgcheck=1 > pgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 > > #additional packages that extend functionality of existing packages > [centosplus] > name=CentOS-$releasever - Plus > mirrorlist= > http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra > #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ > gpgcheck=1 > enabled=0 > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 > > #contrib - packages by Centos Users > [contrib] > name=CentOS-$releasever - Contrib > mirrorlist= > http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib&infra=$infra > #baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/ > gpgcheck=1 > enabled=0 > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 > > > On 08/12/16 21:00, Rabin Yasharzadehe wrote: > > +1 for `yum clean all` > > also make sure your repos in the `/etc/yum.repo.d/` folder are enabled and > are pointing to a valid repos. > some VPS provider will change the url's in this files to point to there > proxy server to save time and BW, > > > > > -- > Rabin > > On 8 December 2016 at 18:57, David Suna <da...@davidsconsultants.com> > wrote: > > 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. > > 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. > > Can anyone give me a pointer to how I can solve this problem? > > Thanks, > > > -- > David Suna > da...@davidsconsultants.com > > > _______________________________________________ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > -- > David sunada...@davidsconsultants.com > >
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il