[ovirt-users] yum update command is failed

Ilan Hirsfeld ilan.hirsfeld at gmail.com
Tue Dec 9 13:30:30 UTC 2014


Hi,

My name's Ilan and I'm a new user.
I installed CentOS 7 64 bit with VMware Player as guest and try 'yum
update' to get newest application and get error as mentioned below. It seem
me the installation determines the IP address as loopback and I don't know
how enable it as real/virtual.
I copy & paste the findings from Linux and Windows.
Any help will be blessed.

Regards,
Ilan.

[root at localhost Desktop]# yum update
Loaded plugins: fastestmirror, langpacks
Could not retrieve mirrorlist
http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"

 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. 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


[root at localhost Desktop]# exit
exit

[bih016 at localhost Desktop]$ ping google.com
ping: unknown host google.com


[bih016 at localhost Desktop]$ ifconfig -a
eno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 00:0c:29:d9:2b:57  txqueuelen 1000  (Ethernet)
        RX packets 18  bytes 1080 (1.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 386  bytes 33548 (32.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 386  bytes 33548 (32.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


[bih016 at localhost Desktop]$ netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface

 cat  /etc/sysconfig/network-scripts/ifcfg-lo
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback


route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface


cat /etc/*-release
CentOS Linux release 7.0.1406 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CentOS Linux release 7.0.1406 (Core)
CentOS Linux release 7.0.1406 (Core)


uname -a
Linux localhost.localdomain 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30
12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


cat /proc/version
Linux version 3.10.0-123.el7.x86_64 (builder at kbuilder.dev.centos.org) (gcc
version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Mon Jun 30
12:09:22 UTC 2014


C:\Users\PC User>ipconfig /all
Windows IP Configuration
   Host Name . . . . . . . . . . . . : PCUser-PC
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : localdomain

Ethernet adapter Local Area Connection:
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
   Physical Address. . . . . . . . . : EC-A8-6B-FA-3D-15
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . :
fe80::91aa:14b3:7d79:9b8b%11(Preferred)
   IPv4 Address. . . . . . . . . . . : 10.0.0.3(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : יום שלישי 09 דצמבר 2014 14:15:01
   Lease Expires . . . . . . . . . . : יום שלישי 09 דצמבר 2014 15:15:01
   Default Gateway . . . . . . . . . : 10.0.0.138
   DHCP Server . . . . . . . . . . . : 10.0.0.138
   DHCPv6 IAID . . . . . . . . . . . : 250390635
   DHCPv6 Client DUID. . . . . . . . :
00-01-00-01-1A-09-29-61-EC-A8-6B-FA-3D-15
   DNS Servers . . . . . . . . . . . : 10.0.0.138
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter VMware Network Adapter VMnet1:
   Connection-specific DNS Suffix  . : localdomain
   Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for
VMnet1
   Physical Address. . . . . . . . . : 00-50-56-C0-00-01
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . :
fe80::148:a743:e971:82b8%15(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.254.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : יום שלישי 09 דצמבר 2014 14:15:05
   Lease Expires . . . . . . . . . . : יום שלישי 09 דצמבר 2014 14:45:05
   Default Gateway . . . . . . . . . :
   DHCP Server . . . . . . . . . . . : 192.168.254.254
   DHCPv6 IAID . . . . . . . . . . . : 335564886
   DHCPv6 Client DUID. . . . . . . . :
00-01-00-01-1A-09-29-61-EC-A8-6B-FA-3D-15
   DNS Servers . . . . . . . . . . . : 192.168.254.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter VMware Network Adapter VMnet8:
   Connection-specific DNS Suffix  . : localdomain
   Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for
VMnet8
   Physical Address. . . . . . . . . : 00-50-56-C0-00-08
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . :
fe80::f1ec:6b17:d46d:d130%16(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.142.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : יום שלישי 09 דצמבר 2014 14:15:05
   Lease Expires . . . . . . . . . . : יום שלישי 09 דצמבר 2014 14:45:05
   Default Gateway . . . . . . . . . :
   DHCP Server . . . . . . . . . . . : 192.168.142.254
   DHCPv6 IAID . . . . . . . . . . . : 352342102
   DHCPv6 Client DUID. . . . . . . . :
00-01-00-01-1A-09-29-61-EC-A8-6B-FA-3D-15
   DNS Servers . . . . . . . . . . . : 192.168.142.2
   Primary WINS Server . . . . . . . : 192.168.142.2
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{DD439A41-571B-47F9-8B4A-374946CF59CA}:
   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.localdomain:
   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : localdomain
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . :
2001:0:5ef5:79fb:109a:1457:f5ff:fffc(Preferred)
   Link-local IPv6 Address . . . . . :
fe80::109a:1457:f5ff:fffc%14(Preferred)
   Default Gateway . . . . . . . . . : ::
   NetBIOS over Tcpip. . . . . . . . : Disabled
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20141209/4e225869/attachment-0001.html>


More information about the Users mailing list