FTLinuxCourse - Tin tổng hợp mới nhất không thể bỏ lỡ
  • Home
  • Lập Trình Linux
  • Công Nghệ
  • Máy Tính
No Result
View All Result
  • Home
  • Lập Trình Linux
  • Công Nghệ
  • Máy Tính
No Result
View All Result
FTLinuxCourse - Tin tổng hợp mới nhất không thể bỏ lỡ
No Result
View All Result

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

admin by admin
February 6, 2020
in Lập Trình Linux
22
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

Nguồn:https://ftlinuxcourse.com/

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

Tags: Youtube
Previous Post

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

Next Post

Cách cài apps của Windows lên Ubuntu

Next Post
Cách cài apps của Windows lên Ubuntu

Cách cài apps của Windows lên Ubuntu

Comments 22

  1. Bad Noob says:
    2 years ago

    bash: leafpad: command not found
    plz reply fast

    Reply
  2. Joseph Ellie Cooper says:
    2 years ago

    thanks so much worked perfectly

    Reply
  3. Believer OP says:
    2 years ago

    love u 🙂 it worked .. thank u a lot

    Reply
  4. Danish Ali Gaming says:
    2 years ago

    This worked for me on the 2020.1. Thank you so much

    Reply
  5. victor omar espinal puello says:
    2 years ago

    tranks……28/12/2019 worked

    Reply
  6. Chathrapathi Nikhil Kandagatla says:
    2 years ago

    it's saying leafpad command not found

    Reply
  7. Hazieblog Hazie says:
    2 years ago

    helpfull

    Reply
  8. Anime Connoisseur says:
    2 years ago

    Works 👍

    Reply
  9. ЛЮМИКС ART says:
    2 years ago

    Nice work

    Reply
  10. DrMerciless says:
    2 years ago

    This worked for me on the 2019.4. Thank you so much

    Reply
  11. Charlie Chen says:
    2 years ago

    Thank you

    Reply
  12. Overlord Of Random says:
    2 years ago

    bash: leafpad: command not found
    (result of second attempt) bash: leafpad/etc/apt/sources.list: No such file or directory

    Reply
  13. eselah says:
    2 years ago

    Thanks buddy

    Reply
  14. ADM Shorts says:
    2 years ago

    Tried to get gimp and it said it couldnt open the lock file or lock the administration directory..

    Reply
  15. Manzoo says:
    2 years ago

    anyone having "command leafpad not found problem" – here is the solution > type in these commands
    "sudo nano /etc/apt/sources.list"
    then got to https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/
    copy the repository and paste into the kali
    then save

    then type apt-get update

    then install any package you want

    Reply
  16. Farsan Rao says:
    2 years ago

    shit i am stuck,,, "is not valid yet, invalid for another 4d 19h 54min,"

    Reply
  17. Aaron Casterline says:
    2 years ago

    Hell Yeah, you are awesome and saved my ass with an assignment. Thank You!

    Reply
  18. Jahongir Xudayberdiyev says:
    2 years ago

    thanks worked

    Reply
  19. Qais Rasulee says:
    2 years ago

    thank you! worked for me.

    Reply
  20. ruiguk john says:
    2 years ago

    Thanks!

    Reply
  21. mohamed daghmoumi says:
    2 years ago

    Thank you man

    Reply
  22. Johnny Dukemon says:
    2 years ago

    Your text to speech sucks ass. The least you could have done was add subtitles so people could understand what the fuck was being said.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Xem Thêm

Những điều bạn có thể chưa biết về Thánh sim Hi Vietnamobile

Những điều bạn có thể chưa biết về Thánh sim Hi Vietnamobile

January 17, 2021
Xiaomi Mi 10 Pro thiết kế thời thương, màn hình cong ấn tượng

Xiaomi Mi 10 Pro thiết kế thời thương, màn hình cong ấn tượng

June 1, 2021
Địa chỉ in bao bì nhựa tại Đà Nẵng chiết khấu cao

Địa chỉ in bao bì nhựa tại Đà Nẵng chiết khấu cao

January 26, 2021
Địa chỉ bán đèn tuýp LED Philips uy tín và chất lượng trên thị trường?

Bán đèn tuýp led Philips – Skyled

July 27, 2020
Lựa chọn chủ đề in áo thun phù hợp

Lựa chọn dịch vụ in áo thun cotton cần lưu ý gì?

August 2, 2020
Cần xác định được điểm đặt pallet cao nhất để mua xe

Bí quyết chọn mua xe nâng điện đẩy tay

August 3, 2020

Về Chúng Tôi

Báo ftlinuxcourse.com 24h – Đón xem những tin tức mới nhất về tình hình chính trị, xã hội, an ninh trật tự, văn hóa – giải trí, thể thao, thông tin trong ngày.

  • Liên Hệ
  • Chính Sách Bảo Mật

© 2022 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Lập Trình Linux
  • Công Nghệ
  • Máy Tính

© 2022 JNews - Premium WordPress news & magazine theme by Jegtheme.