{"id":48764,"date":"2025-04-28T05:46:00","date_gmt":"2025-04-28T05:46:00","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=48764"},"modified":"2025-05-01T14:50:16","modified_gmt":"2025-05-01T14:50:16","slug":"fix-dependency-grub-customizer-ubuntu-2504","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2025\/04\/fix-dependency-grub-customizer-ubuntu-2504\/","title":{"rendered":"Fix Dependency Issue for Grub-Customizer in Ubuntu 25.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/gpu-grub-logo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-43363\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/gpu-grub-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/gpu-grub-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/gpu-grub-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/gpu-grub-logo-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/gpu-grub-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/gpu-grub-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>Installing Grub-Customizer in Ubuntu 25.04 from PPA will output &#8220;<i>Depends: policykit-1 but it is not installable<\/i>&#8221; issue. Here are quick workarounds until it&#8217;s fixed upstream.<\/p>\n<p>As the name says, Grub-Customizer is a graphical application to configure the Grub boot-loader, such as set default boot entry, edit boot menu, and add kernel parameters.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/grub-customizer-genera.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48702\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/grub-customizer-genera-700x502.webp\" alt=\"\" width=\"610\" height=\"437\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/grub-customizer-genera-700x502.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/grub-customizer-genera-300x215.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/grub-customizer-genera-768x551.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/grub-customizer-genera.webp 928w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><!--more--><\/p>\n<p>The app was available in Ubuntu system repositories, which was however removed since Ubuntu 22.04 due to broken logic issue (already fixed).<\/p>\n<p>For all current Ubuntu releases, we usually install Grub Customizer through the developer&#8217;s PPA by opening terminal (Ctrl+Alt+T) and run commands below one by one:<\/p>\n<ul>\n<li>Add the <a href=\"https:\/\/launchpad.net\/~danielrichter2007\/+archive\/ubuntu\/grub-customizer\" target=\"_blank\" rel=\"noopener\">developer&#8217;s PPA<\/a> repository:\n<pre>sudo add-apt-repository ppa:danielrichter2007\/grub-customizer<\/pre>\n<\/li>\n<li>Refresh system cache:\n<pre>sudo apt update<\/pre>\n<\/li>\n<li>Finally install the software package:\n<pre>sudo apt install grub-customizer<\/pre>\n<\/li>\n<\/ul>\n<p>For Ubuntu 25.04, the PPA package so far does NOT install due to that the old <code>policykit-1<\/code> dependency package has been remove from system repository.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/apt-grubcustomizer-error.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48766\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/apt-grubcustomizer-error-700x437.webp\" alt=\"\" width=\"610\" height=\"381\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/apt-grubcustomizer-error-700x437.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/apt-grubcustomizer-error-300x187.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/apt-grubcustomizer-error-768x479.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/apt-grubcustomizer-error.webp 846w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>I&#8217;ve reported the issue. If you can&#8217;t wait for the fix, try:<\/p>\n<ul>\n<li>either unpack the PPA package (.deb) and rebuild with updated dependency library.<\/li>\n<li>or use the Grub-Customizer package from Debian repository.<\/li>\n<\/ul>\n<p><b>UPDATE: The software developer has FIXED the issue by updating the PPA package!!!<\/b><\/p>\n<h3>Option 1: Unpack the package &amp; rebuild with updated dependency<\/h3>\n<p>First, click the link to go to the <a href=\"https:\/\/launchpad.net\/~danielrichter2007\/+archive\/ubuntu\/grub-customizer\/+packages\" target=\"_blank\" rel=\"noopener\">PPA packages page<\/a>. Click expand the package source for <b>Plucky<\/b> (Ubuntu 25.04 code-name) series, then select download the &#8220;<i>grub-customizer_5.2.5-0ubuntu1~ppa1p_amd64.deb<\/i>&#8221; package.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/download-grubcustomizer-deb.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48767\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/download-grubcustomizer-deb-700x458.webp\" alt=\"\" width=\"610\" height=\"399\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/download-grubcustomizer-deb-700x458.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/download-grubcustomizer-deb-300x196.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/download-grubcustomizer-deb-768x503.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/download-grubcustomizer-deb.webp 1270w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>After downloaded the package, open <i>Downloads<\/i> folder, then right-click on blank area and select &#8220;<b>Open in Terminal<\/b>&#8221; to open that folder in terminal as working directory.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/open-grubcustomizer-terminal.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48768\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/open-grubcustomizer-terminal-700x403.webp\" alt=\"\" width=\"610\" height=\"351\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/open-grubcustomizer-terminal-700x403.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/open-grubcustomizer-terminal-300x173.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/open-grubcustomizer-terminal-768x442.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/open-grubcustomizer-terminal.webp 946w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Next, run command to unpack the <code>.deb<\/code> package you just downloaded into <code>tmp<\/code> sub-folder:<\/p>\n<pre>dpkg-deb -R .\/grub-customizer_5.2.5-0ubuntu1~ppa1p_amd64.deb .\/tmp<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/extract-grubcustomizer.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48769\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/extract-grubcustomizer-700x316.webp\" alt=\"\" width=\"610\" height=\"275\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/extract-grubcustomizer-700x316.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/extract-grubcustomizer-300x135.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/extract-grubcustomizer-768x346.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/extract-grubcustomizer.webp 1182w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Then, navigate into the <code>tmp<\/code> folder and <code>DEBIAN<\/code> sub-folder. Finally, click edit the <code>control<\/code> file, and replace <b>policykit-1<\/b> with <b>pkexec<\/b>.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/edit-control.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48770\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/edit-control-700x373.webp\" alt=\"\" width=\"610\" height=\"325\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/edit-control-700x373.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/edit-control-300x160.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/edit-control-768x410.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/edit-control.webp 1262w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>After edited that file, save it, and run the command below in the previous terminal window, to repack the <code>tmp<\/code> folder into <code>grub-customizer-fixed.deb<\/code>:<\/p>\n<pre>dpkg-deb -b --root-owner-group .\/tmp grub-customizer-fixed.deb<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/grubcustomizer-repack.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48771\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/grubcustomizer-repack-700x419.webp\" alt=\"\" width=\"610\" height=\"365\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/grubcustomizer-repack-700x419.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/grubcustomizer-repack-300x180.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/grubcustomizer-repack-768x460.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/grubcustomizer-repack.webp 1164w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Finally, click open the new <code>grub-customizer-fixed.deb<\/code> package with App Center and install!<\/p>\n<h3>Option 2: Install Grub Customizer package from Debian repository<\/h3>\n<p>Unlike Ubuntu, the upstream Debian includes Grub-Customizer package into all current releases.<\/p>\n<p>Ubuntu 25.04 user may select download the package for Debian Trixie (Debian 13 Dev), via the link below:<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/packages.debian.org\/trixie\/grub-customizer\" target=\"_blank\" rel=\"noopener\">Grub-Customizer for Debian Trixie<\/a><\/p>\n<p><b>Tip: The Debian package supports multiple architecture types, including amd64, arm64, armhf, i386, and more. In the link page, scroll down and click the architecture type for your Ubuntu, then click a mirror link to download.<\/b><\/p>\n<p>For <code>amd64<\/code> (Intel\/AMD CPUs), you may run the command below instead to download:<\/p>\n<pre>cd ~\/Downloads &amp;&amp; wget http:\/\/ftp.debian.org\/debian\/pool\/main\/g\/grub-customizer\/grub-customizer_5.2.5-1_amd64.deb<\/pre>\n<p>After downloaded the .deb package, click open with App Center, then install and enjoy!<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/install-grubcustomizer-deb.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48772\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/install-grubcustomizer-deb-700x409.webp\" alt=\"\" width=\"610\" height=\"356\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/install-grubcustomizer-deb-700x409.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/install-grubcustomizer-deb-300x175.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/install-grubcustomizer-deb-768x449.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/install-grubcustomizer-deb.webp 1274w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Installing Grub-Customizer in Ubuntu 25.04 from PPA will output &#8220;Depends: policykit-1 but it is not installable&#8221; issue. Here are quick workarounds until it&#8217;s fixed upstream. As the name says, Grub-Customizer is a graphical application to configure the Grub boot-loader, such as set default boot entry, edit boot menu, and add kernel parameters.<\/p>\n","protected":false},"author":1,"featured_media":43363,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[2034,2294],"class_list":["post-48764","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-grub","tag-ubuntu-25-04"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/48764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=48764"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/48764\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/43363"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=48764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=48764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=48764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}