summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-March/013094.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
commit1be510f9529cb082f802408b472a77d074b394c0 (patch)
treeb175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2012-March/013094.html
parentfa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff)
downloadarchives-master.tar
archives-master.tar.gz
archives-master.tar.bz2
archives-master.tar.xz
archives-master.zip
Add zarb MLs html archivesHEADmaster
Diffstat (limited to 'zarb-ml/mageia-dev/2012-March/013094.html')
-rw-r--r--zarb-ml/mageia-dev/2012-March/013094.html187
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 &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">list at foxconsult.net</A>&gt;:
+&gt;<i> On Wed, 2012-03-14 at 18:19 +0100, Wolfgang Bornath wrote:
+</I>&gt;&gt;<i> 2012/3/14 Wolfgang Bornath &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">molch.b at googlemail.com</A>&gt;:
+</I>&gt;&gt;<i> &gt; 2012/3/14 Wolfgang Bornath &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">molch.b at googlemail.com</A>&gt;:
+</I>&gt;&gt;<i> &gt;&gt; 2012/3/14 Wolfgang Bornath &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">molch.b at googlemail.com</A>&gt;:
+</I>&gt;&gt;<i> &gt;&gt;&gt; 2012/3/14 Wolfgang Bornath &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">molch.b at googlemail.com</A>&gt;:
+</I>&gt;&gt;<i> &gt;&gt;&gt;&gt; 2012/3/14 Robert Fox &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">list at foxconsult.net</A>&gt;:
+</I>&gt;&gt;<i> &gt;&gt;&gt;&gt;&gt; On Wed, 2012-03-14 at 16:10 +0100, Olav Vitters wrote:
+</I>&gt;&gt;<i> &gt;&gt;&gt;&gt;&gt;&gt; On Wed, Mar 14, 2012 at 04:01:03PM +0100, Robert Fox wrote:
+</I>&gt;&gt;<i> &gt;&gt;&gt;&gt;&gt;&gt; &gt; Since the last few updates, I am experiencing erratic RPM db errors (on
+</I>&gt;&gt;<i> &gt;&gt;&gt;&gt;&gt;&gt; &gt; more than one machine):
+</I>&gt;&gt;<i> &gt;&gt;&gt;&gt;&gt;&gt;
+</I>&gt;&gt;<i> &gt;&gt;&gt;&gt;&gt;&gt; This should already be fixed. Maybe your mirror lags behind a bit.
+</I>&gt;&gt;<i> &gt;&gt;&gt;&gt;&gt;&gt;
+</I>&gt;&gt;<i> &gt;&gt;&gt;&gt;&gt;
+</I>&gt;&gt;<i> &gt;&gt;&gt;&gt;&gt; I have the latest updates and it just happened - I will rebuild the db
+</I>&gt;&gt;<i> &gt;&gt;&gt;&gt;&gt; and report back if it happens again.
+</I>&gt;&gt;<i> &gt;&gt;&gt;&gt;
+</I>&gt;&gt;<i> &gt;&gt;&gt;&gt; Just did updates (including rpm-4.9.1.2-22.mga2) on 2 cauldron
+</I>&gt;&gt;<i> &gt;&gt;&gt;&gt; installations. Last mirror sync with tier1 was 1:20 hours ago.
+</I>&gt;&gt;<i> &gt;&gt;&gt;&gt; No problems with rpm db
+</I>&gt;&gt;<i> &gt;&gt;&gt;
+</I>&gt;&gt;<i> &gt;&gt;&gt; Now I did some more package management:
+</I>&gt;&gt;<i> &gt;&gt;&gt; &#160;- I opened a konsole window, did another check with 'urpmi
+</I>&gt;&gt;<i> &gt;&gt;&gt; --auto-update' which turned up no updates. After that rpm database was
+</I>&gt;&gt;<i> &gt;&gt;&gt; unlocked. Good.
+</I>&gt;&gt;<i> &gt;&gt;&gt; &#160;- I opened rpmdrake from the konsole and marked all KDE handbooks for
+</I>&gt;&gt;<i> &gt;&gt;&gt; uninstall. I clicked on OK and watched the output in the konsole
+</I>&gt;&gt;<i> &gt;&gt;&gt; window.
+</I>&gt;&gt;<i> &gt;&gt;&gt; &#160;- after the second handbook urpmi crashed with a segmentation fault
+</I>&gt;&gt;<i> &gt;&gt;&gt; and rpmdrake showed a message box with the same error (segfault).
+</I>&gt;&gt;<i> &gt;&gt;&gt;
+</I>&gt;&gt;<i> &gt;&gt;&gt; Then I rebooted the system and starting rpmdrake on the konsole returned:
+</I>&gt;&gt;<i> &gt;&gt;&gt; * getting lock on urpmi
+</I>&gt;&gt;<i> &gt;&gt;&gt; * [reading all synthesis files, ok]
+</I>&gt;&gt;<i> &gt;&gt;&gt; * Error: rpmdb: Thread/process 2794/1397..... failed: Thread died in
+</I>&gt;&gt;<i> &gt;&gt;&gt; Berkeley DB library
+</I>&gt;&gt;<i> &gt;&gt;&gt; * Error: db4 error from dbenv-&gt;failchk: DB_RUNRECOVERY: Fatal error,
+</I>&gt;&gt;<i> &gt;&gt;&gt; run database recovery
+</I>&gt;&gt;<i> &gt;&gt;&gt; * Error: Unable to open packages index, using db4
+</I>&gt;&gt;<i> &gt;&gt;&gt; * Error: Unable to open package database in /var/lib/rpm
+</I>&gt;&gt;<i> &gt;&gt;&gt; * unlocking urpmi database
+</I>&gt;&gt;<i> &gt;&gt;&gt;
+</I>&gt;&gt;<i> &gt;&gt;&gt; Mind that this happened with latest updates as written in my previous mail.
+</I>&gt;&gt;<i> &gt;&gt;
+</I>&gt;&gt;<i> &gt;&gt; Adding info: erasing and rebuilding the db does not work. After
+</I>&gt;&gt;<i> &gt;&gt; removing the _db* I run # rpm --rebuilddb which returns
+</I>&gt;&gt;<i> &gt;&gt; :
+</I>&gt;&gt;<i> &gt;&gt; * Error: rpmdb: Thread/process 2794/1397..... failed: Thread died in
+</I>&gt;&gt;<i> &gt;&gt; Berkeley DB library
+</I>&gt;&gt;<i> &gt;&gt; * Error: db4 error from dbenv-&gt;failchk: DB_RUNRECOVERY: Fatal error,
+</I>&gt;&gt;<i> &gt;&gt; run database recovery
+</I>&gt;&gt;<i> &gt;&gt; * Error: Unable to open packages index, using db4
+</I>&gt;&gt;<i> &gt;&gt;
+</I>&gt;&gt;<i> &gt;&gt; Result: system is unusable now.
+</I>&gt;&gt;<i> &gt;
+</I>&gt;&gt;<i> &gt; Solution: I had to manually erase the lock file /var/lib/rpm/.RPMLOCK
+</I>&gt;&gt;<i> &gt; After that rebuilding the database worked and urpmi is usable again.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Ok, here we go again:
+</I>&gt;&gt;<i> I did the same as described earlier:
+</I>&gt;&gt;<i> Updates, then opening rpmdrake and marking all handbook packages for
+</I>&gt;&gt;<i> uninstall. After uninstalling one or two packages rpmdrake segfaults.
+</I>&gt;&gt;<i> Opening it again shows the known errors about the rpm database.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Unfortunately rpmdrake gives no other error message than &quot;Segmentation
+</I>&gt;&gt;<i> fault&quot; - that's it. So I don't know whether the error messages about
+</I>&gt;&gt;<i> the rpm database are just a result of the segfault or the cause of the
+</I>&gt;&gt;<i> segfault.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> --
+</I>&gt;&gt;<i> wobo
+</I>&gt;<i>
+</I>&gt;<i> Hello Wolfgang -
+</I>&gt;<i>
+</I>&gt;<i> Try the rebuild again:
+</I>&gt;<i> rm -f /var/lib/rpm/__db*
+</I>&gt;<i> rpm --rebuilddb
+</I>&gt;<i>
+</I>&gt;<i> and then simple do:
+</I>&gt;<i> urpmi --auto-update -v
+</I>&gt;<i>
+</I>&gt;<i> That worked for me. &#160;When I tried rpmdrake, I also got the corruption
+</I>&gt;<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>