Re: yum: ignore errors



On May 3, 1:12 am, Ken <nob...@xxxxxxxxxxx> wrote:
Teo wrote:
Hi,

I would like to know if there is a way to tell yum to ignore a
repository if there is network error. I do regular updates but when a
repository has a problem, e.g.,

Could not retrieve mirrorlisthttp://apt.kde-redhat.org/apt/kde-redhat/fedora/mirrors-stable
error was
[Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Error: Cannot find a valid baseurl for repo: kde

yum stops.

What I would like is to ignore the repository with a problem (in this
case kde) and continue with the others (something similar to
automatically setting --disablerepo if the repository is not
reachable).

Many thanks,

Matteo

By default, it won't select a repo with a problem. However, if what you
are looking for is to continue with the installs/updates skipping a
package that it cannot get a prereq for, that would be yum-skip-broken.

You might want to also have yum-protectbase and yum-fastestmirror.

Ken

Dear Ken,

I want to ingore a whole repository not just a single package. If one
of the repositories is not reachable at all I cannot even do a yum
list or you search: it stops when contacting the problematic server.

Matteo

.



Relevant Pages

  • Re: [opensuse] Suse 10.3 Beta1 +Compiz-fusion (Solved) NOT!
    ... As for updating Xorg did you try updating to newer 7.2 packages? ... Then I changed the repository to ... Compiz is much faster and the compiz setting application is very nice. ... Finally got back into KDE ...
    (SuSE)
  • Re: yum: ignore errors
    ... repository if there is network error. ... Error: Cannot find a valid baseurl for repo: kde ...
    (linux.redhat)
  • [opensuse] KDE4 repository change (was: [opensuse-kde] KDE:KDE4 deleted
    ... KDE 4.0.1 is still in some ways alpha/beta software though, ... given that we have finally decided on a new repository layout, ... whole KDE just to get a new e.g. amarok or digikam. ...
    (SuSE)
  • Re: yum: ignore errors
    ... repository if there is network error. ... Error: Cannot find a valid baseurl for repo: kde ... automatically setting --disablerepo if the repository is not ...
    (linux.redhat)
  • RE: [SLE] KDE updates 10.1
    ... repository for pre-release software? ... KDE but want some of the latest KDE updates should stick to ... This email was sent from Reliable Networks of Maine LLC. ...
    (SuSE)