Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th March 2006, 07:14 PM
Tom22 Offline
Registered User
 
Join Date: Jan 2006
Posts: 21
Can't get yum, Package Updater, and Package Manager to work in FC5

After upgrading to FC5, when I try to use Package Updater or Package Manager I get the error "Unable to retrieve update information" or something to that extent. When ever I try to use yum, I get the error, "No more mirrors to try."

(As another minor issue, Rhythmbox no longer plays mp3s, but after I get yum working I know that's easy to fix.)

I'd appreciate any help you can provide.

Thanks.
Reply With Quote
  #2  
Old 25th March 2006, 07:27 PM
tejas's Avatar
tejas Offline
Registered User
 
Join Date: Feb 2005
Location: Bangalore
Age: 25
Posts: 1,574
Are you connected to the net properly?
__________________
I Was Counted! Registered Linux User #384707

BASH && Beer && Bass! Now THAT makes sense!!
Reply With Quote
  #3  
Old 25th March 2006, 07:32 PM
Tom22 Offline
Registered User
 
Join Date: Jan 2006
Posts: 21
Yes, the internet connection is fine. (Using it right now to post this )
Reply With Quote
  #4  
Old 25th March 2006, 09:19 PM
jhetrick62 Offline
Registered User
 
Join Date: Feb 2005
Location: Buffalo, Ny
Posts: 875
I read a thread about using PUP first and then yum would work. Myself, I was getting a repo error and I ran it with --disablerepo="bad_repo"" and it worked and after that it was fine even with that repo.

Jeff
__________________
Registered Linux User #411071

If at first you don't suceed, read the man page again!
Reply With Quote
  #5  
Old 25th March 2006, 09:27 PM
Tom22 Offline
Registered User
 
Join Date: Jan 2006
Posts: 21
Quote:
Originally Posted by jhetrick62
I read a thread about using PUP first and then yum would work. Myself, I was getting a repo error and I ran it with --disablerepo="bad_repo"" and it worked and after that it was fine even with that repo.

Jeff
Since my pup won't work either, I can't really try that. I tried doing disablerepo="bad_repo" and it still gave the same message.
Reply With Quote
  #6  
Old 3rd April 2006, 04:26 PM
RandomLogic Offline
Registered User
 
Join Date: Jan 2005
Location: Wilton, NY
Age: 51
Posts: 26
If misery love company, tom22 will appreciate this.

Last night I upgraded my wife's machine using the same method he did and I have the same problem. I can't get yum or pup to work. Same error messages he got.

If anyone has any pointers on how to approach this problem, tom22 and I would appreciate it.
__________________
<<Suffering from fits of Random Logic>>
Registered Linux User #438414

Last edited by RandomLogic; 3rd April 2006 at 10:54 PM.
Reply With Quote
  #7  
Old 3rd April 2006, 08:21 PM
rnix Offline
Registered User
 
Join Date: Apr 2006
Posts: 3
I'm having a problem with yum also. Here's my analysis:

My problem is because several networking utilities can't resolve the domains unless forced to use IPv4. Similar to this:

$ pup
ERROR: Cannot open/read repomd.xml file for repository: core
ERROR: failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.

I checked curl and wget using the same URLs specified in yum.conf:baseurl. Neither worked unless I forced IPv4. I then disabled IPv6 (echo
"alias net-pf-10 off" >> /etc/modprobe.conf) and curl started working again but wget, pup and yum still fail. I built wget from source and it works. The wget issue can be easily worked around by forcing IPv4 but I don't know how to do that with pup and yum.

I compiled the following simple program, supplied by Hrvoje Niksic from the wget mail list, and it also works. So the problem isn't specifically due to the getaddrinfo API.

#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <string.h>
#include <errno.h>

int main (int argc, char **argv)
{
int err;
struct addrinfo hints, *res;
const char *host = argv[1];
if (argc != 2)
return 2;

memset (&hints, 0, sizeof hints);
hints.ai_socktype = SOCK_STREAM;
hints.ai_family = AF_UNSPEC;
err = getaddrinfo (host, NULL, &hints, &res);

if (err != 0 || res == NULL)
printf ("failed resolving %s: %s.\n",
host, err != EAI_SYSTEM ? gai_strerror (err) : strerror (errno));
else
printf ("success\n");

return 0;
}

My assumption is that the builds in FC5 used a flag that is causing problems with some subset of hardware by forcing it to ignore IPv4. But with me being a complete noob to networking internals, I'm really completely clueless.

After reading through, I was experiencing bug 186592. After removing nisplus from the host line in /etc/nsswitch.conf and rebooting, wget, pup and yum are working.

Last edited by rnix; 3rd April 2006 at 08:38 PM. Reason: Analysis update
Reply With Quote
  #8  
Old 3rd April 2006, 08:41 PM
whizzer Offline
Registered User
 
Join Date: Aug 2005
Posts: 23
Had the identical problem. Only solution I found was a fresh load of FC5, now everything is working including updates. I think problem might be related to having conflicts in the repositories, can't prove. Finally gave up and reloaded.

Whizzer
Reply With Quote
  #9  
Old 4th April 2006, 02:25 AM
RandomLogic Offline
Registered User
 
Join Date: Jan 2005
Location: Wilton, NY
Age: 51
Posts: 26
Finally, I found a solution. There was a previous RPM installed for livna. For whatever reason, the update from FC4 to FC5 didn't update it. Here is how to fix the problem.

Code:
rpm -qa|grep livna|rpm -e
rpm -ivh http://rpm.livna.org/livna-release-5.rpm
The first line removed the old package. The 2nd line installs the correct one. After doing this, both yum and pup worked on my wife's computer.

Personally, I'm glad this worked, as her computer was the guinea-pig before I did mine - which has a LOT more customization.
__________________
<<Suffering from fits of Random Logic>>
Registered Linux User #438414
Reply With Quote
  #10  
Old 4th April 2006, 02:39 AM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
Or just a
Code:
rpm -Uhv http://rpm.livna.org/livna-release-5.rpm
will do it
I'd re-install the old repos you had in Core 4 & then do
Code:
yum update -y
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #11  
Old 4th April 2006, 03:44 AM
Tom22 Offline
Registered User
 
Join Date: Jan 2006
Posts: 21
That did the trick!

Thank you both for your help. Everything is working fine now.
Reply With Quote
Reply

Tags
fc5, manager, package, updater, work, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
package manager / yum doesnt work hubiedo Using Fedora 5 12th September 2008 07:10 AM
How does the F8 package updater work? Seapaddler Using Fedora 1 9th December 2007 12:26 AM
can't get the package manager to work in fedora 7 kc1di Using Fedora 15 29th May 2007 05:14 AM
Can not get package manager to work Steve_Barker Installation and Live Media 3 3rd February 2007 10:09 PM
yum works fine, but Package Updater does not work hbol Using Fedora 0 22nd March 2006 12:52 PM


Current GMT-time: 17:22 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat