Can't install/update the packages on newly installed CentOS6
I installed CentOS6 and it is the first time that I use CentOS. I tried to install/update packages. Here is the output when I try to run
Code:
yum update Code:
[root@localhost suranga]# yum update I tried these things. But no results 1. Code:
yum clean all Code:
/etc/repos.d Code:
mirrors Code:
baseurl Code:
edit /etc/resolve.conf Code:
cd /var/lib/rpm Code:
/etc/yum.conf Code:
ip6tables But still I have the same problem. When I start the OS, it always changes the Code:
/etc/resolve.conf Code:
nameserver 10.16.32.1 And Internet works fine. Please help me to get rid of this. Thank You! |
I had this same issue when I first installed Centos. Most likely your proxy server isn't correct. -- or try updating yum.
Also - NetworkManager is most likely what is causing your resolv.conf to reset. May need to switch to network run Code:
# chkconfig --list |grep -i etw Set the DNS in the IP V4 Tab for the connection in Network Manager: Network Manager has control of etc/resolv.conf Using Network Manager just select the IPv4 tab and set it to (dhcp addresses only). The DNS entries can be set here and they will not be reset. Other option: If you want to use that DNS all the time then set it in the router. You can forgo what I just mentioned. |
All times are GMT -5. The time now is 11:38 AM. |