Pain with yum update

Issues related to applications and software problems
Post Reply
boyosof
Posts: 3
Joined: 2018/05/21 08:48:37

Pain with yum update

Post by boyosof » 2018/05/21 09:34:48

is there any body here can help me and stop my pain?
it is freshly installed Centos 7 minimal ,, i searched every where to get yum update work .. no way
it is always give me the following
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7 ... nfra=stock error was
14: curl#7 - "Failed to connect to 2607:f8f8:700:12::10: Network is unreachable"


One of the configured repositories failed (Unknown),
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. Run the command with the repository temporarily disabled
yum --disablerepo=<repoid> ...

4. Disable the repository permanently, 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>
or
subscription-manager repos --disable=<repoid>

5. 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
please please .. i need your help :o :? :o :( :(

User avatar
TrevorH
Forum Moderator
Posts: 22798
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Pain with yum update

Post by TrevorH » 2018/05/21 09:41:06

It's not a yum problem, it's a network problem. Yum is trying to connect via ipv6 which it does once it has tried and failed to conenct via ipv4. Check your network connectivity works.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

boyosof
Posts: 3
Joined: 2018/05/21 08:48:37

Re: Pain with yum update

Post by boyosof » 2018/05/21 10:50:57

I disabled ipv6 .. why it still trying to use it
and how to check if ipv6 really disabled?

User avatar
TrevorH
Forum Moderator
Posts: 22798
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Pain with yum update

Post by TrevorH » 2018/05/21 11:04:35

It's not ipv6 that is the problem, it only tries to use that if it's already tried ipv4 and failed. Fix ipv4.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

boyosof
Posts: 3
Joined: 2018/05/21 08:48:37

Re: Pain with yum update

Post by boyosof » 2018/05/21 11:14:00

Thanks a lot .. i think it is problem of firewall of my network
i will check with network admin.

Post Reply