Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
hi i wish someone to help me to set the Repositories so that YUM can handle automatic installation.. I have tried installing Mplayer using YUM but, its flashing an error ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2006
    Posts
    14

    Question how to configure yum repositories


    hi

    i wish someone to help me to set the Repositories so that YUM can handle automatic installation..

    I have tried installing Mplayer using YUM but, its flashing an error
    So i had to do the installation manually downloading the required rpm files..
    Then installed them one by one using
    rpm -ivh <package-name>.rpm
    I have set up some repositories and downloaded a public key from Grey sector but i could not serve my problem

    This the message i get

    [root@localhost ~]# yum install mplayer
    Repository greysector already added, not adding again
    Setting up Install Process
    Setting up repositories
    http://rpm.greysector.net/yum/all/i3...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
    Trying other mirror.
    Cannot open/read repomd.xml file for repository: greysector-all
    failure: repodata/repomd.xml from greysector-all: [Errno 256] No more mirrors to try.


    Could any one suggest me some tips to configure yum repositories.....

  2. #2
    Just Joined!
    Join Date
    Jan 2006
    Location
    Scotland
    Posts
    5
    The one thing that has made my transission from Windows to Linux so peaceful has been the use of yum. Please let me stress the fact that I am a newbie of newbies but I can give you advice on how I have used yum. I first went to www.fedorafaq.org and followed the instructions to use their own yum config file. Once I had that I downloaded yumex and used the yum gui to setup how I wanted it because (being a noob) i find the console a dautning task at time. I don't remember getting an error message like yours but I do remember there being a problem of some sort which was fixed by clicking on the repos tab and adding more repos and deleting the ones already checked.

    I really dont know if this will fix your problem but its maybe worth trying.

    Good luck.

  3. #3
    Just Joined!
    Join Date
    Feb 2006
    Posts
    14

    Red face

    Thank u for ur suggestion KID...

    As u have suggested me, i first went to www.fedorafaq.org and followed the instructions to use their own yum config file..
    There are a set of steps to be followed, when i did the same its flashing an error..

    [root@localhost ~]# cd /etc
    [root@localhost etc]# mv -f yum.conf yum.conf.bak
    [root@localhost etc]# wget http://www.fedorafaq.org/samples/yum.conf
    --17:25:16-- http://www.fedorafaq.org/samples/yum.conf
    => `yum.conf'
    Resolving www.fedorafaq.org... failed: Host not found.


    [root@localhost etc]# rpm -Uvh http://www.fedorafaq.org/yum
    Retrieving http://www.fedorafaq.org/yum
    error: skipping http://www.fedorafaq.org/yum - transfer failed - Unknown or unexpected error
    warning: _url_cache[0] 0x8e78df0 nrefs(7866663) != 1 ( )

    I already have yum installed on my FC4 system..
    Some how i managed to find yumex ..

    Before installing yumex i had to install yum2.4 a pre-requisite on FC4 system

    After completing all the requried installations and when i am trying to run yumex GUI its reporting the following error

    Mirrordetection : best
    Cannot find a valid baseurl for repo: extras
    Cannot find a valid baseurl for repo: extras


    i wish some one could help me rectify that problem..

    Thanks in advance

  4. #4
    Just Joined!
    Join Date
    Feb 2006
    Posts
    14

    Thumbs up finally i have done it

    yeah!! finally i could install yum repositories with help of yumex..

    I have done the following things,.. i dont know which one worked but finally my problem is rectified
    1) i set my http-proxy server address..
    2) in /etc/ yum.conf file there is gpgcheck=1 enabled i commented it.. (i.e. i made it #gpgcheck=1..
    3)Previously before installing yumex on my system i edited the yum.conf file and added the following code

    [greysector] name=Grey Sector RPMs for Fedora Core $releasever - $basearch baseurl=http://rpm.greysector.net/yum/$releasever/$basearch/ #mirrorlist=http://rpm.greysector.net/yum/mirrorlist-$releasever gpgkey=http://rpm.greysector.net/greysector-pubkey.txt enabled=1

    now i removed the code from my yum.conf file

    and restarted the yumex application and to my surprise it started collecting the repository information...

    A snap shot of what happened when yumex was running

    18:13:54 : Loading Repositories Data : Populate Package Sack for updates-released
    18:15:42 : Added 1155 new packages, deleted 0 old in 8.54 seconds
    18:15:42 : Loading Repositories Data : Populate Package Sack for nr-production
    18:16:21 : Added 424 new packages, deleted 0 old in 2.18 seconds
    18:16:21 : Loading Repositories Data : Populate Package Sack for extras
    18:19:42 : Added 3091 new packages, deleted 0 old in 15.20 seconds
    18:19:42 : Loading Repositories Data : Populate Package Sack for nr-testing
    18:19:54 : Added 241 new packages, deleted 0 old in 0.99 seconds
    18:19:54 : Loading Repositories Data : Populate Package Sack for base
    18:25:26 : Added 2772 new packages, deleted 0 old in 12.36 seconds
    18:25:27 : Loading Repository Group Data
    18:29:45 : Loading Repositories Data completed
    18:29:45 : Building Package Lists : Updates
    18:29:53 : Building Package Lists : Installed


    Thats it!!!

  5. #5
    Just Joined!
    Join Date
    Feb 2006
    Posts
    14
    Quote Originally Posted by diehardy
    yeah!! finally i could install yum repositories with help of yumex..

    I have done the following things,.. i dont know which one worked but finally my problem is rectified
    1) i set my http-proxy server address..
    2) in /etc/ yum.conf file there is gpgcheck=1 enabled i commented it.. (i.e. i made it #gpgcheck=1..
    3)Previously before installing yumex on my system i edited the yum.conf file and added the following code

    [greysector] name=Grey Sector RPMs for Fedora Core $releasever - $basearch baseurl=http://rpm.greysector.net/yum/$releasever/$basearch/ #mirrorlist=http://rpm.greysector.net/yum/mirrorlist-$releasever gpgkey=http://rpm.greysector.net/greysector-pubkey.txt enabled=1

    now i removed the code from my yum.conf file

    and restarted the yumex application and to my surprise it started collecting the repository information...

    A snap shot of what happened when yumex was running

    18:13:54 : Loading Repositories Data : Populate Package Sack for updates-released
    18:15:42 : Added 1155 new packages, deleted 0 old in 8.54 seconds
    18:15:42 : Loading Repositories Data : Populate Package Sack for nr-production
    18:16:21 : Added 424 new packages, deleted 0 old in 2.18 seconds
    18:16:21 : Loading Repositories Data : Populate Package Sack for extras
    18:19:42 : Added 3091 new packages, deleted 0 old in 15.20 seconds
    18:19:42 : Loading Repositories Data : Populate Package Sack for nr-testing
    18:19:54 : Added 241 new packages, deleted 0 old in 0.99 seconds
    18:19:54 : Loading Repositories Data : Populate Package Sack for base
    18:25:26 : Added 2772 new packages, deleted 0 old in 12.36 seconds
    18:25:27 : Loading Repository Group Data
    18:29:45 : Loading Repositories Data completed
    18:29:45 : Building Package Lists : Updates
    18:29:53 : Building Package Lists : Installed


    Thats it!!!
    And now i think my work will become easy to install and upgrade new rpm packages..
    Just about to give it a try

  6. #6
    Just Joined!
    Join Date
    Oct 2005
    Location
    india
    Posts
    63
    hi,
    why don't you go for apt-get that is similar to yum??
    is there any advantage yum has over apt-get, if so give me the details.....

    Regards
    Chandra Sekhar

    Quote Originally Posted by diehardy
    And now i think my work will become easy to install and upgrade new rpm packages..
    Just about to give it a try

  7. #7
    Just Joined!
    Join Date
    Feb 2006
    Posts
    14
    I have no idea abt the functional advantages using apt-get becoz i am a newbie..

    I am happy using yum becoz its pre-installed on FC-4..
    And more over as suggested by one of the member here i installed YUMEX (which has excellent GUI support)
    And now i am happy using YUMEX.. feeling like being in heaven..

    I dont know whether apt-get has GUI available with it..
    If anyone knows about it please tell me..

  8. #8
    Just Joined!
    Join Date
    Feb 2006
    Posts
    14
    Hi,
    I thought my problem got solved but... it's back again
    I was happy that YUMEX installation was successfull but.. its troubling me

    I was trying to update Helix player on my system using "yumex" but its showing the following error

    Error in Transaction /n Refusing to automatically import keys when running unattended.
    Use "-y" to override


    I am able to view all the
    Installed packages, packages available to be upgraded but unfortunately i am not able to install them

    This snap shot of watts happening...

    14:51:17 : Setting up Update Process
    14:51:29 : --> Populating transaction set with selected packages. Please wait.
    14:51:30 : ---> Package HelixPlayer.i386 1:1.0.6-1.fc4.2 set to be updated
    14:51:30 : --> Running transaction check

    ================================================== ===========================
    Package Arch Version Repository Size
    ================================================== ===========================
    Updating:
    HelixPlayer i386 1:1.0.6-1.fc4.2 updates-released 3.8 M

    Transaction Summary
    ================================================== ===========================
    Install 0 Package(s)
    Update 1 Package(s)
    Remove 0 Package(s)

    14:51:37 : Downloading Packages:
    14:51:37 : Checking GPG Signatures:
    14:51:37 : Public key for HelixPlayer-1.0.6-1.fc4.2.i386.rpm is not installed


    I thought that life would be easier when using yumex but......

    Is it required that i need to install public keys for each and every package before me installing anything?
    I thought yumex does it for me

    Please help me.....

  9. #9
    Just Joined!
    Join Date
    Feb 2006
    Posts
    14
    yeah !!!
    Some how i got it to work

    If anyone has the same problem just try using

    "yumex -d " at the terminal

    yumex will work fine and there will not be any error any sort...

    such as use "-y to over ride" an so on..

    Good luck

  10. #10
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,809
    Quote Originally Posted by aazad
    hi,
    why don't you go for apt-get that is similar to yum??
    is there any advantage yum has over apt-get, if so give me the details.....

    Regards
    Chandra Sekhar
    lol, very amusing; this guy just struggled to set up yum, now you recommend that he change it?

    Personally, I dont think there is any advantage to either yum or apt-get. Some think there are more packages available with apt-get, but then yum works out of the box (if you dont want any of the extra repos). There used to be a 64-bit issue with apt-get, but that's all resolved now, I think.

    The choice between the two is as easy as picking Gnome over KDE, or vice-versa.
    Linux user #126863 - see http://linuxcounter.net/

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
  •