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 June 2009, 02:58 AM
giomol Offline
Registered User
 
Join Date: Sep 2005
Location: Boston
Posts: 17
Yum and software updates not working. No software sources

Hi, I just upgraded from Fedora 10 to 11. After the upgrade, I was unable to update the system and my Software Sources does not display any repositories at all. Yum didn't work also. I tried a couple of things from similar problems posted in the forum, but it didn't help in my case. I get this if I ask yum for the repolist.

[alfy@localhost ~]$ yum repolist
Configuration file /etc/yum/pluginconf.d/blacklist.conf not found
Unable to find configuration file for plugin blacklist
Configuration file /etc/yum/pluginconf.d/refresh-packagekit.conf not found
Unable to find configuration file for plugin refresh-packagekit
Configuration file /etc/yum/pluginconf.d/whiteout.conf not found
Unable to find configuration file for plugin whiteout
repolist: 0

Can someone help me fix this problem?
Thank you very much
Reply With Quote
  #2  
Old 25th June 2009, 03:35 AM
manuleka Offline
Registered User
 
Join Date: Feb 2009
Location: NZ
Posts: 164
that doesn't look so good... are the repo files still in /etc/yum.repo.d/ folder?
Code:
ls /etc/yum.repo.d/
Reply With Quote
  #3  
Old 25th June 2009, 03:45 AM
giomol Offline
Registered User
 
Join Date: Sep 2005
Location: Boston
Posts: 17
Unfortunately the folder is empty.

[alfy@localhost ~]$ ls /etc/yum.repo.d/
ls: cannot access /etc/yum.repo.d/: No such file or directory
[alfy@localhost ~]$
Reply With Quote
  #4  
Old 25th June 2009, 03:46 AM
marko's Avatar
marko Online
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,446
That's actually /etc/yum.repos.d

note the missing "s" in yours
Reply With Quote
  #5  
Old 25th June 2009, 03:50 AM
manuleka Offline
Registered User
 
Join Date: Feb 2009
Location: NZ
Posts: 164
Quote:
Originally Posted by marko View Post
That's actually /etc/yum.repos.d

note the missing "s" in yours
yes sorry
Code:
ls /etc/yum.repos.d/
Reply With Quote
  #6  
Old 25th June 2009, 04:04 AM
giomol Offline
Registered User
 
Join Date: Sep 2005
Location: Boston
Posts: 17
Yes, thank you. The folder is empty.

[alfy@localhost ~]$ ls /etc/yum.repos.d/
[alfy@localhost ~]$
Reply With Quote
  #7  
Old 25th June 2009, 04:14 AM
marko's Avatar
marko Online
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,446
Quote:
Originally Posted by manuleka View Post
yes sorry
Code:
ls /etc/yum.repos.d/
So you're saying it's not that you ran ls on the wrong directory but the directory really is empty?

Try:

First see if the system already thinks it has fedora-release package installed:
Code:
rpm -q fedora-release
if that returns nothing, then do as root:
use i386 instead of x86_64 in that URL above if you're actually on 32bit Fedora
(although it probably doesn't matter since the fedora-release package is
not arch specific. The oldpackage option would only be needed if the
rpm -q command showed you already had fedora-release installed but some how the repo files got lost.

Basically "fedora-release" is the package that contains all the files in /etc/yum.repos.d, this is a listing of all
the files it has:

Quote:
/etc/fedora-release
/etc/issue
/etc/issue.net
/etc/pki/rpm-gpg
/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-11-primary
/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-ia64
/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-ppc
/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-ppc64
/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
/etc/redhat-release
/etc/rpm/macros.dist
/etc/system-release
/etc/system-release-cpe
/etc/yum.repos.d
/etc/yum.repos.d/fedora-rawhide.repo
/etc/yum.repos.d/fedora-updates-testing.repo
/etc/yum.repos.d/fedora-updates.repo
/etc/yum.repos.d/fedora.repo

/usr/share/doc/fedora-release-11
/usr/share/doc/fedora-release-11/GPL

Last edited by marko; 25th June 2009 at 04:18 AM.
Reply With Quote
  #8  
Old 25th June 2009, 04:33 AM
giomol Offline
Registered User
 
Join Date: Sep 2005
Location: Boston
Posts: 17
It returns this:

[alfy@localhost ~]$ rpm -q fedora-release
fedora-release-11-1.noarch
[alfy@localhost ~]$

I tried the install but I got this:

[root@localhost alfy]# rpm -ivh --oldpackage ftp://ftp.uci.edu/mirrors/fedora/lin...1-1.noarch.rpm
Retrieving ftp://ftp.uci.edu/mirrors/fedora/lin...1-1.noarch.rpm
warning: /var/tmp/rpm-tmp.KqhLmM: Header V3 RSA/SHA256 signature: NOKEY, key ID d22e77f2
Preparing... ########################################### [100%]
package fedora-release-11-1.noarch is already installed
[root@localhost alfy]#

Last edited by giomol; 25th June 2009 at 04:44 AM.
Reply With Quote
  #9  
Old 25th June 2009, 06:27 AM
marko's Avatar
marko Online
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,446
Quote:
Originally Posted by giomol View Post
It returns this:

[alfy@localhost ~]$ rpm -q fedora-release
fedora-release-11-1.noarch
[alfy@localhost ~]$

I tried the install but I got this:

[root@localhost alfy]# rpm -ivh --oldpackage ftp://ftp.uci.edu/mirrors/fedora/lin...1-1.noarch.rpm
Retrieving ftp://ftp.uci.edu/mirrors/fedora/lin...1-1.noarch.rpm
warning: /var/tmp/rpm-tmp.KqhLmM: Header V3 RSA/SHA256 signature: NOKEY, key ID d22e77f2
Preparing... ########################################### [100%]
package fedora-release-11-1.noarch is already installed
[root@localhost alfy]#
Ok, try update instead of install:

rpm -Uiv --replacepkgs ftp://ftp.uci.edu/mirrors/fedora/lin...1-1.noarch.rpm

The majority of the original package is there, it's just that the *repo files are lost for some reason.

Last edited by marko; 25th June 2009 at 06:30 AM.
Reply With Quote
  #10  
Old 25th June 2009, 05:43 PM
giomol Offline
Registered User
 
Join Date: Sep 2005
Location: Boston
Posts: 17
Thank you very much Marko,
This last one really worked. I had about 3.5 GB of updates to install.
I now have fedora 11 and fedora 11 updates checked in the software sources.
Thank you again for helping me fix this.
If I might ask one more question...
would you know why Xine no longer plays my divx files? I have xvidcore i386 1.2.1-1.fc10 installed but the player writes that xvid is an unsupported codec.
Thanks again
Reply With Quote
  #11  
Old 25th June 2009, 09:19 PM
manuleka Offline
Registered User
 
Join Date: Feb 2009
Location: NZ
Posts: 164
it could be that it doesn't support the particular divx file format... is the codec updated to fc11? I suggest downloading VLC. VLC can prettymuch play any audio or video file type you can throw at it, the only problem with VLC is that it doesn't play some file format as good as some other Media Players...

i still have issues with some of my wma files... i have installed every codec that i could come across online from gstreamer good bad ugly to xmms-*, windows codecs etc... and i still have 400+ wma files that in Linux just can't be played on any of the 8+ media players (with all codecs installed) that i have ended up installing just to try and get all my music files playable...

the files are fine because i can play them in Windows XP
Reply With Quote
  #12  
Old 26th June 2009, 12:28 AM
giomol Offline
Registered User
 
Join Date: Sep 2005
Location: Boston
Posts: 17
in my case, the files use to work very well in fedora 10. After my upgrade to 11 both movie player and xine don't play them anymore. A lot of them were made in fedora 10 with dvdrip in xvid .avi format. The ones I made in windows are divx, they also don't play .mpg seems to work fine. Any suggestions that could help? Thanks
Reply With Quote
  #13  
Old 26th June 2009, 04:19 AM
giomol Offline
Registered User
 
Join Date: Sep 2005
Location: Boston
Posts: 17
I was finally able to ad freshrpms and rpmfusion repositories to my Software Sources but I'm unable to install any updates from them because it gives me a missing public key error for every single update:

Error checking package signatures:
Public key for lame-3.98.2-3.fc11.i586.rpm is not installed

Would anyone know how to fix this?
Thank you very much
Reply With Quote
  #14  
Old 27th June 2009, 02:00 AM
giomol Offline
Registered User
 
Join Date: Sep 2005
Location: Boston
Posts: 17
Finally solved the problem.
I don't know how to link different threads, but you can probably find this one, like I did, doing a search for "public key". The thread title is:
Another YUM issue in F11_64
It helped a lot.
I had to do:

yum update rpmfusion-free-release --nogpgcheck

and

yum update rpmfusion-nonfree-release --nogpgcheck

then

yum clean all

then

yum update

After that I was able to use yum extender to update all my rpmfusion updates.

I hope this will help user with similar problems.
Best
Reply With Quote
  #15  
Old 12th July 2009, 03:37 PM
Draconis Rex's Avatar
Draconis Rex Offline
Registered User
 
Join Date: Jul 2009
Posts: 3
Unhappy This didn't work for me.

Quote:
Originally Posted by marko View Post
Ok, try update instead of install:

rpm -Uiv --replacepkgs ftp://ftp.uci.edu/mirrors/fedora/lin...1-1.noarch.rpm

The majority of the original package is there, it's just that the *repo files are lost for some reason.
Upgrading to Fedora 11 has been one of the worst experiences I've ever had with Fedora.
After upgrading I had to repair the MBR due to the infinite "GRUB GRUB GRUB" issue.

When the system does boot it now gives the "IO APIC resources could be not be allocated" message, which I've yet to resolve.

KDE is broken with the "kstartupconfig4 does not exist or fails. The error code is 127. Check your installation." message being displayed on login.

ntpd is failing during init due to libcrpto.so.7 not being found.

Yum doesn't work due to missing software sources.
The last issue is what brings me to this forum, as getting yum working will hopefully allow me to fix my KDE & NTPD issues. (What else got lost in the upgrade though?) If this weren't a triple booting system that took a fair bit of work to set up I'd cold install F11 and be done with it.

I've tried the solution presented but the software sources remains empty. Ideas? Thnx.
Reply With Quote
Reply

Tags
software, sources, updates, working, 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
software sources.for fedora 11 winston154 Alpha, Beta & Snapshots Discussions (Fedora 11 Only) 2 3rd February 2009 01:35 AM
I killed PackageKit during an install, now software sources are gone hammerwalk Using Fedora 8 9th December 2008 12:25 AM
Software Sources - only shows Fedora 8 DennyCrane Using Fedora 1 27th May 2008 08:59 AM
Help! Add/Remove Software & Software Updater not working after 10-11-07 updates samf Using Fedora 7 31st October 2007 07:28 AM
Fedora 7 - Updates/Add-software not working turboz Servers & Networking 0 2nd June 2007 10:49 AM


Current GMT-time: 04:51 (Sunday, 19-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