Re: Yum Weird Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Dec 28, 2015 at 5:24 PM, Alice Wonder <alice@xxxxxxxxxxxxxx> wrote:
>
> I ran into this exact issue last night -
>
> http://www.iotti.biz/?p=433
>
> When a computer is connected via IPv4 but the IPv4 a repo host connects to is not available, yum then tries the IPv6 address and will fail with a confusing message telling you it failed to connect to the IPv6 address.
>
> I don't know if there is a way for yum to figure out whether the current network connection to the Internet is IPv4 or IPv6.
>
> But if there is a way, it might make a usability improvement. A lot of people have no idea what IPv6 is and would be confused.
>
> I was confused myself at first, wondering if DHCP pulled in IPv6 from the router.

If your DNS answers IPv6, it will have prefence over IPv4. You can set
 ip_resolve=4 in your yum.conf

-- 
Marcelo

"¿No será acaso que esta vida moderna está teniendo más de moderna que de
vida?" (Mafalda)
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux