{"id":631,"date":"2010-06-27T16:51:23","date_gmt":"2010-06-27T11:21:23","guid":{"rendered":"http:\/\/judepereira.com\/blog\/?p=631"},"modified":"2010-10-02T00:05:08","modified_gmt":"2010-10-01T18:35:08","slug":"restore-broken-package-db-on-sabayon","status":"publish","type":"post","link":"https:\/\/judepereira.com\/blog\/restore-broken-package-db-on-sabayon\/","title":{"rendered":"Restore Broken Package DB on Sabayon"},"content":{"rendered":"<p><strong>System database not found or corrupted, running in safe mode using temporary, empty repository<\/strong><br \/>\n[sourcecode lang=xml]<br \/>\nphoenix jude # equo rescue resurrect<br \/>\n&gt;&gt; ####### ATTENTION: The installed package database will be resurrected, this will take a LOT of time.<br \/>\n&gt;&gt; ####### ATTENTION: Please use this function ONLY if you are using an Entropy-aware distribution.<br \/>\n     Can I continue ? [Yes\/No] yes<br \/>\n     Are you REALLY sure ? [Yes\/No] yes<br \/>\n     Do you even know what you&#8217;re doing ? [Yes\/No] yes<br \/>\n&gt;&gt;  @@ Creating backup of the previous database, if exists.<br \/>\n&gt;&gt;  @@ Previous database copied to file \/var\/lib\/entropy\/client\/database\/amd64\/equo.db.backup.15103<br \/>\n&gt;&gt;   Initializing the new database at \/var\/lib\/entropy\/client\/database\/amd64\/equo.db<br \/>\n&gt;&gt;   Database reinitialized correctly at \/var\/lib\/entropy\/client\/database\/amd64\/equo.db<br \/>\n&gt;&gt;   Found 420663 files on the system. Assigning packages&#8230;<br \/>\n&gt;&gt;   Matching in repository: Sabayon Linux Official Repository<br \/>\n&gt;&gt;   Found 0 packages. Filling database&#8230;<br \/>\n&gt;&gt;   Database resurrected successfully.<br \/>\n&gt;&gt;   Now generating reverse dependencies metadata&#8230;<br \/>\n&gt;&gt;   Now indexing tables&#8230;<br \/>\n&gt;&gt;   Database reinitialized successfully.<br \/>\n&gt;&gt;   Keep in mind that virtual packages couldn&#8217;t be matched. They don&#8217;t own any files.<br \/>\nphoenix jude #<br \/>\n[\/sourcecode]<br \/>\nfascinating and too simple!<br \/>\nFor one thing, I have no clue why did it say &#8220;Found 0 packages.&#8221;, because just after this I was successful in doing an equo upgrade and it worked beautifully.<br \/>\nequo has become a teenager&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>System database not found or corrupted, running in safe mode using temporary, empty repository [sourcecode lang=xml] phoenix jude # equo rescue resurrect &gt;&gt; ####### ATTENTION: The installed package database will be resurrected, this will take a LOT of time. &gt;&gt; ####### ATTENTION: Please use this function ONLY if you are using an Entropy-aware distribution. Can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[52,11,10],"tags":[144,143],"class_list":["post-631","post","type-post","status-publish","format-standard","hentry","category-code","category-gen-sab-fed","category-linux","tag-entropy-db-corrupted","tag-sabayon-package-db-corrupted"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pqtyx-ab","jetpack-related-posts":[{"id":289,"url":"https:\/\/judepereira.com\/blog\/sabayon-four-oh\/","url_meta":{"origin":631,"position":0},"title":"Sabayon fOuR oH","author":"Jude Pereira","date":"June 16, 2009","format":false,"excerpt":"Based on Gentoo, Sabayon 4.1, tells me: Great performance with less RAM(though you need like 1GB RAM for it to work well enough). Package Management System is absolutely fantastic, with it's new \"Entropy\". Totally the perfect distribution. A fine distribution for the newbie or the expert. This is what a\u2026","rel":"","context":"In &quot;gnu linux&quot;","block_context":{"text":"gnu linux","link":"https:\/\/judepereira.com\/blog\/category\/linux\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":893,"url":"https:\/\/judepereira.com\/blog\/coloured-varlogmessages-at-tty12\/","url_meta":{"origin":631,"position":1},"title":"Coloured \/var\/log\/messages at tty12","author":"Jude Pereira","date":"April 26, 2011","format":false,"excerpt":"Reading logs could never become any more easier, at just a keystroke, you have your logs displayed where you want, in some fancy colour. They look great too. TTY's can be accessed by pressing Alt + Ctrl + F[1 - 12] simultaneously. In the following, you'll get a decent, colourized\u2026","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":694,"url":"https:\/\/judepereira.com\/blog\/visual-basic-6-revisited-linux-wine\/","url_meta":{"origin":631,"position":2},"title":"visual basic 6 revisited &#8211; linux &#8211; wine","author":"Jude Pereira","date":"August 5, 2010","format":false,"excerpt":"Earlier this year, I had written an article on running Visual Basic 6 on linux under wine, this is an update for it, the prior one is deprecated Getting Visual Basic 6 to work on linux is pretty easy, not much trouble, all the basic things work, as of what\u2026","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":64,"url":"https:\/\/judepereira.com\/blog\/faunos-shadow\/","url_meta":{"origin":631,"position":3},"title":"FaunOS Shadow","author":"Jude Pereira","date":"January 20, 2009","format":false,"excerpt":"It's a distribution based totally on Arch Linux... specialized for USB Portable installs and can also be used as primary OS has over 600 packages pre-installed (I know... it reminds you of Fedora and me too!). So that's to say that it comes with definitely all the packages you would\u2026","rel":"","context":"In &quot;gnu linux&quot;","block_context":{"text":"gnu linux","link":"https:\/\/judepereira.com\/blog\/category\/linux\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":903,"url":"https:\/\/judepereira.com\/blog\/usrlocalbinwaitpid\/","url_meta":{"origin":631,"position":4},"title":"\/usr\/local\/bin\/waitpid","author":"Jude Pereira","date":"April 26, 2011","format":false,"excerpt":"A quick script to wait for a certain pid, then once that quits, execute a command. You may ask, why not just do command1 && command2 ? Well, if command1 exits with a non-zero exit status value, command2 will not get executed. Hence, I've brewed a quick script for this\u2026","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1659,"url":"https:\/\/judepereira.com\/blog\/clion-and-openframeworks\/","url_meta":{"origin":631,"position":5},"title":"CLion 1.1.1 and openFrameworks 0.8.4","author":"Jude Pereira","date":"October 2, 2015","format":false,"excerpt":"A basic template to start building oF projects using CMake within CLion. It's here on GitHub! All credits go to kureta for the CMake files. I've just pieced it together as a project which can be imported.","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/631","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/comments?post=631"}],"version-history":[{"count":16,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/631\/revisions"}],"predecessor-version":[{"id":835,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/631\/revisions\/835"}],"wp:attachment":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/media?parent=631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/categories?post=631"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/tags?post=631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}