Yum deltarpm

Ahmed Kamal email.ahmedkamal at googlemail.com
Wed Jan 24 23:55:36 UTC 2007


Thanks guys, I finally came to the conclusion that the problem was not the
python code, but rather the applydeltarpm command that was touching the DB
in some wrong way causing it to lockup. I confirmed this by writing a
trivial yum plugin that only ran the command using direct on disk files, and
yum still hung!
BTW, yes, the constructed rpm does pass all signature checks. I'm currently
investigating what's causing the issue inside applydeltarpm.

On 1/25/07, Matthew Gillen <matt at gillens.us> wrote:
>
> RPM's DB backend gets wedged sometimes.  It's become a lot less common
> than
> it used to be, but it just happened to me again recently.  A solution
> (maybe
> not the best) is to rebuild the database.  I have a script that does the
> following:
> $ cat fixrpmdb.sh
> #!/bin/sh
> rm -f /var/lib/rpm/__db*
> rpm -vv --rebuilddb
>
> The '-vv' makes it take longer, but I like it so that I can be sure it's
> doing something.
>
> Hope that helps,
> Matt
>
> Ahmed Kamal wrote:
> > that does help, I can clear the lock without rebooting anymore! but, the
> > rpm hanging still happens every time. Not sure what's causing the issue
> > though.
> >
> > On 1/24/07, * Rex Dieter* <rdieter at math.unl.edu
> > <mailto:rdieter at math.unl.edu>> wrote:
> >
> >     Ahmed Kamal wrote:
> >     > I've been hacking on the code yesterday, and it seems I am hitting
> >     > some sort of a bug.
> >     ...
> >     > But it should be rare! In my case, this happens everytime. And I
> have
> >     > to reboot to clear the lock!
> >
> >     rm -f /var/lib/rpm/__db.*
> >     doesn't work?
> >
> >     -- Rex
> >
> >     _______________________________________________
> >     Fedora-infrastructure-list mailing list
> >     Fedora-infrastructure-list at redhat.com
> >     <mailto:Fedora-infrastructure-list at redhat.com>
> >     https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Fedora-infrastructure-list mailing list
> > Fedora-infrastructure-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20070125/51f50768/attachment.html 


More information about the infrastructure mailing list