{"id":726,"date":"2022-05-25T11:51:48","date_gmt":"2022-05-25T09:51:48","guid":{"rendered":"https:\/\/exchangetimes.net\/?p=726"},"modified":"2022-05-25T11:51:48","modified_gmt":"2022-05-25T09:51:48","slug":"you-must-specify-packages-by-their-own-names-error-in-dpkg-when-trying-to-remove-an-installed-deb-package","status":"publish","type":"post","link":"https:\/\/exchangetimes.net\/?p=726","title":{"rendered":"You must specify packages by their own names error in dpkg when trying to remove an installed deb package"},"content":{"rendered":"\n<p>I tried to remove an installed deb package using <strong>dpkg -P the_deb_name<\/strong> but received the error &#8220;<em>you must specify packages by their own names, not by quoting the names of the files they come in<\/em>&#8220;<\/p>\n<p>Follow the below steps to correctly uninstall an application (deb package) that you installed using dpkg or eddy:<\/p>\n<ol>\n<li>get the correct name of the package: dpkg &#8211;get-selections | grep part_of_the_name<br \/><br \/><\/li>\n<li>Remove the application: sudo dpkg -P application_name_as_per_above_output (-P removes the package and config files)<\/li>\n<\/ol>\n<p>Below is a video showing the steps:<\/p>\n<p><iframe loading=\"lazy\" title=\"You must specify packages by their own names error in dpkg\" width=\"960\" height=\"540\" src=\"https:\/\/www.youtube.com\/embed\/NWWDaAccO70?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I tried to remove an installed deb package using dpkg -P the_deb_name but received the error &#8220;you must specify packages by their own names, not by quoting the names of the files they come in&#8220; Follow the below steps to correctly uninstall an application (deb package) that you installed using dpkg or eddy: get the correct name of the package: dpkg &#8211;get-selections | grep part_of_the_name Remove the application: sudo dpkg -P application_name_as_per_above_output (-P removes the package and config files) Below is a video showing the steps: \u00a0<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[598,366,599],"class_list":["post-726","post","type-post","status-publish","format-standard","hentry","category-linux","tag-dpkg","tag-linux","tag-you-must-specify-packages-by-their-own-names-error-in-dpkg-when-trying-to-remove-an-installed-deb-package"],"_links":{"self":[{"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts\/726","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=726"}],"version-history":[{"count":1,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts\/726\/revisions"}],"predecessor-version":[{"id":727,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts\/726\/revisions\/727"}],"wp:attachment":[{"href":"https:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}