we will change repository code is inside the old source list our operating system, we will change it with the latest repository code. Now we see how can fix unable to locate package error inside our operating system. and whatever tool we are install our operating system, we can also change its code, We have many options available to fix unable to locate package error, for this we can change the source list file of the operating system. for this you will have to update that tool also to update its code so that it can run correctly on the latest operating system. So if you install an old tool or install an old package inside the latest operating system, you may get an error. because if you know any operating system is updated then the tools package sources inside it all get updated. whatever tool you are installing or whatever package you are installing, the package may be not be available in the repository of your operating system.Īfter getting the latest 2020 update of kali Linux, you get to see unable to locate error more. You get to see the Unable to locate package error when the repository list and sources list in your operating system is old, mostly in this case you get to unable to locate package error in your Linux operating system.Īpart from this, there is another reason for this error. Why Unable to locate package error in Linux we will see how can fix unable to locate package error by changing the source list file in kali nethunter and ubuntu operating system and install any tools inside our operating system. This will help you successfully install the linux-header.Hi Guys welcome back you my new post in this post i will show you How To Fix Unable To Locate Package In Kali Nethunter and Ubuntu OS On Android Mobile So let's start.Īpart from this. If these aren’t the files you are looking for, follow the below links and download any version of header you want. Now Download the required header files and install them using the command dpkg -i bĬommonly used header files are provided below. It will show you the current version Step 3 Make sure you Reboot after successfully completing the operation Step 2Īfter rebooting, open up the terminal and execute the command Like we did in the first method, add proper Kali Linux repo to /etc/apt/sources.list Then run this commands in the terminal apt update -y & apt upgrade -y & apt dist-upgrade apt update -y & apt upgrade -y & apt dist-upgradeĪfter that, reboot the system, open up the terminal and run sudo apt-get install linux-headers-$(uname -r)īy running that command, it is supposed to install the linux kernel headers but in Kali 2019 it was not working. Method 1 – Installing Linux-Headers using apt-getįirst go to this link and Add the correct repositories to the source.list file. There are two methods – The Usual Method to install Kali Linux Header and a Manual Method. I have a solution for this issue and this worked for almost all my colleagues. Download and manually install Linux Headers
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |