Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Help unable to install anything with yum command

    Hi just wondering if anyone could help me with this problem i have with my New Vps i am trying to install Java and Screen But when i do "yum install (Anything)" It says
    [root(at)s1 /]# yum install java
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    Could not retrieve mirrorlist error was
    14: PYCURL ERROR 6 - "Couldn't resolve host ''"
    Error: Cannot find a valid baseurl for repo: base

    Can anyone please help me the server is running CentOS 6- 64 bit Thanks (Sorry if i have Posted in Wrong bit i am New)

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    "Couldn't resolve host ''"

    It seems, this machine either has connection issues or a wrong/none/non-working nameserver config.
    Check /etc/resolv.conf
    and see if you can use the nameserver(s) there to resolve hosts:
    host <your_nameserver>
    You must always face the curtain with a bow.

  3. #3
    There is No /etc/resolv.conf files and the directory dose not exist.

  4. $spacer_open
  5. #4
    Also Putty dose not work for some reason with the Vps.

  6. #5
    Quote Originally Posted by klg26xbl View Post
    There is No /etc/resolv.conf files and the directory dose not exist.
    are you saying that the directory "/etc/" does not exist? this is unlikely, but if true, is not good. All of your network configuration (along with all the rest of your system configuration files) should be in /etc/. If just /etc/resolv.conf is missing, you can create it, but you need:

    1. your DNS server ip addresses

    2. to know why it is missing in the first place

    Does your VPS provider assign the server its IP info via DHCP? Did you possibly remove any files / directories?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts