Results 1 to 2 of 2

Thread: Update getting failed

  1. #1
    Join Date
    2020-Mar
    Posts
    1

    Update getting failed

    I'm unable to apt-update on Kali Linux. I don't know why this happening but its really frustrating. I have added error log if you have any idea please reply to this thread. Thanks in advance

    Code:
    Ign:1 http://dl.google.com/linux/chrome/deb stable InReleaseIgn:2 https://packages.microsoft.com/debian/9/prod stretch InRelease                                  
    Ign:3 https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch InRelease            
    Hit:4 http://dl.google.com/linux/chrome/deb stable Release             
    Err:5 https://packages.microsoft.com/debian/9/prod stretch Release                                    
      Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 13.80.10.205 443]
    Err:6 https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch Release              
      Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 13.80.10.205 443]
    Hit:8 http://ftp2.nluug.nl/os/Linux/distr/kali kali-rolling InRelease
    Reading package lists... Done
    E: The repository 'https://packages.microsoft.com/debian/9/prod stretch Release' does not have a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    E: The repository 'https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch Release' no longer has a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.

  2. #2
    Join Date
    2020-Apr
    Posts
    4
    go to the path cd /etc/apt/sources.list.d and remove all the keys,

    after that go to edit the file nano /etc/apt/sources.list
    remove all and post this
    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

    after that

    apt-get update

Similar Threads

  1. Kali Update (1.1.0 to 2.0) failed
    By Peter/Z in forum Installing Archive
    Replies: 1
    Last Post: 2015-08-18, 03:28
  2. Update and install new app failed!!!
    By zorz in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2014-03-24, 05:49

Posting Permissions

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