yum + up2date on FC4 x86_64 not working as well as hoped.

Paul Howarth paul at city-fan.org
Thu Sep 8 06:55:38 UTC 2005


On Thu, 2005-09-08 at 11:40 +0900, Naoki wrote:
> Odd thing is my yum.conf is clean, as is my sources file. But both yum &
> up2date report "base already added". Are they on crack?
> 
> I even strace'd the whole thing and checked it's opening the correct
> files :
> 
> open("/etc/sysconfig/rhn/sources", O_RDONLY) = 3
> open("///etc/yum.repos.d", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 11
> open("/etc/yum.repos.d/fedora-updates.repo", O_RDONLY) = 11
> open("/etc/yum.repos.d/fedora.repo", O_RDONLY) = 11
> 
> Ohh god I am officially stupid AND blind...
> 
> Just saw the problem, inside the .repos files the headings were all
> [base].
> 
> So shoot me please...
> 
> But, in my defence the problem still stands with up2date :
> 
> Setting up Package Sacks
> Excluding Incompatible Archs
> Finished
> An error has occurred:
> exceptions.TypeError
> See /var/log/up2date for more information

I wonder if the screwed-up repos have affected up2date's cache?

Try:
# rm -rf /var/spool/up2date/*

And see if it still fails.

Paul.
-- 
Paul Howarth <paul at city-fan.org>




More information about the fedora-list mailing list