{"id":3702,"date":"2020-12-09T16:32:29","date_gmt":"2020-12-09T22:32:29","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=3702"},"modified":"2020-12-11T15:38:10","modified_gmt":"2020-12-11T21:38:10","slug":"unsupported-deb-based-os-etc-os-release-id-kali","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/unsupported-deb-based-os-etc-os-release-id-kali\/","title":{"rendered":"Unsupported DEB-based OS: \/etc\/os-release ID &#8216;kali&#8217;"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/12\/image-8.png\"><img loading=\"lazy\" decoding=\"async\" width=\"804\" height=\"388\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/12\/image-8.png\" alt=\"\" class=\"wp-image-3743\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/12\/image-8.png 804w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/12\/image-8-300x145.png 300w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/12\/image-8-768x371.png 768w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/12\/image-8-500x241.png 500w\" sizes=\"auto, (max-width: 804px) 100vw, 804px\" \/><\/a><\/figure>\n\n\n\n<p>Unsupported DEB-based OS: \/etc\/os-release ID &#8216;kali&#8217;.  You can get the above error if you try to install AMD drivers on Kali Linux.  Looks like by default they are looking for a system that is Ubuntu, LinuxMint or Debian.<\/p>\n\n\n\n<p>You can resolve the issue by opening up the &#8220;amdgpu-pro-install&#8221; file and adding more OS&#8217;s that it can check for.<\/p>\n\n\n\n<pre id=\"block-609dd13e-aafa-4818-b3e5-50a0c6cf14a6\" class=\"wp-block-preformatted\">vi .\/amdgpu-pro-install<\/pre>\n\n\n\n<p>Scroll down to line 147 where is says<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ubuntu|linuxmint|debian) <\/pre>\n\n\n\n<p>and change it to <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ubuntu|linuxmint|debian|kali)<\/pre>\n\n\n\n<p>The code function should look like the following.<\/p>\n\n\n\n<div style=\"height: 250px; position:relative; margin-bottom: 50px;\" class=\"wp-block-simple-code-block-ace\"><pre class=\"wp-block-simple-code-block-ace\" style=\"position:absolute;top:0;right:0;bottom:0;left:0\" data-mode=\"php\" data-theme=\"monokai\" data-fontsize=\"14\" data-lines=\"Infinity\" data-showlines=\"true\" data-copy=\"false\">142 function os_release() {\n143         if [[ -r  \/etc\/os-release ]]; then\n144                 . \/etc\/os-release\n145\n146                 case \"$ID\" in\n147                 ubuntu|linuxmint|debian|kali)\n148                         :\n149                         ;;\n150                 *)\n151                         echo \"Unsupported DEB-based OS: `\n152                                 `\/etc\/os-release ID '$ID'\" | stderr\n153                         exit 1\n154                         ;;\n155                 esac\n156         else\n157                 echo \"Unsupported OS\" | stderr\n158                 exit 1\n159         fi\n160 }<\/pre><\/div>\n\n\n\n<p>Save a close the file and install the AMD drivers<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">.\/amdgpu-pro-install -y --opencl=legacy,rocm --headless<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>Looking at trying to install AMD drivers for mining?  Check out the following link<br><a href=\"https:\/\/www.incredigeek.com\/home\/install-rx-580-mining-drivers-on-debian-based-distributions\/\">Install RX 580 Mining Drivers on Debian Based Distributions<\/a><\/p>\n\n\n\n<p>More info on Stack Exchange<br><a href=\"https:\/\/elementaryos.stackexchange.com\/questions\/24282\/cant-install-amd-drivers-on-elementaryos-hera-unsupported-deb-based-os\">https:\/\/elementaryos.stackexchange.com\/questions\/24282\/cant-install-amd-drivers-on-elementaryos-hera-unsupported-deb-based-os<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unsupported DEB-based OS: \/etc\/os-release ID &#8216;kali&#8217;. You can get the above error if you try to install AMD drivers on Kali Linux. Looks like by default they are looking for a system that is Ubuntu, LinuxMint or Debian. You can &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/unsupported-deb-based-os-etc-os-release-id-kali\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[1090,1000,270,412,1123,268,532],"class_list":["post-3702","post","type-post","status-publish","format-standard","hentry","category-linux","tag-amd","tag-driver","tag-drivers","tag-gpu","tag-graphics-driver","tag-kali","tag-video"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=3702"}],"version-history":[{"count":6,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3702\/revisions"}],"predecessor-version":[{"id":3745,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3702\/revisions\/3745"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=3702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=3702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=3702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}