How to Fix E: "Unable to Locate Package" Error in Kali Linux - 2024
ฝัง
- เผยแพร่เมื่อ 3 ม.ค. 2024
- How to Fix E: "Unable to Locate Package" Error in Kali Linux - 2024
Note: Right click on the Desktop, and then Click on 'Open in Terminal'.
Step 1: Open sources.list file by command below:-
nano /etc/apt/sources.list
Step 2: Go to the link in the comments below:
...and and then scroll down to 'using kali linux' version, under that click on the link 'Kali sources.list Repositories.'
Update: Go to the link below to find Regular repositories and Source repositories
Step 3: Now, copy the Regular repositories and Source repositories from there, and then paste in sources.list file.
Step 4: Now, again try to install the package, you won't get the error.
It's done
Thanks for watching, please like and subscribe!! 🔔
#fix #UnableToLocatePackageError #kalilinux #easyfix - วิทยาศาสตร์และเทคโนโลยี
Here is the link my friends :D
www.kali.org/docs/general-use/
appreciate it boss man got my linux runnin keep up the vids man
I found this video is the right solution. Thanks sir!
Only Person i met given 100% solution , Thanks Bro
You saved me bro. Thank you very much
very helpful video ' Thanks
won't let me rewrite file or save as a different file
Thank you boss
Thank you bro ❤️
Working thanks sir
you are the king
It is giving me the same message when i start to install lynis
PLEASE HELP!!!
its work on usb live presistency or not
after sudo nano section i couldn't remove(backspace) the source list.....how do i do that
try opening a new text file. And go back with ctrl X and then, yes, and hit enter
thank you
TY
Thanks brother♥️ l see that Azerbaijan,good job 👍🏻
thanks you bro, its work
did it but i got the same error...dont know why...when i use apt get update or upgrade it doesnt work, shows some errors with the update..pleeeeaseeeee im going insane lol
are you running under your admin privileges?? If your are not sure try adding "sudo" like: sudo apt update
Yes I have successfully fixed my "unable to locate packages".
Which short key you used 2 times .i can't understand please help me anyone
"sudo nano" to enter, then ctrl x to exit. If you have other doubt let me know. Im sorry I've been out these past weeks. I'll shortly work on another updated video and how you can install scrcpy too!
I can't rewrite the file. It said that "Error writing /etc/apt/sources.list: Permission denied". Pls help
make sure you're running with admin privileges, try typing sudo and then the command, it'll ask for your password and then try running it back, let me know if it still shows the same message after that please!
Bro it's not working
Thank
How do install scrcpy
Hwo to save the file ?
my linux is keeping runing so many cods it has been hour like that and its not stoping please help
@@amoorygamer5447 what is it showing you??
How to rewrite
BRO THX VERYYYYYYY MUCH..I WATCHED 999 NON OF THEM HELPED ME...THXXXXXXXXXXXX
Thankyou for your video but I can't rewrite the file. It said that "Error writing /etc/apt/sources.list: Permission denied". Pls help
oh I got it. I have to add 'sudo' in order to rewrite it
@@marky5643 that's right my friend! Anything else let me know!
Yah you can also do root everything before do it and then go for it
i dont get it, where to type the sudo?
SEND HELP@@marky5643
Permission denied at the time of saving, when pressing ctrl+x and then yes and then enter.
It displays permission denied
Finally solved🎉
@@asbadlani5893how did you solve it please i got the same error
Not solve😢 but good effort so i m gonna subscribe you man ❤
@@Motivate_Sphere0 What is it showing you??
Appreciate the sub boss ❤️
Trying to get some more content to the channel, its not easy between work and college but I hope to come with more useful videos and maybe an update on this one as well soon!
I'm trying to install kali nethunter on my phone and it gives me this problem i can't fix it i already watched 10 videos about that problem but still nothing i don't know what to do but thank you
Feel you bro.. installing nethunter on your phone is a little bit different. I will try to make a video this coming week explaining it and also post it on my website. Thank you actually for bringing that to the table!!
Stay tuned bro so you can check it when I finish the tutorial!
@@HansSec thanks bro
My pleasure chef 🫡@@Randompsev
thanks but i can't still install the package , it still says unable to locate , it is giving me headaches already lol
Bro if its not working still, try this..
Use the df -h to figure out if there is any partition that may be full.
Now if when see a partition that might be causing the problem, type du -h | sort -h, this will show you the directories and files that are consuming the most space
Also try clearing cache, try with rm -rf ~/. cache/*
Another option can be transferring your data to another partition using the df command and -h for reading which ones has more space left, or actually extending the lengh of your partition that is out of space if you have room left in your drive, for that type sudo parted /dev/sdX
Type print to visualize the current state of your disk and verify if indeed you have room in it.
After that, type mklabel and specify the type of partition typing msdos, type enter and next type mkpart, run the print command again and check if the partition was successfully created.
Let me know please!
@@HansSec i already installed windows 10 with dualboot on kali 😂😂😂 so i don't have the problem , thanks for taking your time and responding my comment. Good luck ❤️
@@existentialism_01bro did that fix , having the same problem
yeah it did , entirely wiped whole system and installed fresh one with dualboot.@@naughtyboys2381
bro tell me how to fix im getting this problem
Still getting same error
What does it show to you??
At 2:34 what did your press there
Ctrl X to save the file name, and then just hit Enter
@@HansSec okay thanks sir
How do i rewrite the file?
@@therealAngelXV ctrl X and then hit Enter my bro
@@HansSec mb, I'm new to all this stuff, ty
@@therealAngelXV we all are here to learn together bro ❤️
Any other question let me know!
Unable to locate package
Same
Did u fix it ??
i love you
bro i still cant install any this
I'm currently working on a video for a new fix bro, by the moment, try updating the repositories you'll be installing on, if you are not sure of the package name you can use the apt command to search for a partial package names, and also make sure the name of the packages are correct. Hope that works better, if not please let me know!
@@HansSec thanks bro it works
@@gowthaman5689 So glad to hear bro! I'll be uploading a new video with an alternative also for the ones the fix doesn't work yet though. Thanks for being on top bro appreciate it! 👊
Still not fix
What does it show bro??
@@HansSec same unable to locate package now i have installed by dual booting now one problem that is wifi driver not available
I have downloaded the driver but it is not suitable for my laptop
Would you like to make a group of hackers I mean a group like anonymous.
i love u
Help me bro ,
Its telling me that No space left on this device while their is (my whole system is empty)
And
Tty(1-6) error
Please 🙏 help
I'll be working on a video about it soon, but try this in the meantime:
Use the df -h to figure out which partition may be full.
Now if you see a partition that might be causing the problem, type du -h | sort -h, this will show you the directories and files that are consuming the most space
Also try clearing cache, this command should work fine rm -rf ~/. cache/*
Another option can be transferring your data to another partition using the df command and -h for reading which ones has more space left, or actually extending the lengh of your partition that is out of space if you have room left in your drive, for that type sudo parted /dev/sdX
Type print to visualize the current state of your disk and verify if indeed you have room in it.
After that, type mklabel and specify the type of partition typing msdos, type enter and next type mkpart, run the print command again and check if the partition was successfully created.
Hope this helps bro, I'll be bringing a new video about it and mixing it with an update to this one as well this coming week. Anything el else just let me know and how that went!
@@HansSec
/dev/nvme0n1p9 ext4 70G 69G 0 100% / ,,,, what should i do now && and thanks for replying bro
@@kyle5548 sure of course bro!
Ok, well that means that you might have your disk connected through a NVM Express port.
Now, to take an easier look of your disk and partitioning structure use the command lsblk and -files to look the device names on it.
This being said bro, you should be able to figure out if theres actually or not available room, the most logical fix would be to extend the capability of your current partition, or creating and using an extra one.
Those are the alternatives that have previously worked for me, I'm actually working to figure out if theres something ese in these cases, and in my next video this week I'll be showing that! But try this in the meantime bro.
When i went for apt upgrade , it took about 10 minutes and upgraded about 500 items
Haha it happens ;D
How do install scrcpy
Same bro you find a solution ?!