LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-22-2007, 01:32 PM   #1
pbaumgar
Member
 
Registered: Feb 2003
Distribution: gentoo, ubuntu
Posts: 43

Rep: Reputation: 15
yum does not work


I'm running 2.6.18-1.2869.fc6. When I issue the yum command I get this:

[pbaumgar@mrhat ~]$ yum update
Loading "installonlyn" plugin

Could not find any working storages.
[pbaumgar@mrhat ~]$


Any ideas?
 
Old 01-22-2007, 01:42 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
You should have some reposities configured in /etc/yum.d/ if I remember the path correctly. They are basically text files, one file per one reposity ('storage'), containing some information like URLs for mirrors. There is plenty of information on how to add new reposities, and probably configuring old ones too (the easiest method is to download an rpm that adds some reposities for you), on the net so go ahead; I'd search for an rpm for Fedora Core 6 reposities. Download and after manual installation you should be fine.

If files do exist, check out they are accessible (permissions) and contain correct information (i.e. you can ping the addresses).
 
Old 01-22-2007, 02:10 PM   #3
pbaumgar
Member
 
Registered: Feb 2003
Distribution: gentoo, ubuntu
Posts: 43

Original Poster
Rep: Reputation: 15
I already have several files in /etc/yum.repos.d/ :

[pbaumgar@mrhat yum.repos.d]$ ls -l
total 32
-rw-r--r-- 1 root root 1051 Jan 22 14:49 fedora-core.repo
-rw-r--r-- 1 root root 1747 Jan 22 14:54 fedora-development.repo
-rw-r--r-- 1 root root 1487 Jan 22 14:54 fedora-extras-development.repo
-rw-r--r-- 1 root root 978 Jan 22 14:50 fedora-extras.repo
-rw-r--r-- 1 root root 517 Oct 15 14:07 fedora-legacy.repo
-rw-r--r-- 1 root root 1036 Jan 22 14:49 fedora-updates.repo
-rw-r--r-- 1 root root 1109 Jan 22 14:55 fedora-updates-testing.repo


They all look similar to this (pointing to download.fedora.redhat.com) :

[core]
name=Fedora Core $releasever - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-debuginfo]
name=Fedora Core $releasever - $basearch - Debug
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-debug-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-source]
name=Fedora Core $releasever - Source
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
 
Old 01-22-2007, 03:18 PM   #4
pbaumgar
Member
 
Registered: Feb 2003
Distribution: gentoo, ubuntu
Posts: 43

Original Poster
Rep: Reputation: 15
Also, here is my yum.conf:

[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

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
 
Old 01-25-2007, 11:48 PM   #5
LarryDoliver
Member
 
Registered: Mar 2003
Posts: 126

Rep: Reputation: 17
are you running it as root or via sudo?
 
Old 01-26-2007, 01:05 AM   #6
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
you could try commenting out the baseurl, then yum should try the mirror lists.
Like so.
name=Fedora Core $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
 
Old 01-26-2007, 03:48 AM   #7
mail510403
LQ Newbie
 
Registered: Jan 2007
Posts: 10

Rep: Reputation: 0
If you are running FC6 x86_64, I strongly recommend against doing yum update.

For me, it results in nothing but a totaly destabilized system with impossible to fix dependency problems, multiple versions of the same thing, both x86_64 and i386 versions of stuff, etc. This is for a default install with no additional repositories. Basically, the system becomes a disaster.
 
Old 01-26-2007, 05:23 AM   #8
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Don't be scaring people like that mail510403

I have Fedora 6 x86_64 and do my updates via main menu/system/software updater which is also YUM, I got an error with Frysk update, removed the check mark next to it, and completed updates. Then via command line issued these two commands to take care of Frysk:

yum remove frysk

yum install frysk

Fully updated as I write.
 
Old 01-26-2007, 05:53 AM   #9
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Also

There has been reports of a bug in yum itself of the CD/DVD installation, you may want to update that single package first if you prefer updating via command line.
 
Old 01-26-2007, 03:42 PM   #10
maestro52
Member
 
Registered: Aug 2003
Location: Texas
Distribution: Fedora 9
Posts: 177

Rep: Reputation: 30
I am also having strange problems with YUM!

I hope you will forgive me if I should have created my own thread, but I am thinking my problems might be related.

Anyway, I upgraded from FC5 to FC6 by installing the FC6 Release and then used YUM and except for the download speed being much slower than it should have been (I have a 2048 kbps connection and YUM downloaded at an average of 620 kbps) Yum downloaded and installed with no errors or problems. Oh, I did have to erase a couple rpms to take care of 3 dependencies, but that was it.

After I rebooted and went to yumex to see if there were any other updates for FC6 as is usually the case after a new install it took nearly 2 hours for Yumex to function and that included having to reboot 4 times. In the first attempt it tried to get all updates from FC5 mirrors. In the rest of the attempts it used the FC6 mirrors but it constantly froze. It was as if I was using a 14 KBPS telephone connection! It finally worked, but it was extremely slow.

Now, because I do not leave my computer on when I go to bed, I do all my updating manually. Fedora typically has new updates and such almost every day. But YUM in the terminal and YUMEX both are impossible. I can download almost 20 times faster from RPM.Pbone.net but I have to know what is available.

Does anyone know what is wrong with YUM?
 
Old 01-26-2007, 04:00 PM   #11
maestro52
Member
 
Registered: Aug 2003
Location: Texas
Distribution: Fedora 9
Posts: 177

Rep: Reputation: 30
Sorry! I forgot something.

I am still havin gproblems with YUM but I forgot to mention something I perhaps ignorantly neglected to think of.

When YUMEX started the first time, it would go through the plugins and then start to do it's search routine, but would post a claim that "The cache version 7 needed to be updated to version 9" and it would repeat that 4 times through the repos being searched. Now it says, "sqlite cache needs updating", goes through through the primary part of the repos search and then freezes. I have no idea what is wrong. Does anyone know??
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum won't work timb5163 Fedora 5 08-29-2005 11:01 PM
Yum doesn't work, please help seow_ming Linux - Software 3 07-02-2005 03:28 AM
yum refuses to work arjun_sh Linux - Newbie 4 03-19-2005 06:52 AM
YUM will not work on RH? guest Linux - General 1 03-14-2005 09:11 PM
Yum doesn't work Alantin Linux - Software 1 07-23-2004 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration