Find the answer to your Linux question:
Results 1 to 3 of 3
i am unable to use yum thorugh a proxy server though i have configured yum.conf for it the error is Code: Loading "installonlyn" plugin Setting up Install Process Setting up ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    7

    problem using yum


    i am unable to use yum thorugh a proxy server though i have configured yum.conf for it

    the error is

    Code:
    Loading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    core                                                                 [1/3]
    Cannot find a valid baseurl for repo: core
    Error: Cannot find a valid baseurl for repo: core
    here is the copy of yum.conf

    Code:
    [main]
    cachedir=/var/cache/yum
    keepcache=0
    debuglevel=2
    logfile=/var/log/yum.log
    pkgpolicy=newest
    distroverpkg=redhat-release
    tolerant=1
    exactarch=1
    obsoletes=1
    gpgcheck=1
    plugins=1
    metadata_expire=1800
    proxy=http://xxx.xx.xxx.xx:xxxx/
    proxy_username=we058019
    proxy_password=xxxxxx
    
    # PUT YOUR REPOS HERE OR IN separate files named file.repo
    # in /etc/yum.repos.d
    please give me a solution

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    hi syed !

    login as root and open /etc/yum.repos.d/fedora-core.repo file. remove # sign before first baseurl line. save file and execute 'yum' again.





    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Jul 2006
    Posts
    7
    thanks it is working fine now

  4. $spacer_open
    $spacer_close

Posting Permissions

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