i recently installed centos 7 in my laptop using virtualbox , and i configured static IP Addres to my VM after configuring static IP Address yum updates are not working and showing this error
(Trying Other Mirror
https://mirrors.centos.org/centos/7/os/ ... repomd.xml: [Errno 12]............Solving Timed out After 30556 miliseconds')
please solve my this problem as i'm new user of linux that's why i'm very afraid of it
YUM Update not working
YUM Update not working
Last edited by bilqat on 2017/05/09 16:36:18, edited 1 time in total.
Re: YUM Update not working
Does it really say mirrors.contos.org ?
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
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
Re: YUM Update not working
oh sorry it's my mistake it says centos.org
Re: YUM Update not working
These are all HTTP transaction and you can use wget or curl to see what is happening. It's the same process as when you put something in the URL bar in your browser.
I tried the URL you posted (https://mirrors.centos.org/centos/7/os/ ... repomd.xml) and got "server not found" - using the browser. Changed the URL to http://mirror.centos.org/centos/7/os/x8 ... repomd.xml and it worked.
So these configuration options in are /etc/yum.repos.d/*.repo (under either mirrorlist or baseurl, depending on what you've done). The variables (such as $releasever match the release (so 7 for CentOS 7, 6 for CentOS 6 etc.) and $basearch matches the architecture - x86_64, i386 etc.). The passes the same args in the form ?release=$releasever&arch=$basearch&repo=os, where repo matches the repository (OS, update etc.).
The last bit of the URL (repodata/repomd.xml) is "well known" by YUM and that is what it automatically appends.
So the URL passed is wrong in (probably) /etc/yum.repos.d/CentOS-Base.repo. Don't use HTTPS, use HTTP (well works for me) and it's mirror.centos.orig not mirrors.centos.org.
I tried the URL you posted (https://mirrors.centos.org/centos/7/os/ ... repomd.xml) and got "server not found" - using the browser. Changed the URL to http://mirror.centos.org/centos/7/os/x8 ... repomd.xml and it worked.
So these configuration options in are /etc/yum.repos.d/*.repo (under either mirrorlist or baseurl, depending on what you've done). The variables (such as $releasever match the release (so 7 for CentOS 7, 6 for CentOS 6 etc.) and $basearch matches the architecture - x86_64, i386 etc.). The passes the same args in the form ?release=$releasever&arch=$basearch&repo=os, where repo matches the repository (OS, update etc.).
The last bit of the URL (repodata/repomd.xml) is "well known" by YUM and that is what it automatically appends.
So the URL passed is wrong in (probably) /etc/yum.repos.d/CentOS-Base.repo. Don't use HTTPS, use HTTP (well works for me) and it's mirror.centos.orig not mirrors.centos.org.
Re: YUM Update not working
i changed transaction from HTTPS to HTTP and than tried to (yum -y install update ) now this time facing this issue
could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7 ... nfra=stock error was
12: Timeout on (http://mirror.centos.org/centos/7/os/x8 ... repomd.xml: (28:
Retrying other mirror
.........
........
Retrying other mirror
.........
........
Retrying other mirror
could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7 ... nfra=stock error was
12: Timeout on (http://mirror.centos.org/centos/7/os/x8 ... repomd.xml: (28:
Retrying other mirror
.........
........
Retrying other mirror
.........
........
Retrying other mirror
Re: YUM Update not working
Sanity check:bilqat wrote:using virtualbox , and i configured static IP Addres to my VM after configuring static IP Address ...
* Do you have functional connectivity?
Code: Select all
ip -4 ad
ip ro
host mirror.centos.org
ip ro get 91.242.163.90
ping -c 2 mirror.centos.org
traceroute 91.242.163.90