{"id":676,"date":"2013-03-18T13:47:02","date_gmt":"2013-03-18T13:47:02","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=676"},"modified":"2013-03-18T14:08:16","modified_gmt":"2013-03-18T14:08:16","slug":"dreamplug-and-yum-still-problems-after-all-these-years","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=676","title":{"rendered":"Dreamplug and Yum &#8211; Still Problems, after all these Years.."},"content":{"rendered":"<p>Ever since first running <strong>yum<\/strong> on the <strong>Dreamplug<\/strong>, over a year ago, I have had intermittent problems with yum\/rpm &#8216;hanging&#8217; for no apparent reason.\u00a0\u00a0\u00a0 There were no errors reported, and &#8211; for a time &#8211; everything just seemed to work OK..<\/p>\n<p>Now I have just attempted to do an install of <strong>xfce4<\/strong> on the system, with approximately 240 packages, and yum\/rpm has been hanging after approximately every 40 updates..<\/p>\n<p>I found that just leaving it alone, the updates eventually completed, but then gave db errors:<\/p>\n<p><strong>&#8230;&#8230;&#8230;..<\/strong><br \/>\n<strong>\u00a0 yp-tools.armv5tel 0:2.12-11.fc18\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0<\/strong><br \/>\n<strong>\u00a0 ypbind.armv5tel 3:1.36-7.fc18\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0<\/strong><br \/>\n<strong>\u00a0 yum.noarch 0:3.4.3-51.fc18\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0<\/strong><br \/>\n<strong>\u00a0 yum-langpacks.noarch 0:0.3.0-4.fc18\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0<\/strong><\/p>\n<p><strong>Complete!<\/strong><br \/>\n<strong>error: rpmdb: BDB0060 PANIC: fatal region error detected; run recovery<\/strong><br \/>\n<strong>error: db5 error(-30973) from db-&gt;close: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery<\/strong><br \/>\n<strong>error: rpmdb: BDB0060 PANIC: fatal region error detected; run recovery<\/strong><br \/>\n<strong>error: db5 error(-30973) from db-&gt;close: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery<\/strong><br \/>\n<strong>error: rpmdb: BDB0060 PANIC: fatal region error detected; run recovery<\/strong><br \/>\n<strong>error: db5 error(-30973) from db-&gt;close: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery<\/strong><br \/>\n<strong>error: rpmdb: BDB1581 File handles still open at environment close<\/strong><br \/>\n<strong>error: rpmdb: BDB1582 Open file handle: \/var\/lib\/rpm\/__db.001<\/strong><br \/>\n<strong>error: rpmdb: BDB1582 Open file handle: \/var\/lib\/rpm\/__db.002<\/strong><br \/>\n<strong>error: rpmdb: BDB1582 Open file handle: \/var\/lib\/rpm\/__db.003<\/strong><\/p>\n<p>The fix is straightforward enough..\u00a0\u00a0 just <em><strong># rm -f \/var\/lib\/rpm\/__db*<\/strong><\/em>, and then <strong><em># rpm &#8211;rebuilddb<\/em><\/strong> should fix it.<\/p>\n<p>If you find &#8211; as I did &#8211; that all this leaves phantom &#8216;unfinished&#8217; transactions, and &#8216;duplicates&#8217;, then install <strong>yum-utils<\/strong>,<br \/>\nand then: <em><strong># package-cleanup &#8211;cleandupes<\/strong><\/em>, and <em><strong># yum-complete-transaction &#8211;cleanup-only<\/strong><\/em><\/p>\n<p>I wonder if there is some ongoing problem with the old Berkeley db and the operating environment on the Dreamplug.? \u00a0 I haven&#8217;t had this problem on other arm systems, the Raspberry Pi and APC (although the APC Fedora distro &#8211; and kernel &#8211; is such an antique, that very little ever gets updated, any more..)<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 March 18th, 2013.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ever since first running yum on the Dreamplug, over a year ago, I have had intermittent problems with yum\/rpm &#8216;hanging&#8217; for no apparent reason.\u00a0\u00a0\u00a0 There were no errors reported, and &#8211; for a time &#8211; everything just seemed to work OK.. Now I have just attempted to do an install of xfce4 on the system, with approximately <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=676\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5,7,10],"tags":[1174,472,471,136,157,473,328,418,432],"class_list":["post-676","post","type-post","status-publish","format-standard","hentry","category-compilation","category-dreamplug","category-fedora","tag-arm","tag-clean-up-duplicates","tag-db-errors","tag-dreamplug-2","tag-fedora-18","tag-remove-unfinished-transactions","tag-rpm","tag-workaround","tag-yum-hang"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=676"}],"version-history":[{"count":3,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/676\/revisions"}],"predecessor-version":[{"id":678,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/676\/revisions\/678"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}