yum update - could not resolve proxy

Issues related to configuring your network
Post Reply
Timo-Lino
Posts: 1
Joined: 2014/11/27 09:24:28

yum update - could not resolve proxy

Post by Timo-Lino » 2014/11/27 09:35:02

Hi, I'm new here and have a problem. Everytime I try to update my system this message appears:

Code: Select all

[root@RESERV-15-VPN-FW etc]# yum update
Geladene Plugins: fastestmirror
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os error was
14: curl#5 - "Could not resolve proxy: www-3g.dienste.t-systems.com; Unbekannter Fehler"


 One of the configured repositories failed (Unbekannt),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Disable the repository, so yum won't use it by default. Yum will then
        just ignore the repository until you permanently enable it again or use
        --enablerepo for temporary usage:

            yum-config-manager --disable <repoid>

     4. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: base/7/x86_64
btw: I'm a german trainee and this is a part of a little project.
I already edited the /etc/profile to get a proxy-server and I also can ping to it. Do you have an idea?
I hope you can help me :-)

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum update - could not resolve proxy

Post by TrevorH » 2014/11/27 09:58:21

Look in /etc/yum.conf and see if you have proxy= lines in there pointing to the name you mentioned. "Unbekannter Fehler" seems to translate to "Unknown Error" according to Google.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply