{"id":136,"date":"2007-09-26T15:26:28","date_gmt":"2007-09-26T23:26:28","guid":{"rendered":"http:\/\/outflux.net\/blog\/archives\/2007\/09\/26\/stupid-dpkg-tricks-when-fighting-xfs-bugs\/"},"modified":"2007-09-26T15:26:28","modified_gmt":"2007-09-26T23:26:28","slug":"stupid-dpkg-tricks-when-fighting-xfs-bugs","status":"publish","type":"post","link":"https:\/\/outflux.net\/blog\/archives\/2007\/09\/26\/stupid-dpkg-tricks-when-fighting-xfs-bugs\/","title":{"rendered":"stupid dpkg tricks when fighting XFS bugs"},"content":{"rendered":"<p>A few days ago, I found myself with corrupted libraries and other insanity after doing a &#8220;dist-upgrade&#8221;.  As it turns out, my filesystem was to blame.  After running xfs_repair on it, I used a handy short-cut to re-install all the packages that might have gotten caught in the breakage:<\/p>\n<blockquote><p>\nsudo apt-get &#8211;reinstall install $(grep ^2007-09-24 \/var\/log\/dpkg.log | cut -d\\  -f4)\n<\/p><\/blockquote>\n<p style='text-align:left'>&copy; 2007, <a href=\"https:\/\/outflux.net\/blog\/\">Kees Cook<\/a>. This work is licensed under a <a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\">Creative Commons Attribution-ShareAlike 4.0 License<\/a>.<br \/><a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\"><img decoding=\"async\" alt=\"CC BY-SA 4.0\" style=\"border-width:0\" src=\"https:\/\/i.creativecommons.org\/l\/by-sa\/4.0\/88x31.png\" \/><\/a> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few days ago, I found myself with corrupted libraries and other insanity after doing a &#8220;dist-upgrade&#8221;. As it turns out, my filesystem was to blame. After running xfs_repair on it, I used a handy short-cut to re-install all the packages that might have gotten caught in the breakage: sudo apt-get &#8211;reinstall install $(grep ^2007-09-24 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"_links":{"self":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts\/136"}],"collection":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/comments?post=136"}],"version-history":[{"count":0,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts\/136\/revisions"}],"wp:attachment":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/media?parent=136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/categories?post=136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/tags?post=136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}