summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-March/013092.html
blob: 2868540d845ee4622c2e1756cc67f1595763e69b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!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%2Bh4nj4EYj-JXi0byNf_kPDutHT1cT-ECu3VV-SWxBSmNMD0Kw%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="013089.html">
   <LINK REL="Next"  HREF="013093.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%2Bh4nj4EYj-JXi0byNf_kPDutHT1cT-ECu3VV-SWxBSmNMD0Kw%40mail.gmail.com%3E"
       TITLE="[Mageia-dev] Fatal errors with rpm">molch.b at googlemail.com
       </A><BR>
    <I>Wed Mar 14 18:19:58 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="013089.html">[Mageia-dev] Fatal errors with rpm
</A></li>
        <LI>Next message: <A HREF="013093.html">[Mageia-dev] Fatal errors with rpm
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#13092">[ date ]</a>
              <a href="thread.html#13092">[ thread ]</a>
              <a href="subject.html#13092">[ subject ]</a>
              <a href="author.html#13092">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>2012/3/14 Wolfgang Bornath &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">molch.b at googlemail.com</A>&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> 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;&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;&gt;&gt;<i> 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;&gt;&gt;&gt;<i> On Wed, 2012-03-14 at 16:10 +0100, Olav Vitters wrote:
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> On Wed, Mar 14, 2012 at 04:01:03PM +0100, Robert Fox wrote:
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> &gt; Since the last few updates, I am experiencing erratic RPM db errors (on
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> &gt; more than one machine):
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> This should already be fixed. Maybe your mirror lags behind a bit.
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> I have the latest updates and it just happened - I will rebuild the db
</I>&gt;&gt;&gt;&gt;&gt;<i> and report back if it happens again.
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Just did updates (including rpm-4.9.1.2-22.mga2) on 2 cauldron
</I>&gt;&gt;&gt;&gt;<i> installations. Last mirror sync with tier1 was 1:20 hours ago.
</I>&gt;&gt;&gt;&gt;<i> No problems with rpm db
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Now I did some more package management:
</I>&gt;&gt;&gt;<i> &#160;- I opened a konsole window, did another check with 'urpmi
</I>&gt;&gt;&gt;<i> --auto-update' which turned up no updates. After that rpm database was
</I>&gt;&gt;&gt;<i> unlocked. Good.
</I>&gt;&gt;&gt;<i> &#160;- I opened rpmdrake from the konsole and marked all KDE handbooks for
</I>&gt;&gt;&gt;<i> uninstall. I clicked on OK and watched the output in the konsole
</I>&gt;&gt;&gt;<i> window.
</I>&gt;&gt;&gt;<i> &#160;- after the second handbook urpmi crashed with a segmentation fault
</I>&gt;&gt;&gt;<i> and rpmdrake showed a message box with the same error (segfault).
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Then I rebooted the system and starting rpmdrake on the konsole returned:
</I>&gt;&gt;&gt;<i> * getting lock on urpmi
</I>&gt;&gt;&gt;<i> * [reading all synthesis files, ok]
</I>&gt;&gt;&gt;<i> * Error: rpmdb: Thread/process 2794/1397..... failed: Thread died in
</I>&gt;&gt;&gt;<i> Berkeley DB library
</I>&gt;&gt;&gt;<i> * Error: db4 error from dbenv-&gt;failchk: DB_RUNRECOVERY: Fatal error,
</I>&gt;&gt;&gt;<i> run database recovery
</I>&gt;&gt;&gt;<i> * Error: Unable to open packages index, using db4
</I>&gt;&gt;&gt;<i> * Error: Unable to open package database in /var/lib/rpm
</I>&gt;&gt;&gt;<i> * unlocking urpmi database
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Mind that this happened with latest updates as written in my previous mail.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Adding info: erasing and rebuilding the db does not work. After
</I>&gt;&gt;<i> removing the _db* I run # rpm --rebuilddb which returns
</I>&gt;&gt;<i> :
</I>&gt;&gt;<i> * Error: rpmdb: Thread/process 2794/1397..... failed: Thread died in
</I>&gt;&gt;<i> Berkeley DB library
</I>&gt;&gt;<i> * Error: db4 error from dbenv-&gt;failchk: DB_RUNRECOVERY: Fatal error,
</I>&gt;&gt;<i> run database recovery
</I>&gt;&gt;<i> * Error: Unable to open packages index, using db4
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Result: system is unusable now.
</I>&gt;<i>
</I>&gt;<i> Solution: I had to manually erase the lock file /var/lib/rpm/.RPMLOCK
</I>&gt;<i> After that rebuilding the database worked and urpmi is usable again.
</I>
Ok, here we go again:
I did the same as described earlier:
Updates, then opening rpmdrake and marking all handbook packages for
uninstall. After uninstalling one or two packages rpmdrake segfaults.
Opening it again shows the known errors about the rpm database.

Unfortunately rpmdrake gives no other error message than &quot;Segmentation
fault&quot; - that's it. So I don't know whether the error messages about
the rpm database are just a result of the segfault or the cause of the
segfault.

--
wobo
</PRE>








































<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="013089.html">[Mageia-dev] Fatal errors with rpm
</A></li>
	<LI>Next message: <A HREF="013093.html">[Mageia-dev] Fatal errors with rpm
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#13092">[ date ]</a>
              <a href="thread.html#13092">[ thread ]</a>
              <a href="subject.html#13092">[ subject ]</a>
              <a href="author.html#13092">[ 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>