FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 08-29-2008, 11:09 AM
"Peter Robinson"
 
Default mock errors

Hi,

I on occasion get the following errors when running mock to do with DB
errors. It seems to happen when I add the koji repo but this time its
not enabled and I've even removed the contents of the entire mock
build dir and I still get the error. Can anyone shed any light on this
issue?

Peter

INFO: Results and/or logs in: /var/lib/mock//fedora-rawhide-x86_64/result
ERROR: Command failed:
# /usr/bin/yum --installroot
/var/lib/mock/fedora-rawhide-x86_64/root/ resolvedep ccache
'libsoup-devel >= 2.4' 'NetworkManager-devel' 'GConf2-devel'
'gtk2-devel' 'libxml2-devel' 'pkgconfig' 'libglade2-devel'
'glib2-devel' 'dbus-glib-devel'
rpmdb: Program version 4.3 doesn't match environment version
error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH:
Database environment version mismatch
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in
/var/lib/mock/fedora-rawhide-x86_64/root/var/lib/rpm

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 08-30-2008, 04:48 PM
Matt Domsch
 
Default mock errors

On Fri, Aug 29, 2008 at 12:09:33PM +0100, Peter Robinson wrote:
> Hi,
>
> I on occasion get the following errors when running mock to do with DB
> errors. It seems to happen when I add the koji repo but this time its
> not enabled and I've even removed the contents of the entire mock
> build dir and I still get the error. Can anyone shed any light on this
> issue?

may be related to:
https://bugzilla.redhat.com/show_bug.cgi?id=458234

If you disable the root cache, does it cease to fail?

--
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 08-30-2008, 04:58 PM
"Peter Robinson"
 
Default mock errors

>> I on occasion get the following errors when running mock to do with DB
>> errors. It seems to happen when I add the koji repo but this time its
>> not enabled and I've even removed the contents of the entire mock
>> build dir and I still get the error. Can anyone shed any light on this
>> issue?
>
> may be related to:
> https://bugzilla.redhat.com/show_bug.cgi?id=458234
>
> If you disable the root cache, does it cease to fail?

Looks very similar. If I clean out the cache it does generally work
although I think I may have seen it without the cache too but I tried
a few different things and that could be me getting them mixed up. If
I enable the local (koji) repo in the mock config files it happens
just about everytime. I had some vague idea it might have been the
repo sqllite db version dependent on the repo you get but I have no
real idea whether that would make a difference or not or even if each
mirror re-generates the yum sqllite DB.

Peter

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 08-30-2008, 05:35 PM
Matt Domsch
 
Default mock errors

On Sat, Aug 30, 2008 at 05:58:42PM +0100, Peter Robinson wrote:
> >> I on occasion get the following errors when running mock to do with DB
> >> errors. It seems to happen when I add the koji repo but this time its
> >> not enabled and I've even removed the contents of the entire mock
> >> build dir and I still get the error. Can anyone shed any light on this
> >> issue?
> >
> > may be related to:
> > https://bugzilla.redhat.com/show_bug.cgi?id=458234
> >
> > If you disable the root cache, does it cease to fail?
>
> Looks very similar. If I clean out the cache it does generally work
> although I think I may have seen it without the cache too but I tried
> a few different things and that could be me getting them mixed up. If
> I enable the local (koji) repo in the mock config files it happens
> just about everytime. I had some vague idea it might have been the
> repo sqllite db version dependent on the repo you get but I have no
> real idea whether that would make a difference or not or even if each
> mirror re-generates the yum sqllite DB.

the mirrors absolutely do not regenerate anything. If they did, the
contents would change, and MM would think they weren't up-to-date and
would drop them.

--
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 09:00 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org