{"id":837,"date":"2014-09-16T09:10:05","date_gmt":"2014-09-16T07:10:05","guid":{"rendered":"http:\/\/elkano.org\/blog\/?p=837"},"modified":"2015-09-16T09:28:23","modified_gmt":"2015-09-16T07:28:23","slug":"dpkg-warning-files-list-file-package-lsof-missing-assuming-package-files-installed","status":"publish","type":"post","link":"https:\/\/elkano.org\/blog\/dpkg-warning-files-list-file-package-lsof-missing-assuming-package-files-installed\/","title":{"rendered":"dpkg: warning: files list file for package &#8216;lsof&#8217; missing; assuming package has no files currently installed"},"content":{"rendered":"<p>Some errors got installing\/removing packages after repairing a broken root file system:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-linenumbers=\"false\">\r\ndpkg: warning: files list file for package &#039;lsof&#039; missing; assuming package has no files currently installed\r\n<\/pre>\n<p>I fixed these messages creating the package file list again:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-linenumbers=\"false\">\r\ndpkg-deb -c \/var\/cache\/apt\/archives\/lsof_4.86+dfsg-1_amd64.deb | awk {&#039;print $6&#039;} | cut -f2- -d. | sed &#039;s|^\/$|\/.|&#039; | sed &#039;s|\/$||&#039; &gt; \/var\/lib\/dpkg\/info\/lsof.list\r\n<\/pre>\n<p>And then:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-linenumbers=\"false\">\r\n# apt-get -d install lsof --reinstall\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Some errors got installing\/removing packages after repairing a broken root file system: dpkg: warning: files list file for package &#039;lsof&#039; missing; assuming package has no files currently installed I fixed these messages creating the package file list again: dpkg-deb -c \/var\/cache\/apt\/archives\/lsof_4.86+dfsg-1_amd64.deb | awk {&#039;print $6&#039;} | cut -f2- -d. | sed &#039;s|^\/$|\/.|&#039; | sed &#039;s|\/$||&#039; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[138],"_links":{"self":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/837"}],"collection":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/comments?post=837"}],"version-history":[{"count":7,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/837\/revisions"}],"predecessor-version":[{"id":1088,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/837\/revisions\/1088"}],"wp:attachment":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/media?parent=837"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/categories?post=837"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/tags?post=837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}