Results 1 to 3 of 3

Thread: apt update - Certificate verification failed

  1. #1

    Question apt update - Certificate verification failed

    Hi,

    I'm trying install tools but whatever I try the same error appears always "E: Unable to locate package .... "

    I tried to update /etc/apt/sources.list file added lines below initially (with root user):

    deb http://http.kali.org/kali kali-rolling main contrib non-free
    deb-src http://http.kali.org/kali kali-rolling main contrib non-free

    result:
    Code:
    # apt update                
    Ign:1 http://http.kali.org/kali kali-rolling InRelease
    Ign:1 http://http.kali.org/kali kali-rolling InRelease
    Ign:1 http://http.kali.org/kali kali-rolling InRelease
    Err:1 http://http.kali.org/kali kali-rolling InRelease
      503  Service Unavailable [IP: 192.99.200.113 80]
    Reading package lists... 
    DoneBuilding dependency tree... 
    DoneReading state information... 
    DoneAll packages are up to date.
    W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease 503  Service Unavailable [IP: 192.99.200.113 80]
    W: Some index files failed to download. They have been ignored, or old ones used instead.
    then tried this one:

    deb https://http.kali.org/kali kali-rolling main contrib non-free
    deb-src http://http.kali.org/kali kali-rolling main contrib non-free


    result:
    Code:
    # apt update                
    Ign:1 https://http.kali.org/kali kali-rolling InRelease
    Ign:1 https://http.kali.org/kali kali-rolling InRelease
    Ign:1 https://http.kali.org/kali kali-rolling InRelease
    Err:1 https://http.kali.org/kali kali-rolling InRelease
      Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 192.99.200.113 443]
    Reading package lists... DoneBuilding dependency tree... DoneReading state information... Done
    All packages are up to date.
    W: Failed to fetch https://http.kali.org/kali/dists/kali-rolling/InRelease  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 192.99.200.113 443]
    W: Some index files failed to download. They have been ignored, or old ones used instead.

    Please help.

  2. #2
    I don't think you need the source probably. comment it out. try this

    Code:
    deb http://http.kali.org/kali kali-rolling main contrib non-free
    Code:
    $ sudo apt update
    $ sudo apt full-upgrade -y

  3. #3
    I tried and again got this result:

    Code:
    # sudo apt update
    Ign:1 http://http.kali.org/kali kali-rolling InRelease
    Ign:1 http://http.kali.org/kali kali-rolling InRelease
    Ign:1 http://http.kali.org/kali kali-rolling InRelease
    Err:1 http://http.kali.org/kali kali-rolling InRelease
      503  Service Unavailable [IP: 192.99.200.113 80]
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    All packages are up to date.
    W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease  503  Service Unavailable [IP: 192.99.200.113 80]
    W: Some index files failed to download. They have been ignored, or old ones used instead.

Similar Threads

  1. Replies: 1
    Last Post: 2022-01-14, 02:18
  2. Kali with Nethunter - SSL certificate failed
    By ohnoyellowsnow in forum Installing Archive
    Replies: 0
    Last Post: 2021-10-01, 06:08
  3. Replies: 0
    Last Post: 2015-09-11, 15:39

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •