Lập Trình Linux

Fix "E : Unable to Locate Package" Error In Kali Linux

In this video I will show you how we can fix. Unable to find package error in Kali Linux.
First after installing a clean Kali Linux the sources.list contains only tow repository, and if you try to do update it maybe update a few apps and if you try to install a new app 90% it won’t and it will give you a message saying:

E: Unable to locate package, or, E: Package ‘gimp’ has no installation candidate.

For example if you want to install a software using apt-get command,
for demonstration purposes. I will install gimp which is a open-source software for raster graphics editor used for image retouching and editing, and I’m using a p t get command for installing gimp.

Now you can see that I got an error saying, E: Package ‘gimp’ has no installation candidate. so let’s fix this error by editing the sources.list file .

The simplest way is to edit the sources.list file located in e t c / a p t /

to do so open the Terminal and type ( leafpad / e t c / a p t / sources.list )
after this commend, you will get something like this…
now remove every line of them and open your web browser and go to the link given on screen or in the description below.
or you can simple google Kali Linux repository.
here we got the repository of Kali Linux rolling and if you are using any older version. Then scroll down and you will get repository for that version also,
copy the repository and paste it in the source file, and then save it.
go back to the terminal and type a p t – get update. It can take some time depending upon your Internet speed.
after it finsh updating we can install GIMP using A P T get command.
As you can see it’s working fine now and you can install Gimp and update your system without any error.

Help and subscribe for more tips and tricks


Xem Thêm Bài Viết Khác:https://ftlinuxcourse.com/lap-trinh-linux

Phần Mềm
Hướng dẫn crack windows 10 và office tất cả các phiên bản mới nhất
Lập Trình Linux
Hướng dẫn cấu hình card mạng trên VMware Worksation | Cài đặt ip tĩnh trên Kali Linux
Lập Trình Linux
How to Install VMware Tools in Kali Linux 2016.2 E17 | SysAdmin [HD]