I'm a completely newbie. I installed a fresh new CentOs 7 on my ESXi host and ran "yum install gnome desktop" but I got this famous error.
Code: Select all
[cuser@localhost ~]$ sudo yum groupinstall "GNOME Desktop"
Loaded plugins: fastestmirror
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: HTTP Error 302 - Found
-
-
Cannot find a valid baseurl for repo: base/7/x86_64
I ran ping command to Internet URLs and I got reply, so DNS does works. Also these are some other commands that I used:
Code: Select all
[cuser@localhost ~]$ curl http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os*&infra=stock
[1] 3460
[2] 3461
[3] 3462
!
[cuser@localhost ~]$ sudo startx
sudo: startx: command not found
[1] Done curl http://mirrorlist.centos.org/?release=7
[2]- Done arch=x86_64
[3]+ Done repo=os*
Code: Select all
[cuser@localhost ~]$ ONBOOT=no
[cuser@localhost ~]$ sudo dhclient
any idea?
Why does 1000+ people face with the same issue? Why there is no any workaround for this stupid error?