Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18
Hi All, Please help me: # yum list Setting up repositories Cannot find a valid baseurl for repo: update Error: Cannot find a valid baseurl for repo: update # any ...
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    10

    Yum list

    Hi All,

    Please help me:

    # yum list
    Setting up repositories
    Cannot find a valid baseurl for repo: update
    Error: Cannot find a valid baseurl for repo: update
    #

    any solutions on this errors

    Thanks
    Ravi

  2. #2
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    Hello and Welcome!

    What exactly are you trying to get yum to list? Updates, Obsolete packages? Also, which distro are you running?
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  3. #3
    Just Joined!
    Join Date
    Nov 2008
    Posts
    10

    yum list

    Hi,

    Thanks for the quick reply.

    I am using RHEL4. i am looking for available s/w

    #yum list available
    Setting up repositories
    Cannot find a valid baseurl for repo: update
    Error: Cannot find a valid baseurl for repo: update
    #

    Thanks
    Ravi

  4. #4
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    To install software with yum, the command would be
    Code:
    yum install <package_name>
    To see what's available in your repo do
    Code:
    yum list available
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  5. #5
    Just Joined!
    Join Date
    Nov 2008
    Posts
    10

    Re:yum list

    Hi,

    I am trying to list the available s/w using the following Command

    yum list available

    Output:
    # yum list available
    Setting up repositories
    Cannot find a valid baseurl for repo: update
    Error: Cannot find a valid baseurl for repo: update
    #

    Please explain me what could be the cause for this error.

    Thanks
    Ravi

  6. #6
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    Have you set-up any repositories? What is the output of
    Code:
    cat /etc/yum.repos.d/
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  7. #7
    Just Joined!
    Join Date
    Nov 2008
    Posts
    10
    As per my knowledge i have not setup any repo. But after
    cd /etc/yum.repos.d/

    i found one repo.
    Output:
    ll /etc/yum.repos.d/
    total 8
    -rw-r--r-- 1 root root 2079 Oct 23 2006 ULN-Base.repo

    Thanks
    Ravi

  8. #8
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    That's why there's nothing really available to you. Execute, as root
    Code:
    rpm -Uhv http://apt.sw.be/redhat/el4/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el4.rf.i386.rpm
    This should give you access to the online repository.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  9. #9
    Just Joined!
    Join Date
    Nov 2008
    Posts
    10
    Thanks i have executed the rpmforge-released. The above command was sucessfully executed. But still,

    # yum list available
    Setting up repositories
    rpmforge 100&#37; |=========================| 1.1 kB 00:00
    Cannot find a valid baseurl for repo: update
    Error: Cannot find a valid baseurl for repo: update

    What could be ther problem?

    Thanks
    Ravi

  10. #10
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    Execute, one mode time
    Code:
    cat /etc/yum.repos.d/
    Post output here.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

Page 1 of 2 1 2 LastLast

Posting Permissions

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