{"id":172,"date":"2009-12-10T15:09:17","date_gmt":"2009-12-10T14:09:17","guid":{"rendered":"https:\/\/hoover.gplrank.de\/?p=172"},"modified":"2009-12-10T15:09:17","modified_gmt":"2009-12-10T14:09:17","slug":"extracting-the-contents-files-from-a-debian-package","status":"publish","type":"post","link":"https:\/\/hoover.gplrank.de\/?p=172","title":{"rendered":"Extracting the contents (files) from a Debian package"},"content":{"rendered":"<p>Today I was forced to manually extract the contents of a debian package which could not be installed the &#8220;normal&#8221; way using dpkg due to broken dependencies. <\/p>\n<p>Afer some googling, I found the following command line on Vijay&#8217;s blog: <\/p>\n<p><code>dpkg-deb -x {deb-package name} \/var\/tmp<\/code><\/p>\n<p>which extacts the files from &#8220;deb-package-name&#8221; to a dir of my choosing to \/var\/tmp. <\/p>\n<p>From there, I could install them by tar pipe (after checking the directory contents first of course, as to not overwrite anything important using <\/p>\n<p><code>cd \/var\/tmp\/dir; tar -cvpf - . | tar -C \/ -xpf -<\/code><\/p>\n<p>I hope this may help someone stuck in the same hole in the future. Thanks to Vijay for the original posting! <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I was forced to manually extract the contents of a debian package which could not be installed the &#8220;normal&#8221; way using dpkg due to broken dependencies. Afer some googling, I found the following command line on Vijay&#8217;s blog: dpkg-deb -x {deb-package name} \/var\/tmp which extacts the files from &#8220;deb-package-name&#8221; to a dir of my [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-172","post","type-post","status-publish","format-standard","hentry","category-it"],"_links":{"self":[{"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/posts\/172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=172"}],"version-history":[{"count":3,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/posts\/172\/revisions"}],"predecessor-version":[{"id":175,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/posts\/172\/revisions\/175"}],"wp:attachment":[{"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}