[nzlug] dbus_listener isn't the issue: it's a yum-updatesd fishook

Patrick Connolly tuxkid at slingshot.co.nz
Tue Jun 17 21:56:35 NZST 2008


Somewhere about Mon, 16-Jun-2008 at 10:42PM +1200 (give or take),
Robin Sheat wrote:


|> I'd also consider looking in to fixing the sqlite mirror or
|> whatever the actual problem is.

I tried it manually and when it got to the transaction check section,
I got a bunch of messages like this:

filelists.sqlite.bz2      100% |=========================| 289 kB    00:41
http://rpm.livna.org/fedora/8/i386/repodata/filelists.sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.

That led me to checking for recent problems mentioned in Fedora forum
and noticed that someone had a solution which (in case anyone is
taking notes)  was to add 

http_caching=packages
to the yum.conf file (or just for the definition of the troublesome repo).

That seems to make the difference.  Why it wasn't needed before
escapes me.  What's not at all clear to me is what's in those
sqlite.bz2 files.  Before packages are downloaded, I imagined the
files containing the information about the packages would not be that
large.  However, I watched the process and noticed there was a file
over 6Mb.  If there's a bunch more of those, and it attempts every
hour, getting the checksum wrong every time (on every repo), a lot of
bandwidth can be wasted.  Far more than I'd guessed.


|> More info on DBUS here:
|> http://en.wikipedia.org/wiki/Dbus

Thanks for that.  I thought it might tell me where I'd find out where
error messages would turn up, but it wasn't immediately obvious what
DBUS would have done with them.  I found the reference to the repodata
mirror problem in /var/log/messages, and only when I tried a manual
update that I got onto the checksum issue.

Hope this helps someone who runs into a similar problem.

best


-- 
   ___     Patrick Connolly      
 {~._.~}   
 _( Y )_          Good judgment comes from experience 
(:_~*~_:)         Experience comes from bad judgment    
 (_)-(_)  	    




More information about the NZLUG mailing list