{"id":435,"date":"2009-05-09T07:04:51","date_gmt":"2009-05-09T01:34:51","guid":{"rendered":"http:\/\/brainstorms.in\/?p=435"},"modified":"2009-05-09T07:04:51","modified_gmt":"2009-05-09T01:34:51","slug":"brute-force-removal-of-a-deb-package-in-ubuntu","status":"publish","type":"post","link":"https:\/\/brainstorms.in\/?p=435","title":{"rendered":"Brute force removal of a deb package in Ubuntu"},"content":{"rendered":"<p>Today\u00a0 I was\u00a0 playing with ubuntu 9.04 .\u00a0 I tried to install\u00a0 wwwoffle the\u00a0 off-line\u00a0 proxy server.\u00a0 At the end of installation it failed with a\u00a0 &#8221; Sub process \/usr\/bin\/dpkg failed &#8221; message.\u00a0 There was some thing wrong.\u00a0\u00a0\u00a0 Fixing the system required removal of the package. I tried the following in succession in vain.<\/p>\n<p># apt-get remove wwwoffle<\/p>\n<p>#dpkg -P wwwoffle<\/p>\n<p>#dpkg &#8211;force-all\u00a0 -r wwwoffle<\/p>\n<p>I was stuck.\u00a0 I did a manual removal of the deb package like this.<\/p>\n<p>a) List out all the file of the deb package.<\/p>\n<p># dpkg -L wwwoffle<\/p>\n<p>b) Removed all the files from the above list by hand.\u00a0 If you are smart enough you can write a script for that.<\/p>\n<p>c) Remove the package using apt<\/p>\n<p>#apt-get remove wwwoffle<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today\u00a0 I was\u00a0 playing with ubuntu 9.04 .\u00a0 I tried to install\u00a0 wwwoffle the\u00a0 off-line\u00a0 proxy server.\u00a0 At the end of installation it failed with a\u00a0 &#8221; Sub process \/usr\/bin\/dpkg failed &#8221; message.\u00a0 There was some thing wrong.\u00a0\u00a0\u00a0 Fixing the system required removal of the package. I tried the following in succession in vain. #&hellip; <a href=\"https:\/\/brainstorms.in\/?p=435\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Brute force removal of a deb package in Ubuntu<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,6],"tags":[44,43],"class_list":["post-435","post","type-post","status-publish","format-standard","hentry","category-computers","category-gnulinux","tag-jaunty","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/brainstorms.in\/index.php?rest_route=\/wp\/v2\/posts\/435","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brainstorms.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/brainstorms.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/brainstorms.in\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/brainstorms.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=435"}],"version-history":[{"count":2,"href":"https:\/\/brainstorms.in\/index.php?rest_route=\/wp\/v2\/posts\/435\/revisions"}],"predecessor-version":[{"id":437,"href":"https:\/\/brainstorms.in\/index.php?rest_route=\/wp\/v2\/posts\/435\/revisions\/437"}],"wp:attachment":[{"href":"https:\/\/brainstorms.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=435"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/brainstorms.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=435"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/brainstorms.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=435"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}