This is why you should run the apt update command right after installing Ubuntu or any other distributions based on Ubuntu (like Linux Mint).Įven if its not a fresh install, your apt cache might be outdated. When you have a freshly installed Ubuntu system, the cache is empty. If the package is not in this cache, your system won’t be able to install it.
When you use the install command, apt package manager searches the cache to get the package and version information and then download it from its repositories over the network. Basically, the ‘apt update’ command builds a local cache of available packages. I recommend to get through the concept of Ubuntu repositories. This command won’t update Ubuntu straightaway. If this is the first time you are using your system after installing, you should run the update command: sudo apt update For example, the command name should be vlc, not Vlc or VLC. So make sure that you are typing the correct package name. Typos are common so make sure that you have not made any mistakes in typing the name of the package.Īlso, the commands in Linux are case-sensitive. Did you make a typo in the package name? I mean, if you are trying to install vlc and you typed vcl, it will surely fail.
#Nox installer says cant install how to
Let’s see how to troubleshoot this issue one step at a time. Fixing ‘Unable to locate package error’ on Ubuntu But why is it so? Why can it not find the package? Let’s see some of the actions you can take to fix this issue.
Your Linux system cannot find the package that you are trying to install. The error reads: sudo apt-get install package_name Sometimes, you may encounter an error while trying to install application in this manner. You open a terminal and use the program name to install it like this: sudo apt install package_name One of the many ways of installing software in Ubuntu is to use the apt-get or the apt command. This beginner tutorial shows how to go about fixing the E: Unable to locate package error on Ubuntu Linux.