Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I have installed yum package. but when us yum command to install package it gives error.how to configure yum file. i am using fedoracore linux version 8. thanks harsha...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    7

    Yum

    Hi,
    I have installed yum package. but when us yum command to install package it gives error.how to configure yum file. i am using fedoracore linux version 8.

    thanks
    harsha

  2. #2
    Linux Newbie grishi_111's Avatar
    Join Date
    Oct 2007
    Location
    Jafarpur Sitharra(U.P.)/New Delhi, India
    Posts
    171
    what is the error message?
    please be specific.
    Sorry, it was unintentional.
    You should have told me at least once and i could have fix it.
    thanks for reminding me.

  3. #3
    Just Joined!
    Join Date
    Jul 2008
    Posts
    12
    ok,I will give you everything at 27-07-09 . giri - 9932047024

  4. #4
    Just Joined!
    Join Date
    Jul 2008
    Posts
    12
    1. Install RHEL5 with FTP server.
    2. Copy the content from the installation dvd to /var/ftp/pub
    cp -av /media/* /var/ftp/pub
    3.2.Install Createrepo rpm package.
    var/ftp/pub/Server# rpm -ivh createrepo.......rpm

    4.create the repository.
    createrepo -g /var/ftp/pub/Server/repodata/comps-rhel5-server....xml /var/ftp/pub/server
    5. service vsftpd start.


    6. vim /etc/yum.repos.d/*.repo
    [local]
    base url=ftp://ipaddress/pub/Server
    enabled=0
    gpgcheck=0


    :wq


    then you can use yum command.



    Biswanath Giri.
    PCS Technology Ltd.
    Contact No. 9932047024

  5. #5
    Linux User glennzo's Avatar
    Join Date
    Sep 2004
    Location
    Salem, Mass
    Posts
    434
    What's the error? The repo you've created is disabled by default. Either enable it
    Code:
    enabled=1
    or use
    Code:
    yum --enablerepo=local
    Glenn
    Powered by Fedora 16 and Arch Linux

Posting Permissions

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