Re: CentOS yum install problem
Amos Shapira <[email protected]>
| Newsgroups | gmane.linux.region.israel |
|---|---|
| Message-ID | <CAF9n_WX=bh-K+WRMvCLi1qeS4rv4-rRzf8QYaSPDczL=1=3qSg@mail.gmail.com> |
I'd also check that your DNS configuration haven't changed, e.g. try "host mirrorlist.centos.org" and see if you can get it to resolve. On 9 December 2016 at 08:35, Rabin Yasharzadehe <rabin-OghmkI/[email protected]> wrote: > 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, <david-lbDOmM3XA9gS/[email protected]> 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 <david-lbDOmM3XA9gS/[email protected]> >> 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 >> david-lbDOmM3XA9gS/[email protected] >> >> >> _______________________________________________ >> Linux-il mailing list >> [email protected] >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> >> >> >> -- >> David Sunadavid-lbDOmM3XA9gS/[email protected] >> >> > _______________________________________________ > Linux-il mailing list > [email protected] > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- <http://au.linkedin.com/in/gliderflyer> _______________________________________________ Linux-il mailing list [email protected] http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il