This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: python3-certbot-apache. Apt mentions something about “no installation candidate.” What does this mean, what’s the source of the problem, and is it fixable? Start by checking if the entry was removed during the last update/upgrade you performed. Related: Mastering Ubuntu Apt And Become An Apt Guru. Try default-mysql-server - although you can use mariadb . This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'python-scipy' has no installation candidate I tried enabling universe repository andit turns out it is already enabled. You just need to run another update/upgrade to get the latest versions of your installed software. Looking at your sources.list file your problem may be that you are only using "Wheezy" {Debian/Raspian Version 7.x "OldStable"} sources but also have "jessie" {Debian/Raspian Version 8.x "Stable"} sources commented out - if you have previous had the latter uncommented you may have installed packages from the later version ones and then, when they were commented out again, you have versions installed that are later then the ones that are present in the older distribution. By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy, 2020 Stack Exchange, Inc. user contributions under cc by-sa. sudo add-apt-repository multiverse sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install lib32gcc1 steamcmd. I am trying to install it virtual machine kali linux. To resolve situations like this you may find that instead of apt-get you could try using aptitude in it's interactive mode - as it can help to explore your system's packages, it will show if you have multiple versions of packages available in your system, and it can allow you to choose which is installed manually - it keeps track of the interdependencies as you select and deselect them and will warn, if not prevent you, from putting together an incompatible set of inter-dependent packages. snap install deb http://archive.raspbian.org/raspbian wheezy main contrib non-free rpi. Related: Mastering Ubuntu Apt And Become An Apt Guru. Yeah! There are some challenges and risks to doing it this way. but above commands did not work. There is a program called gdebi that installs the packages with the dependencies, so that will be installed when you run the following script/s alongside (hopefully) nap, ntpdate, and postfix. For example, suppose you entered the above command using “firefox” as the PACKAGE_NAME. It seems mercurial is only available in i386 and amd64, so every --scm build fails. 8 Tools to Easily Create a Custom Linux Distro, Budgie Desktop Review: A Beautiful Desktop that Looks Like Gnome, Enlightenment Desktop Review: A Beautiful, Lightweight but Different Desktop Manager. Done Package redis-server is not available, but is referred to by another package. Please find my /etc/apt/sources.list file content as below, let me know if I made something wrong in configuration. I also tried to search ArmHF but could not understand what should I do or how to use them. 今天在安装软件的时候出现了Package has no installation candidate的问题,如:# apt-get install Reading package lists... DoneBuilding dependency tree... DonePackage aptitude is … Done Package docker-ce is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'scons' has no installation candidate What Does It Mean? I am not familiar with linux system as I am an iOS Developer. PS You can see what is available on your distribution e.g. The Internet is your friend in finding the missing repository. This is a temporary fix. Or, rather, read. I also notice that nap still seems to work? Done Package scons is not available, but is referred to by another package. Then, try installing the package again. This affects mostly Ubuntu ports releases. To check for packages with similar names that are available, use the command: Depending on what you’re looking for, this may bring up a huge list of available software. These programs are made for Jessie systems, so you have to have the latest raspbian installed for them to work. https://raspberrypi.stackexchange.com/questions/49900/e-package-has-no-installation-candidate/57241#57241, https://raspberrypi.stackexchange.com/questions/49900/e-package-has-no-installation-candidate/50511#50511, https://raspberrypi.stackexchange.com/questions/49900/e-package-has-no-installation-candidate/50363#50363. I will have to dig deeper to find the real reason this is happening. But after that also; executing apt-get install command also shows the same error. You've decided to leave a comment. Let's have a personal and meaningful conversation. Done Package awscli is not available, but is referred to by another package. Thankfully, apt-cache supports Regex. After searching the web for a while, I found the correct software. I would only recommend this as a last resort as you could end up corrupting your system. If for some reason you have an old version, let me know and I can work around it :). {Editor inserted copy of linked-to file:}. I ended up getting the same "Package has no installation candidate" error for any package I didn't already have installed. You also have duplicate entries for the same source package repository: Here’s a trick to narrow it down: Usually, package names won’t have radical name changes. I used Mirage ( fast and simple GTK+ image viewer) for years, but it is no longer in the Ubuntu repository. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'mercurial' has no installation candidate Done Package jenkins is not available, but is referred to by another package. Done > >>Package proftpd has no available version, but exists in the database. deb-src http://archive.raspbian.org/raspbian/ wheezy main contrib non-free rpi, And very likely have two repositories for the SAME files: It can help in many ways to establish and run a successful business with very little efforts and money. (max 2 MiB). This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'steamcmd' has no installation candidate I have a Raspberry Pi running Ubuntu 20.04. This may mean that the package is missing, has been obsoleted, or is only available from another source. E: Package ‘python-certbot-apache’ has no installation candidate Try running some of the following commands: If you have no luck, I would reccomend searching on google for an ArmHF repository that contains those packages, and adding it using some instructions easily found online also. Since then, he's been melting keycaps by typing 24/7, trying to spread The Word Of Tech to anyone interested enough to listen. Save my name, email, and website in this browser for the next time I comment. E: package has no installation candidate Linux is no doubt a great operating system. Affiliate Disclosure: Make Tech Easier may earn commission on products purchased through our links, which supports the work we do for our readers. You only have to find and add it to your distribution’s software sources. For me, it saved me about an hour of time reinstalling. If that didn’t work, you’ll probably find the particular package in a currently unlisted repository. E: Package 'pgadmin4' has no installation candidate E: Unable to locate package pgadmin4-apache2 I have tried out a lot of solutions, but none seems to do the trick. © 2020 Uqnic Network Pte Ltd. All rights reserved. download tor - https://www.torproject.org/download/download How to fix this? Mastering Ubuntu Apt And Become An Apt Guru, How to Change the Screen Resolution in Ubuntu, How to Manage Your Startup Applications in Ubuntu, How to Enable Fractional Scaling in Ubuntu 20.04. What may change is a version number or a secondary keyword. Each time I try to install SteamCMD via apt it responds with: Package steamcmd is not available, but is referred to by another package. When excuting the command mininet/utils/install.sh, it occurs that E: Package 'iproute' has no installation candidate. There’s also another case of missing packages – Apt can’t find it in its usual location but knows it exists since another package references it. but the installation process stops with message 'tor has no installation candidate' I am trying to install it virtual machine kali linux. First is there may be dependencies that cannot be met, so you are still out of luck. Whenever I execute above command to install any package, it shows me a common error saying E: Package has no installation candidate, I tried following packages to install but every time I faced the same error, Also I tried to update and upgrade using following command. https://raspberrypi.stackexchange.com/questions/49900/e-package-has-no-installation-candidate/81529#81529. mysql has been replaced by mariadb in Debian10. Once located, you can add the repository to Ubuntu with the command: In some rare cases, the problem isn’t a missing repository but a renamed package. In my case it was mirrordirector.raspbian.org_raspbian_dists_stretch_main_binary-armhf_Packages as it was only abound 2MB in size of the 60MB that is should be. Click here to upload your image Done Package apache2 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: manpages-pl manpages-fr-extra. The second is those same dependencies could break your system over time, as that package will not update automatically. Package lintian is not available, but is referred to by another package. I have updated the link. I am unable to install any package using command "apt-get install". Usually best to find an alternative if you can. edit: maybe I forgot to paste the last command but when I ran "steamcmd" it said it wasn't installed, so maybe I forgot to install it. Have you ever met the “no installation candidate” problem, and if yes, how did you solve it? E: Package 'python3-pip' has no installation candidate When checked for universal repository - sudo add-apt-repository universe 'universe' distribution component is already enabled for all sources. @goldilocks, yes its due to copy and pasting mistake. There is also no PPA for Mirage. I simply deleted that file and then ran apt-get update again. Usually in this case one would recommend just reinstalling, but since I had another raspbian distro installed that I could reference, I was able to compare the two /var/lib/apt/lists directories and see which file was half complete. Learn how to solve an Error ‘no installation candidate’ in Kali Linux. Package python-certbot-apache is not available, but is referred to by another package. Kindly guide me (if possible). In the process, Apt’s database will be updated. E: Package 'realpath' has no installation candidate Dismiss Join GitHub today. Today I ran into this problem because the power supply I was trying to use failed half way through a package update. You can download it from the packages.debian search by doing a package search, and install with gdebi. repository, it will redirect to a, hopefully, geographically good server for you/your RPi making the request and normally, I believe, it is all that you need to specify. In that case, you’d see dozens of entries with the word firefox in their name or description. You can also provide a link from the web. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'docker-ce' has no installation candidate That's fantastic! This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'lintian' has no installation candidate Apt mentions something about “no installation candidate.” What does this mean, what’s the source of the problem, and is it fixable? Check out our comment policy here. deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi Here are some ways you can fix it. Understanding File Permissions: What Does "Chmod 777" Mean? This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'jenkins' has no installation candidate What do I have to do so that apt finds the Jenkins package so it can be installed? In such cases, the problem is because Apt doesn’t know where and how to find it. Notify me of follow-up comments by email. This resulted in a corrupted package file in /var/lib/apt/lists that was half downloaded. E: Package ‘tor’ has no installation candidate Thus, you can search for packages that begin with the specific keyword. Tell us in the comments section below. You don’t have to hunt it down in cryptic logs. mirrordirector.raspbian.org is a special (virtual?) Sometimes the official repository doesn’t have the package you want. If you replaced PACKAGE_NAME for firefox, you’d see a list of all packages that start with the word “firefox.” Among them, you’d probably find an alternative to the one you’re seeking. Try running 'sudo apt-get nap' and see if that works. I read through some of the comments and I noticed @goldilocks said to use armel, so if you get errors, try the following: This generally means the package exists, but it is not available from the Raspberry Pi application source. sudo apt-get install postfix nap ntpdate That can happen if you mistype the name of a package or try to install an application that is not in the repository. Done Package mercurial is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: libapache2-mpm-itk E: Package 'apache2' has no installation candidate Commmand. You’ve tried to install something, but Ubuntu can’t bring it on-board. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'awscli' has no installation candidate I updated and upgraded my distro so I can not see any problems from that side. Enviroment: Ubuntu 18.04LTS mininet 2.2.2 sudo apt-get install tor Reading package lists… Done Building dependency tree Reading state information… Done Package tor is not available, but is referred to by another package. Thanks. Here are some ways you can fix it. You could try the following instead: The above command will return a list of all packages whose name begins with PACKAGE_NAME. By using our site, you acknowledge that you have read and understand our Cookie Policy, Privacy Policy, and our Terms of Service. GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together. OK's real life started at around 10, when he got his first computer - a Commodore 128. SO I ran "sudo apt install steamcmd" and it worked. If you try to install a package for which Apt has no clue, it will inform you it’s unable to locate it. Package realpath is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'php-mcrypt' has no installation candidate The mcrypt extension was moved to the PECL repository and is no longer bundled with PHP as of PHP 7.2.0 .