diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2012-March/013094.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/2012-March/013094.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-March/013094.html | 187 |
1 files changed, 187 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-March/013094.html b/zarb-ml/mageia-dev/2012-March/013094.html new file mode 100644 index 000000000..0be0ba395 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-March/013094.html @@ -0,0 +1,187 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Fatal errors with rpm + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Fatal%20errors%20with%20rpm&In-Reply-To=%3CCA%2Bh4nj6b4TtgTdSJxMiEY4QONJzevEY19SOd%2Bk-rpeV%3DjA-78A%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="013093.html"> + <LINK REL="Next" HREF="013095.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Fatal errors with rpm</H1> + <B>Wolfgang Bornath</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Fatal%20errors%20with%20rpm&In-Reply-To=%3CCA%2Bh4nj6b4TtgTdSJxMiEY4QONJzevEY19SOd%2Bk-rpeV%3DjA-78A%40mail.gmail.com%3E" + TITLE="[Mageia-dev] Fatal errors with rpm">molch.b at googlemail.com + </A><BR> + <I>Wed Mar 14 18:33:47 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="013093.html">[Mageia-dev] Fatal errors with rpm +</A></li> + <LI>Next message: <A HREF="013095.html">[Mageia-dev] Fatal errors with rpm +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#13094">[ date ]</a> + <a href="thread.html#13094">[ thread ]</a> + <a href="subject.html#13094">[ subject ]</a> + <a href="author.html#13094">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>2012/3/14 Robert Fox <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">list at foxconsult.net</A>>: +><i> On Wed, 2012-03-14 at 18:19 +0100, Wolfgang Bornath wrote: +</I>>><i> 2012/3/14 Wolfgang Bornath <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">molch.b at googlemail.com</A>>: +</I>>><i> > 2012/3/14 Wolfgang Bornath <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">molch.b at googlemail.com</A>>: +</I>>><i> >> 2012/3/14 Wolfgang Bornath <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">molch.b at googlemail.com</A>>: +</I>>><i> >>> 2012/3/14 Wolfgang Bornath <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">molch.b at googlemail.com</A>>: +</I>>><i> >>>> 2012/3/14 Robert Fox <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">list at foxconsult.net</A>>: +</I>>><i> >>>>> On Wed, 2012-03-14 at 16:10 +0100, Olav Vitters wrote: +</I>>><i> >>>>>> On Wed, Mar 14, 2012 at 04:01:03PM +0100, Robert Fox wrote: +</I>>><i> >>>>>> > Since the last few updates, I am experiencing erratic RPM db errors (on +</I>>><i> >>>>>> > more than one machine): +</I>>><i> >>>>>> +</I>>><i> >>>>>> This should already be fixed. Maybe your mirror lags behind a bit. +</I>>><i> >>>>>> +</I>>><i> >>>>> +</I>>><i> >>>>> I have the latest updates and it just happened - I will rebuild the db +</I>>><i> >>>>> and report back if it happens again. +</I>>><i> >>>> +</I>>><i> >>>> Just did updates (including rpm-4.9.1.2-22.mga2) on 2 cauldron +</I>>><i> >>>> installations. Last mirror sync with tier1 was 1:20 hours ago. +</I>>><i> >>>> No problems with rpm db +</I>>><i> >>> +</I>>><i> >>> Now I did some more package management: +</I>>><i> >>>  - I opened a konsole window, did another check with 'urpmi +</I>>><i> >>> --auto-update' which turned up no updates. After that rpm database was +</I>>><i> >>> unlocked. Good. +</I>>><i> >>>  - I opened rpmdrake from the konsole and marked all KDE handbooks for +</I>>><i> >>> uninstall. I clicked on OK and watched the output in the konsole +</I>>><i> >>> window. +</I>>><i> >>>  - after the second handbook urpmi crashed with a segmentation fault +</I>>><i> >>> and rpmdrake showed a message box with the same error (segfault). +</I>>><i> >>> +</I>>><i> >>> Then I rebooted the system and starting rpmdrake on the konsole returned: +</I>>><i> >>> * getting lock on urpmi +</I>>><i> >>> * [reading all synthesis files, ok] +</I>>><i> >>> * Error: rpmdb: Thread/process 2794/1397..... failed: Thread died in +</I>>><i> >>> Berkeley DB library +</I>>><i> >>> * Error: db4 error from dbenv->failchk: DB_RUNRECOVERY: Fatal error, +</I>>><i> >>> run database recovery +</I>>><i> >>> * Error: Unable to open packages index, using db4 +</I>>><i> >>> * Error: Unable to open package database in /var/lib/rpm +</I>>><i> >>> * unlocking urpmi database +</I>>><i> >>> +</I>>><i> >>> Mind that this happened with latest updates as written in my previous mail. +</I>>><i> >> +</I>>><i> >> Adding info: erasing and rebuilding the db does not work. After +</I>>><i> >> removing the _db* I run # rpm --rebuilddb which returns +</I>>><i> >> : +</I>>><i> >> * Error: rpmdb: Thread/process 2794/1397..... failed: Thread died in +</I>>><i> >> Berkeley DB library +</I>>><i> >> * Error: db4 error from dbenv->failchk: DB_RUNRECOVERY: Fatal error, +</I>>><i> >> run database recovery +</I>>><i> >> * Error: Unable to open packages index, using db4 +</I>>><i> >> +</I>>><i> >> Result: system is unusable now. +</I>>><i> > +</I>>><i> > Solution: I had to manually erase the lock file /var/lib/rpm/.RPMLOCK +</I>>><i> > After that rebuilding the database worked and urpmi is usable again. +</I>>><i> +</I>>><i> Ok, here we go again: +</I>>><i> I did the same as described earlier: +</I>>><i> Updates, then opening rpmdrake and marking all handbook packages for +</I>>><i> uninstall. After uninstalling one or two packages rpmdrake segfaults. +</I>>><i> Opening it again shows the known errors about the rpm database. +</I>>><i> +</I>>><i> Unfortunately rpmdrake gives no other error message than "Segmentation +</I>>><i> fault" - that's it. So I don't know whether the error messages about +</I>>><i> the rpm database are just a result of the segfault or the cause of the +</I>>><i> segfault. +</I>>><i> +</I>>><i> -- +</I>>><i> wobo +</I>><i> +</I>><i> Hello Wolfgang - +</I>><i> +</I>><i> Try the rebuild again: +</I>><i> rm -f /var/lib/rpm/__db* +</I>><i> rpm --rebuilddb +</I>><i> +</I>><i> and then simple do: +</I>><i> urpmi --auto-update -v +</I>><i> +</I>><i> That worked for me.  When I tried rpmdrake, I also got the corruption +</I>><i> again. +</I> +As I wrote before, this did not work here, I have to erase the lock +file as well. After that the rebuild works ok. + +As for the segfault - removing a single package via rpmdrake results +in a segfault, reproducable with any package.. + +-- +wobo +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="013093.html">[Mageia-dev] Fatal errors with rpm +</A></li> + <LI>Next message: <A HREF="013095.html">[Mageia-dev] Fatal errors with rpm +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#13094">[ date ]</a> + <a href="thread.html#13094">[ thread ]</a> + <a href="subject.html#13094">[ subject ]</a> + <a href="author.html#13094">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |