J. Potter
2008-Feb-19 15:42 UTC
[CentOS] Is there a fix for the "sqlite cache needs updating" error?
I've been seeing the below message from yum whenever the repo has an update (CentOS 5):> /etc/cron.daily/yum.cron: > > ** Message: sqlite cache needs updating, reading in metadataGoogling a bit, it looks like others have seen this happen as well. The solutions, when I've found them, have been along the lines of "send output to /dev/null" or "edit this file", but nothing that feels like the "right" fix. Is there a general solution to this? Or should we just sit tight for redhat bug #429689 to be fixed (5.2?). -Jeff
Johnny Hughes
2008-Feb-19 16:14 UTC
[CentOS] Is there a fix for the "sqlite cache needs updating" error?
J. Potter wrote:> > I've been seeing the below message from yum whenever the repo has an > update (CentOS 5): > >> /etc/cron.daily/yum.cron: >> >> ** Message: sqlite cache needs updating, reading in metadata > > Googling a bit, it looks like others have seen this happen as well. The > solutions, when I've found them, have been along the lines of "send > output to /dev/null" or "edit this file", but nothing that feels like > the "right" fix. > > Is there a general solution to this? Or should we just sit tight for > redhat bug #429689 to be fixed (5.2?). >this is not really a bug ... it is just verbose output that causes an e-mail to be sent. After 24 hours (the last time the script was run) the metadata is considered stale and too old to be used, so it is regenerated. By default, the program prints to standard out when it updates it's cache. So, you are getting that info in an e-mail as output of cron. I do not see how this issue is at all related to RH bug 429689 ??? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20080219/fdf7cf8e/attachment.sig>
Akemi Yagi
2008-Feb-19 16:24 UTC
[CentOS] Is there a fix for the "sqlite cache needs updating" error?
On Feb 19, 2008 8:14 AM, Johnny Hughes <johnny at centos.org> wrote:> > I do not see how this issue is at all related to RH bug 429689 ???Maybe it is 429869 ? https://bugzilla.redhat.com/show_bug.cgi?id=429869 Akemi
J. Potter
2008-Feb-19 17:14 UTC
[CentOS] Is there a fix for the "sqlite cache needs updating" error?
>>> ** Message: sqlite cache needs updating, reading in metadata >> ... Is there a general solution to this? Or should we just sit >> tight for redhat bug #429689 to be fixed (5.2?). > > this is not really a bug ... > it is just verbose output that causes an e-mail to be sent.It seems to be the default, though, and when managing 150+ servers, this ends up being a lot of email! Is there a simple way to flip that message off?> I do not see how this issue is at all related to RH bug 429689 ???Typo; meant 429869; as Akemi suggested. -Jeff