{"id":3894,"date":"2024-06-10T22:36:56","date_gmt":"2024-06-10T17:06:56","guid":{"rendered":"https:\/\/www.veeble.org\/kb\/?p=3894"},"modified":"2025-02-25T03:57:00","modified_gmt":"2025-02-24T22:27:00","slug":"unable-to-locate-package-error-solved","status":"publish","type":"post","link":"https:\/\/www.veeble.com\/kb\/unable-to-locate-package-error-solved\/","title":{"rendered":"&#8220;E: Unable to locate package&#8221; Error [Solved]"},"content":{"rendered":"\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/E-Unable-to-locate-package-Error-Solved.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1366\" height=\"768\" data-id=\"7279\" src=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/E-Unable-to-locate-package-Error-Solved.png\" alt=\"E Unable to locate package Error [Solved]\" class=\"wp-image-7279\" srcset=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/E-Unable-to-locate-package-Error-Solved.png 1366w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/E-Unable-to-locate-package-Error-Solved-300x169.png 300w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/E-Unable-to-locate-package-Error-Solved-1024x576.png 1024w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/E-Unable-to-locate-package-Error-Solved-768x432.png 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<p>The &#8220;E: Unable to locate package&#8221; error in Linux occurs when apt cannot find the package to install. This knowledge base provides step-by-step solutions to resolve this issue. It focuses on Debian-based distributions such as Ubuntu, which uses apt as a package manager.<\/p>\n\n\n\n<p>To resolve the &#8220;E: Unable to locate package&#8221; error, first, we <strong>check for typos in the package name<\/strong>, and if no typos then <strong>update the package lists<\/strong>. If the issue persists, ensure to <strong>enable all necessary repositories <\/strong>and manually add any missing ones. Finally, <strong>verify the package&#8217;s availability for your distribution<\/strong> and <strong>fix any broken dependencies<\/strong>. This will identify the cause of the mistake and, if possible, offer a solution. Additionally, this knowledge base has added some more steps to maximize the possibility of identifying and resolving the issue.<\/p>\n\n\n\t\t\t\t<div class=\"wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-6073e31e      \"\n\t\t\t\t\tdata-scroll= \"1\"\n\t\t\t\t\tdata-offset= \"30\"\n\t\t\t\t\tstyle=\"\"\n\t\t\t\t>\n\t\t\t\t<div class=\"uagb-toc__wrap\">\n\t\t\t\t\t\t<div class=\"uagb-toc__title\">\n\t\t\t\t\t\t\tTable Of Contents\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"uagb-toc__list-wrap \">\n\t\t\t\t\t\t<ol class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#step-1-double-check-the-package-spelling\" class=\"uagb-toc-link__trigger\">Step 1: Double-check the package spelling<\/a><li class=\"uagb-toc__list\"><a href=\"#step-2-update-package-lists\" class=\"uagb-toc-link__trigger\">Step 2: Update Package Lists<\/a><li class=\"uagb-toc__list\"><a href=\"#step-3-enable-all-repositories\" class=\"uagb-toc-link__trigger\">Step 3: Enable All Repositories<\/a><li class=\"uagb-toc__list\"><a href=\"#step-4-check-package-availability\" class=\"uagb-toc-link__trigger\">Step 4: Check Package Availability<\/a><li class=\"uagb-toc__list\"><a href=\"#step-5-update-and-upgrade\" class=\"uagb-toc-link__trigger\">Step 5: Update and Upgrade<\/a><li class=\"uagb-toc__list\"><a href=\"#step-6-fix-broken-dependencies\" class=\"uagb-toc-link__trigger\">Step 6: Fix Broken Dependencies<\/a><li class=\"uagb-toc__list\"><a href=\"#step-7-check-if-the-package-is-available-for-your-os-version\" class=\"uagb-toc-link__trigger\">Step 7: Check If the Package is Available for your OS Version<\/a><li class=\"uagb-toc__list\"><a href=\"#step-8-reinstall-package-manager\" class=\"uagb-toc-link__trigger\">Step 8: Reinstall Package Manager<\/a><\/ol>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\n\n\n<p><\/p>\n\n\n<h4 class=\"wp-block-heading\" id=\"step-1-doublecheck-the-package-spelling\">Step 1: Double-check the package spelling<\/h4>\n\n\n<p>Ensure you spell the package name correctly. Even a small typo can prevent the package manager from finding the package. <br>For example, imagine trying to install a photo editing program. The program&#8217;s name might be &#8220;SuperPhotoEditor.&#8221; If you accidentally type &#8220;SuperPhotoEdtor&#8221; (missing the &#8220;i&#8221;), you won&#8217;t find the program. Even though it&#8217;s a small mistake, it prevents finding the program you want.<\/p>\n\n\n\n<p>If you are unsure about the correct spelling of the package you are looking for, use the following command to find packages with similar names:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt-cache search <em>keyword<\/em><\/code><\/pre>\n\n\n\n<p>Replace the <em>keyword<\/em> in the command with a part of the package name or related keyword you are searching for!<\/p>\n\n\n\n<p><\/p>\n\n\n<h4 class=\"wp-block-heading\" id=\"step-2-update-package-lists\">Step 2: Update Package Lists<\/h4>\n\n\n<p>Software repositories are constantly updated with new packages or changes to existing ones. An outdated package list on your system won&#8217;t include information about recent additions or changes to existing packages. So, even if the package you want exists, your system won&#8217;t be able to find it because it&#8217;s looking at the old catalog (outdated list). Therefore sometimes updating the packaging list on your machine can solve the issue. You can update the packages list by running the command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update -y<\/code><\/pre>\n\n\n\n<p>This command fetches the latest package information from your repositories. You often find it to be the simplest fix.<\/p>\n\n\n<h4 class=\"wp-block-heading\" id=\"step-3-enable-all-repositories\">Step 3: Enable All Repositories<\/h4>\n\n\n<p>When you run a command to install any particular packages, your machine fetches them only from the uncommented repos in your sources file. If a repo is commented or not included, you need to enable it by uncommenting or adding the specific repo to fix the issue.<\/p>\n\n\n\n<p>To edit the sources file, open the file: <code>\/etc\/apt\/sources.list<\/code> with your favorite text editor:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/apt\/sources.list<\/code><\/pre>\n\n\n\n<p>Make sure all the working repos in the file are uncommented. If not, uncomment it by removing the # from the beginning of the repos.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-10-221123.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1313\" height=\"242\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-10-221123.png\" alt=\"Ubuntu sources.list file\" class=\"wp-image-3912\" srcset=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-10-221123.png 1313w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-10-221123-300x55.png 300w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-10-221123-1024x189.png 1024w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-10-221123-768x142.png 768w\" sizes=\"auto, (max-width: 1313px) 100vw, 1313px\" \/><\/a><\/figure>\n\n\n\n<p>You can also add the missing repositories to the file during this step. A list of working repos is available on the webpage: <a href=\"https:\/\/www.veeble.org\/kb\/sources-list-file-urls-ubuntu\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.veeble.org\/kb\/sources-list-file-urls-ubuntu\/<\/a><br>After adding the repos, make sure to update again to refresh the package database by executing:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n<h4 class=\"wp-block-heading\" id=\"step-4-check-package-availability\">Step 4: Check Package Availability<\/h4>\n\n\n<p>Package developers often create packages that are compatible with specific operating system versions. This is because the package might rely on certain features or libraries that only exist in those OS versions. Therefore checking the package availability is crucial if an error: &#8220;E: Unable to locate package&#8221; occurred during any package installation.<br>To verify if the package is available for your distribution version, run the command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt-cache search <em>package-name<\/em><\/code><\/pre>\n\n\n\n<p>Replace &#8220;<em>package-name<\/em>&#8221; with the name of the package. If it&#8217;s listed, it means the package is available.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/06\/nmap.gif\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1914\" height=\"642\" data-id=\"3915\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/06\/nmap.gif\" alt=\"searching a APTpackage\" class=\"wp-image-3915\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-uagb-call-to-action uagb-block-f89e3690 wp-block-button\"><div class=\"uagb-cta__wrap\"><h3 class=\"uagb-cta__title\">Simple, Powerful Windows VPS Hosting<\/h3><p class=\"uagb-cta__desc\">Get started quickly and easily with our intuitive Windows VPS platform. Focus on your business, not server management.<\/p><\/div><div class=\"uagb-cta__buttons\"><a href=\"https:\/\/www.veeble.com\/in\/vps-hosting\/\" class=\"uagb-cta__button-link-wrapper wp-block-button__link\" target=\"_blank\" rel=\"noopener noreferrer\">View Our Plans<\/a><\/div><\/div>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<h4 class=\"wp-block-heading\" id=\"step-5-update-and-upgrade\">Step 5: Update and Upgrade<\/h4>\n\n\n<p>An outdated system can result in the error: &#8220;E: Unable to locate package&#8221;. To resolve this, you should update and upgrade the current OS, which can solve the error if outdated software causes it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update<br>sudo apt upgrade<\/code><\/pre>\n\n\n\n<p>This ensures your system and packages are up-to-date.<\/p>\n\n\n\n<p><\/p>\n\n\n<h4 class=\"wp-block-heading\" id=\"step-6-fix-broken-dependencies\">Step 6: Fix Broken Dependencies<\/h4>\n\n\n<p>When you install a software program (package), it often relies on other software components (dependencies) to function properly. If these dependencies are not present or have some issues, your system might encounter issues while installing packages that need them. Even though the specific package you want might technically be available, the dependency issues prevent your system from finding a valid installation path that satisfies all requirements. To fix it, running the below command will help:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt --fix-broken install<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n<h4 class=\"wp-block-heading\" id=\"step-7-check-if-the-package-is-available-for-your-os-version\">Step 7: Check If the Package is Available for your OS Version<\/h4>\n\n\n<p>Sometimes, your specific OS version might not have a package available. To check its availability, visit the <a href=\"https:\/\/packages.ubuntu.com\/?ref=itsfoss.com\" target=\"_blank\" rel=\"noopener\">Ubuntu Packages Search<\/a>. Enter the package name in the search bar and select your Ubuntu version from the dropdown menu. This shows if your OS version has the package available and provides instructions on how to install it.<\/p>\n\n\n\n<p>For that first, you need to know your current OS details for the search. This can be checked with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cat \/etc\/os-release<\/code><\/pre>\n\n\n\n<p>This command will list all the details you require to search the package on the <a href=\"https:\/\/packages.ubuntu.com\/?ref=itsfoss.com\" target=\"_blank\" rel=\"noopener\">Ubuntu Packages Search<\/a> website.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-10-220713.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1192\" height=\"309\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-10-220713.png\" alt=\"cat \/etc\/os-release command\" class=\"wp-image-3932\" srcset=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-10-220713.png 1192w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-10-220713-300x78.png 300w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-10-220713-1024x265.png 1024w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-10-220713-768x199.png 768w\" sizes=\"auto, (max-width: 1192px) 100vw, 1192px\" \/><\/a><\/figure>\n\n\n\n<p>With the details, visit the website: <a href=\"https:\/\/packages.ubuntu.com\/?ref=itsfoss.com\" target=\"_blank\" rel=\"noopener\">https:\/\/packages.ubuntu.com\/?ref=itsfoss.com<\/a> and then enter the package name you are searching for in the field: Keyword.<\/p>\n\n\n\n<p>Followed by ticking the checkbox: &#8220;Only show exact matches&#8221; and choosing the right distribution from the field: Distribution, click the &#8220;Search&#8221; button.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/06\/finding-nmap.gif\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"922\" height=\"476\" data-id=\"3916\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/06\/finding-nmap.gif\" alt=\"using Ubuntu Package Search\" class=\"wp-image-3916\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li>If you find no results, your distribution doesn&#8217;t have the package you are looking for. Then you might check for any alternate solutions available on the internet for installing packages on your system other than through APT.<\/li>\n<\/ol>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>If you find results for your distribution; then open the &#8220;Software &amp; Updates&#8221; application on your machine and tick all checkboxes under &#8220;Downloadable from the Internet&#8221; under the section &#8220;Ubuntu Software&#8221; and then click &#8220;Close&#8221;.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-4 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/06\/Software-centre.gif\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1910\" height=\"838\" data-id=\"3909\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/06\/Software-centre.gif\" alt=\"Software and Updates application for installing packages if error: &quot;E: Unable to locate package&quot; occured.\" class=\"wp-image-3909\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<p>Subsequently, update the system again with the command &#8220;<code>sudo apt update<\/code>&#8221; and then install your package again.<\/p>\n\n\n\n<p>If you have only command-line access, then the &#8216;E: Unable to locate package&#8217; error can be fixed from the <strong>Step 3<\/strong> itself by adding all the repos to the <a href=\"https:\/\/www.veeble.org\/kb\/sources-list-file-urls-ubuntu\/\" target=\"_blank\" rel=\"noopener\">sources.list<\/a> file!<\/p>\n\n\n\n<p><\/p>\n\n\n<h4 class=\"wp-block-heading\" id=\"step-8-reinstall-package-manager\">Step 8: Reinstall Package Manager<\/h4>\n\n\n<p>If all else fails, and you&#8217;ve exhausted other troubleshooting options, reinstalling the package manager might be a last resort. You can do this by the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get install --reinstall apt<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-5 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-10-232208.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1458\" height=\"394\" data-id=\"3928\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-10-232208.png\" alt=\"sudo apt-get install --reinstall apt\" class=\"wp-image-3928\" srcset=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-10-232208.png 1458w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-10-232208-300x81.png 300w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-10-232208-1024x277.png 1024w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-10-232208-768x208.png 768w\" sizes=\"auto, (max-width: 1458px) 100vw, 1458px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<p><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\" \/>\n\n\n\n<p>Following these steps should resolve the &#8220;E: Unable to locate package&#8221; error. If the issue persists, consider checking online forums or the official documentation for further assistance.<\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-uagb-call-to-action uagb-block-326afa94 wp-block-button\"><div class=\"uagb-cta__wrap\"><h3 class=\"uagb-cta__title\">Scale Your Business with Windows VPS<\/h3><p class=\"uagb-cta__desc\">From startups to enterprises, our scalable Windows VPS solutions grow with you. Easily upgrade resources as your needs evolve.<\/p><\/div><div class=\"uagb-cta__buttons\"><a href=\"https:\/\/www.veeble.com\/in\/vps-hosting\/\" class=\"uagb-cta__button-link-wrapper wp-block-button__link\" target=\"_blank\" rel=\"noopener noreferrer\">View Our Plans<\/a><\/div><\/div>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Also Read:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-veeble-hosting wp-block-embed-veeble-hosting\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/www.veeble.org\/kb\/sources-list-file-urls-ubuntu\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to easily troubleshoot and solve the error &#8220;E: Unable to locate package&#8221; in Debian based OS&#8217;s including Ubuntu.<\/p>\n","protected":false},"author":7,"featured_media":7279,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[5,3],"tags":[],"class_list":["post-3894","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-installation"],"uagb_featured_image_src":{"full":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/E-Unable-to-locate-package-Error-Solved.png",1366,768,false],"thumbnail":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/E-Unable-to-locate-package-Error-Solved-150x150.png",150,150,true],"medium":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/E-Unable-to-locate-package-Error-Solved-300x169.png",300,169,true],"medium_large":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/E-Unable-to-locate-package-Error-Solved-768x432.png",768,432,true],"large":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/E-Unable-to-locate-package-Error-Solved-1024x576.png",1024,576,true],"1536x1536":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/E-Unable-to-locate-package-Error-Solved.png",1366,768,false],"2048x2048":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/06\/E-Unable-to-locate-package-Error-Solved.png",1366,768,false]},"uagb_author_info":{"display_name":"Adrian Antony","author_link":"https:\/\/www.veeble.com\/kb\/author\/adrian\/"},"uagb_comment_info":0,"uagb_excerpt":"Learn how to easily troubleshoot and solve the error \"E: Unable to locate package\" in Debian based OS's including Ubuntu.","_links":{"self":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/3894","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/comments?post=3894"}],"version-history":[{"count":32,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/3894\/revisions"}],"predecessor-version":[{"id":7482,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/3894\/revisions\/7482"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/media\/7279"}],"wp:attachment":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/media?parent=3894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/categories?post=3894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/tags?post=3894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}