Results 1 to 38 of 38

Thread: Problem with apt-get update /

  1. #1
    Join Date
    2015-Mar
    Posts
    3

    Problem with apt-get update /

    I'm running v1.0.9 64-bit with kernel 3.12-kali-amd64 and get errors when I try to apt-get update
    First tried command line interface and got errors. Below is the console output, gpg key, & sources list.

    I updated 2 desktops without problem in the past 2 days. The machine I'm having trouble with is a thinkpad X1 carbon.

    Using the software update gui gives a "failed to process request" error:

    Code:
    E: Error http://http.kali.org/kali/ kali/main linux-image-3.14-kali1-amd64 amd64 3.14.5-1kali2
      404  Not Found
    Code:
    XXX@kali:~$ sudo apt-get update
    Hit http://dl.google.com stable Release.gpg
    Hit http://dl.google.com stable Release                                                                                                                                        
    Hit http://dl.google.com stable/main amd64 Packages                                                                                                                            
    Get:1 http://repo.kali.org kali-bleeding-edge Release.gpg [836 B]                                                                                                          
    Hit http://ppa.launchpad.net lucid Release.gpg                                                                                                
    Get:2 http://repo.kali.org kali-bleeding-edge Release [11.0 kB]                                          
    Err http://repo.kali.org kali-bleeding-edge Release                                                                                                    
      
    Hit http://ppa.launchpad.net lucid Release                                                                                                     
    Ign http://dl.google.com stable/main Translation-en_US                                                                              
    Get:3 http://http.kali.org kali Release.gpg [836 B]                                                          
    Ign http://dl.google.com stable/main Translation-en                                                    
    Hit http://ppa.launchpad.net lucid/main amd64 Packages                
    Get:4 http://security.kali.org kali/updates Release.gpg [836 B]       
    Get:5 http://http.kali.org kali Release [21.1 kB]                                
    Err http://http.kali.org kali Release                                            
      
    Get:6 http://security.kali.org kali/updates Release [11.0 kB]            
    Err http://security.kali.org kali/updates Release          
      
    Ign http://ppa.launchpad.net lucid/main Translation-en_US
    Ign http://ppa.launchpad.net lucid/main Translation-en
    Fetched 2,511 B in 2s (922 B/s)
    Reading package lists... Done
    W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.kali.org kali-bleeding-edge Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400
    
    W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://http.kali.org kali Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400
    
    W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.kali.org kali/updates Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400
    
    W: Failed to fetch http://repo.kali.org/kali/dists/kali-bleeding-edge/Release  
    
    W: Failed to fetch http://http.kali.org/kali/dists/kali/Release  
    
    W: Failed to fetch http://security.kali.org/kali-security/dists/kali/updates/Release  
    
    W: Some index files failed to download. They have been ignored, or old ones used instead.
    
    XXX@kali:~$ gpg --list-keys 
    /home/XXX/.gnupg/pubring.gpg
    ---------------------------------
    
    [snip]
    
    pub   4096R/7D8D0BF6 2012-03-05 [expires: 2018-02-02]
    uid                  Kali Linux Repository <[email protected]>
    sub   4096R/FC0D0DCB 2012-03-05 [expires: 2018-02-02]
    
    XXX@kali:~$ cat /etc/apt/sources.list
    # 
    
    # deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130905-07:57]/ kali contrib main non-free
    
    deb http://http.kali.org/kali kali main non-free contrib
    deb-src http://http.kali.org/kali kali main non-free contrib
    
    ## Security updates
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    
    # Bleeding Edge 
    deb http://repo.kali.org/kali kali-bleeding-edge main
    
    # XXX added this block on 05April2014 ---> NOTE 3-5-2015 commenting the line below out does not help my apt-get upgrade issue!!!
    # Repository for tlp power management
    deb http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid main
    Any help would be greatly appreciated. I would like to upgrade to 1.1.0 as soon as possible on this laptop. Cheers.

  2. #2
    you need to import your key into your apt-keyring. You can inspect the apt-keyring with »apt-key list«
    This should fix your issue:
    apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6

    Cheers, Ben

  3. #3
    If you have an old version of kali-archive-keyring then you will get these errors. Most Kali users who regularly update their system should have already installed the updated package and will not see this error. To update your kali-archive-keyring package type:

    Code:
    rm -rf /var/lib/apt/lists
    apt-get update 
    apt-get install kali-archive-keyring

  4. #4
    Join Date
    2015-Mar
    Posts
    3

    Thank you, Ben -- that worked

    Quote Originally Posted by e3DGwUhHo87AbiCV View Post
    you need to import your key into your apt-keyring. You can inspect the apt-keyring with »apt-key list«
    This should fix your issue:
    apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6

    Cheers, Ben
    Thanks. I didn't realize that I needed to update the apt-keyring. Can I delete the Kali key from my GPG keyring? (not that it is taking up much space, just curious.) I'll read some more about apt package signatures.

    I'm updating now. Best regards, Jeff

  5. #5
    Join Date
    2013-Mar
    Posts
    18
    Quote Originally Posted by muts View Post
    If you have an old version of kali-archive-keyring then you will get these errors. Most Kali users who regularly update their system should have already installed the updated package and will not see this error. To update your kali-archive-keyring package type:

    Code:
    rm -rf /var/lib/apt/lists
    apt-get update 
    apt-get install kali-archive-keyring

    Awesome. This totally worked for me! :-) Thank you!

  6. #6
    Join Date
    2013-Aug
    Posts
    25
    This isn't working for me or I'm doing something wrong.

    These are my key related errors:

    Reading package lists... Done
    W: GPG error: http://http.kali.org kali Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400
    W: GPG error: http://security.kali.org kali/updates Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400




    # apt-key list
    /etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg
    ------------------------------------------------------------
    pub 4096R/473041FA 2010-08-27 [expires: 2018-03-05]
    uid Debian Archive Automatic Signing Key (6.0/squeeze) <[email protected]>

    /etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg
    ---------------------------------------------------------
    pub 4096R/B98321F9 2010-08-07 [expires: 2017-08-05]
    uid Squeeze Stable Release Key <[email protected]>

    /etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg
    -----------------------------------------------------------
    pub 4096R/46925553 2012-04-27 [expires: 2020-04-25]
    uid Debian Archive Automatic Signing Key (7.0/wheezy) <[email protected]>

    /etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg
    --------------------------------------------------------
    pub 4096R/65FFB764 2012-05-08 [expires: 2019-05-07]
    uid Wheezy Stable Release Key <[email protected]>

    /etc/apt/trusted.gpg.d//kali-archive-keyring.gpg
    ------------------------------------------------
    pub 4096R/7D8D0BF6 2012-03-05 [expired: 2015-03-05]
    uid Kali Linux Repository <[email protected]>





    I tried this:


    # apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 473041FA
    Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.0pPCV6QVXR --trustdb-name /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg --keyring /etc/apt/trusted.gpg.d//kali-archive-keyring.gpg --keyserver hkp://keys.gnupg.net --recv-keys 473041FA
    gpg: requesting key 473041FA from hkp server keys.gnupg.net
    gpg: key 473041FA: "Debian Archive Automatic Signing Key (6.0/squeeze) <[email protected]>" not changed
    gpg: Total number processed: 1
    gpg: unchanged: 1



    and then tried apt-get update , then I tried all the other keys mentioned above (B98321F9, 46925553, etc)



    I also tried:

    rm -rf /var/lib/apt/lists
    apt-get update



    at the 'apt-get update' it's failing again still:


    (gdbus call:4673): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
    **
    GLib-GIO:ERROR:/build/buildd-glib2.0_2.33.12+really2.32.4-5-i386-eISom6/glib2.0-2.33.12+really2.32.4/./gio/gdbusconnection.c:6764:get_uninitialized_connectio n: assertion failed: (ret != NULL)
    Aborted
    Reading package lists... Done
    W: GPG error: http://http.kali.org kali Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400
    W: GPG error: http://security.kali.org kali/updates Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400





    the apt-get install kali-archive-keyring part is failing with:


    # apt-get install kali-archive-keyring
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    glib-networking : Depends: libglib2.0-0 (>= 2.41.3) but 2.33.12+really2.32.4-5 is to be installed
    glib-networking-services : Depends: libglib2.0-0 (>= 2.41.3) but 2.33.12+really2.32.4-5 is to be installed
    gnome-themes-standard : Depends: libglib2.0-0 (>= 2.37.3) but 2.33.12+really2.32.4-5 is to be installed
    ...etc




    Not sure where to go from here.


    Thanks

  7. #7
    Join Date
    2015-Mar
    Posts
    1
    Not good at English.
    I also have the same problem,and I have try $apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6,
    but it still didn't work.

    gpg: requesting key 7D8D0BF6 from hkp server keys.gnupg.net
    gpg: key 7D8D0BF6: "Kali Linux Repository <[email protected]>" 29 new signatures
    gpg: no ultimately trusted keys found
    gpg: Total number processed: 1
    gpg: new signatures: 29

    When I try this $apt-get update,
    W: Duplicate sources.list entry http://http.kali.org/kali/ kali/main amd64 Packages (/var/lib/apt/lists/http.kali.org_kali_dists_kali_main_binary-amd64_Packages)
    W: Duplicate sources.list entry http://http.kali.org/kali/ kali/contrib amd64 Packages (/var/lib/apt/lists/http.kali.org_kali_dists_kali_contrib_binary-amd64_Packages)
    W: Duplicate sources.list entry http://http.kali.org/kali/ kali/non-free amd64 Packages (/var/lib/apt/lists/http.kali.org_kali_dists_kali_non-free_binary-amd64_Packages)

    So,how can i do next?

  8. #8
    Join Date
    2013-Aug
    Posts
    25
    I couldn't find a solution, I ended up doing a new installation.

  9. #9
    Join Date
    2015-Apr
    Posts
    1
    Following one step will resolve your problem!
    apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
    The reason is that 7D8D0BF6 is the new public key of kali linux, yours is out of date. Please execute the above step and then run apt-get update, it will work.

    Quote Originally Posted by natv View Post
    This isn't working for me or I'm doing something wrong.

    These are my key related errors:

    Reading package lists... Done
    W: GPG error: http://http.kali.org kali Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400
    W: GPG error: http://security.kali.org kali/updates Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400




    # apt-key list
    /etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg
    ------------------------------------------------------------
    pub 4096R/473041FA 2010-08-27 [expires: 2018-03-05]
    uid Debian Archive Automatic Signing Key (6.0/squeeze) <[email protected]>

    /etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg
    ---------------------------------------------------------
    pub 4096R/B98321F9 2010-08-07 [expires: 2017-08-05]
    uid Squeeze Stable Release Key <[email protected]>

    /etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg
    -----------------------------------------------------------
    pub 4096R/46925553 2012-04-27 [expires: 2020-04-25]
    uid Debian Archive Automatic Signing Key (7.0/wheezy) <[email protected]>

    /etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg
    --------------------------------------------------------
    pub 4096R/65FFB764 2012-05-08 [expires: 2019-05-07]
    uid Wheezy Stable Release Key <[email protected]>

    /etc/apt/trusted.gpg.d//kali-archive-keyring.gpg
    ------------------------------------------------
    pub 4096R/7D8D0BF6 2012-03-05 [expired: 2015-03-05]
    uid Kali Linux Repository <[email protected]>





    I tried this:


    # apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 473041FA
    Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.0pPCV6QVXR --trustdb-name /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg --keyring /etc/apt/trusted.gpg.d//kali-archive-keyring.gpg --keyserver hkp://keys.gnupg.net --recv-keys 473041FA
    gpg: requesting key 473041FA from hkp server keys.gnupg.net
    gpg: key 473041FA: "Debian Archive Automatic Signing Key (6.0/squeeze) <[email protected]>" not changed
    gpg: Total number processed: 1
    gpg: unchanged: 1



    and then tried apt-get update , then I tried all the other keys mentioned above (B98321F9, 46925553, etc)



    I also tried:

    rm -rf /var/lib/apt/lists
    apt-get update



    at the 'apt-get update' it's failing again still:


    (gdbus call:4673): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
    **
    GLib-GIO:ERROR:/build/buildd-glib2.0_2.33.12+really2.32.4-5-i386-eISom6/glib2.0-2.33.12+really2.32.4/./gio/gdbusconnection.c:6764:get_uninitialized_connectio n: assertion failed: (ret != NULL)
    Aborted
    Reading package lists... Done
    W: GPG error: http://http.kali.org kali Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400
    W: GPG error: http://security.kali.org kali/updates Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400





    the apt-get install kali-archive-keyring part is failing with:


    # apt-get install kali-archive-keyring
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    glib-networking : Depends: libglib2.0-0 (>= 2.41.3) but 2.33.12+really2.32.4-5 is to be installed
    glib-networking-services : Depends: libglib2.0-0 (>= 2.41.3) but 2.33.12+really2.32.4-5 is to be installed
    gnome-themes-standard : Depends: libglib2.0-0 (>= 2.37.3) but 2.33.12+really2.32.4-5 is to be installed
    ...etc




    Not sure where to go from here.


    Thanks

  10. #10
    Join Date
    2015-Apr
    Location
    Paraguay
    Posts
    3
    Hi

    thanks It worked for me. The GPG signatures where out of date.
    Allthoug I mainly use Kali on a notebook. for testing purposes I have it also installed in a VM. Which I will need to update more frequently

  11. #11
    Join Date
    2015-May
    Posts
    1

    Post replay

    Quote Originally Posted by Protein Man View Post
    Thanks. I didn't realize that I needed to update the apt-keyring. Can I delete the Kali key from my GPG keyring? (not that it is taking up much space, just curious.) I'll read some more about apt package signatures.

    I'm updating now. Best regards, Jeff
    thank for tutorial

  12. #12
    Join Date
    2015-Jul
    Posts
    1
    Quote Originally Posted by byhankswang View Post
    Following one step will resolve your problem!
    apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
    The reason is that 7D8D0BF6 is the new public key of kali linux, yours is out of date. Please execute the above step and then run apt-get update, it will work.
    I have an older version of Kali i.e. 1.0.5. Is there some other method for that? I am facing the same issue and with the solution given here (apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6) I am seeing an error saying key server timed out.

  13. #13
    Join Date
    2015-Jan
    Location
    Worcester, MA, USA
    Posts
    3
    I'm having a very similar problem, but refreshing the key isn't fixing it:
    Code:
    $ sudo apt-get update
    Get:1 http://security.kali.org kali/updates Release.gpg [819 B]
    Hit http://http.kali.org kali Release.gpg                                            
    Get:2 http://security.kali.org kali/updates Release [11.0 kB]
    Hit http://http.kali.org kali Release                    
    Ign http://security.kali.org kali/updates Release        
    Ign http://security.kali.org kali/updates/main amd64 Packages/DiffIndex
    Ign http://security.kali.org kali/updates/contrib amd64 Packages/DiffIndex
    Ign http://security.kali.org kali/updates/non-free amd64 Packages/DiffIndex
    Hit http://http.kali.org kali/main Sources      
    Hit http://http.kali.org kali/non-free Sources                    
    Hit http://http.kali.org kali/contrib Sources                     
    Hit http://http.kali.org kali/main amd64 Packages                 
    Hit http://http.kali.org kali/non-free amd64 Packages             
    Hit http://http.kali.org kali/contrib amd64 Packages               
    Ign http://http.kali.org kali/contrib Translation-en_US            
    Ign http://http.kali.org kali/contrib Translation-en
    Ign http://http.kali.org kali/main Translation-en_US
    Hit http://security.kali.org kali/updates/main amd64 Packages
    Ign http://http.kali.org kali/main Translation-en                   
    Ign http://http.kali.org kali/non-free Translation-en_US            
    Ign http://http.kali.org kali/non-free Translation-en
    Hit http://security.kali.org kali/updates/contrib amd64 Packages
    Hit http://security.kali.org kali/updates/non-free amd64 Packages
    Ign http://security.kali.org kali/updates/contrib Translation-en_US
    Ign http://security.kali.org kali/updates/contrib Translation-en
    Ign http://security.kali.org kali/updates/main Translation-en_US
    Ign http://security.kali.org kali/updates/main Translation-en
    Ign http://security.kali.org kali/updates/non-free Translation-en_US
    Ign http://security.kali.org kali/updates/non-free Translation-en
    Fetched 11.8 kB in 4s (2,764 B/s)
    Reading package lists... Done
    W: GPG error: http://security.kali.org kali/updates Release: The following signatures were invalid: BADSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
    I noticed that other people in this thread got an expired key error, while I'm getting BADSIG, but I'd think re-getting the key would still fix it. I've been running Kali for months and run apt-get pretty regularly. I just started getting the error tonight. I also tried making sure my sources.list was identical to the one in the "Sticky: Troubleshooting - Repository Issues" thread:
    Code:
    $ cat /etc/apt/sources.list
    # 
    
    # deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20140108-18:08]/ kali contrib main non-free
    
    #deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20140108-18:08]/ kali contrib main non-free
    
    deb http://http.kali.org/kali kali main non-free contrib
    deb-src http://http.kali.org/kali kali main non-free contrib
    
    ## Security updates
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    Any ideas?

  14. #14
    Join Date
    2015-Jan
    Location
    Worcester, MA, USA
    Posts
    3
    I'm getting a BADSIG error instead of an expired key error:
    Code:
    W: GPG error: http://security.kali.org kali/updates Release: The following signatures were invalid: BADSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
    I've been doing regular updates with apt-get for months. This error just started tonight. Any ideas?

  15. #15
    I've had some related issues with apt-get update/upgrade and dist-upgrade they all say 0 new files , since I use the command last night and kali updated, but my reaver version is still 1.4, it should be 1.5.2, and when i try to manual install all the tools to get wifite-wps-pixie to work i get pcap error's E: not founds etc, it's very hard for me to understand since I'm a newbie.
    Any help I would appreciate.

  16. #16
    Join Date
    2015-Jul
    Posts
    1
    Hello all. I have a problem related to update issue. When I excecute command in terminal "apt-get update", at the bottom of the lines it finished with:
    "W: Conflicting distribution: http://security.kali.org kali/updates Release (expected kali but got moto).
    Any ideas how to get rid of this?
    Thanks to all in advanced!

  17. #17
    Join Date
    2015-Mar
    Posts
    3

    Hash Sum mismatch / BADSIG on trying to update

    I am also getting a similar error trying to update.

    Using:
    Release 1.1.0 (moto) 64-bit
    Kernel Linux 3.12-kali1-amd64

    My install gets regularly updated. Last update was ~2 weeks ago. Now I'm getting a problem with a bad signature.
    Previously it was a key expiration issue, but this time it seems like the hash doesn't match.

    It seems like other folks are having this issue also.

    BADSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>

    Tail of output from 2 attempts to
    Code:
    sudo apt-get update
    Code:
    Fetched 473 kB in 7s (61.3 kB/s)                                                                                                        
    W: Failed to fetch http://security.kali.org/kali-securi...amd64/Packages  Hash Sum mismatch
    
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    Code:
    Fetched 3,556 B in 6s (560 B/s)                                                                                                         
    Reading package lists... Done
    W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.kali.org kali/updates Release: The following signatures were invalid: BADSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
    
    W: Failed to fetch http://security.kali.org/kali-security/dists/kali/updates/Release  
    
    W: Some index files failed to download. They have been ignored, or old ones used instead.

  18. #18
    Join Date
    2015-Jul
    Location
    U.S.A
    Posts
    5
    Hello ppl, this is some good info. I have 1.0 kali version and trying to upgrade to 1.1 but????? I tried everything and it seems to have updated my keyring but when i try:

    apt-get dist-upgrade i get this error message and cant seem to fix the issue:

    The following packages have been kept back:

    libxml-libxml-perl

    and it wont let me upgrade kali... Please give a noob some advice..

    thanks

  19. #19
    Join Date
    2015-Aug
    Posts
    1

    apt-get update [ERROR]

    root@kali:~# apt-get update
    Ign http://security.kali.org moto/updates Release.gpg
    Ign http://security.kali.org moto/updates Release
    Ign http://security.kali.org moto/updates/main Sources/DiffIndex
    Ign http://security.kali.org moto/updates/contrib Sources/DiffIndex
    Ign http://security.kali.org moto/updates/non-free Sources/DiffIndex
    Ign http://http.kali.org moto Release.gpg
    Ign http://security.kali.org moto/updates/main amd64 Packages/DiffIndex
    Ign http://http.kali.org moto Release
    Ign http://security.kali.org moto/updates/contrib amd64 Packages/DiffIndex
    Ign http://http.kali.org moto/main Sources/DiffIndex
    Ign http://security.kali.org moto/updates/non-free amd64 Packages/DiffIndex
    Ign http://http.kali.org moto/non-free Sources/DiffIndex
    Ign http://http.kali.org moto/contrib Sources/DiffIndex
    Ign http://http.kali.org moto/main amd64 Packages/DiffIndex
    Ign http://http.kali.org moto/non-free amd64 Packages/DiffIndex
    Ign http://http.kali.org moto/contrib amd64 Packages/DiffIndex
    Ign http://security.kali.org moto/updates/contrib Translation-pt_BR
    Ign http://security.kali.org moto/updates/contrib Translation-pt
    Ign http://security.kali.org moto/updates/contrib Translation-en
    Ign http://security.kali.org moto/updates/main Translation-pt_BR
    Ign http://security.kali.org moto/updates/main Translation-pt
    Ign http://security.kali.org moto/updates/main Translation-en
    Ign http://security.kali.org moto/updates/non-free Translation-pt_BR
    Ign http://security.kali.org moto/updates/non-free Translation-pt
    Ign http://security.kali.org moto/updates/non-free Translation-en
    Err http://security.kali.org moto/updates/main Sources
    404 Not Found
    Err http://security.kali.org moto/updates/contrib Sources
    404 Not Found

    can someone help me?

  20. #20
    Join Date
    2015-Dec
    Posts
    1
    apt-get update
    Get:1 http://repo.kali.org kali-bleeding-edge Release.gpg [819 B]
    Hit http://repo.kali.org kali-bleeding-edge Release
    Ign http://repo.kali.org kali-bleeding-edge Release
    Ign http://repo.kali.org kali-bleeding-edge/main amd64 Packages/DiffIndex
    Get:2 http://http.kali.org kali-bleeding-edge Release.gpg [819 B]
    Hit http://http.kali.org kali-bleeding-edge Release
    Ign http://http.kali.org kali-bleeding-edge Release
    Ign http://http.kali.org kali-bleeding-edge/contrib amd64 Packages/DiffIndex
    Ign http://http.kali.org kali-bleeding-edge/non-free amd64 Packages/DiffIndex
    Ign http://http.kali.org kali-bleeding-edge/main amd64 Packages/DiffIndex
    Hit http://repo.kali.org kali-bleeding-edge/main amd64 Packages
    Ign http://repo.kali.org kali-bleeding-edge/main Translation-en_US
    Ign http://repo.kali.org kali-bleeding-edge/main Translation-en
    Hit http://http.kali.org kali-bleeding-edge/contrib amd64 Packages
    Hit http://http.kali.org kali-bleeding-edge/non-free amd64 Packages
    Ign http://http.kali.org kali-bleeding-edge/contrib Translation-en_US
    Hit http://http.kali.org kali-bleeding-edge/main amd64 Packages
    Ign http://http.kali.org kali-bleeding-edge/contrib Translation-en
    Ign http://http.kali.org kali-bleeding-edge/main Translation-en_US
    Ign http://http.kali.org kali-bleeding-edge/main Translation-en
    Ign http://http.kali.org kali-bleeding-edge/non-free Translation-en_US
    Ign http://http.kali.org kali-bleeding-edge/non-free Translation-en
    Fetched 1,638 B in 29s (55 B/s)
    Reading package lists... Done
    W: GPG error: http://repo.kali.org kali-bleeding-edge Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400
    W: GPG error: http://http.kali.org kali-bleeding-edge Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400

  21. #21
    Join Date
    2015-Sep
    Posts
    1
    Hi guys i am facing problem using apt-get update.
    My sources.list has
    ## Regular repositories
    deb http://http.kali.org/kali kali main non-free contrib
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    ## Source repositories
    deb-src http://http.kali.org/kali kali main non-free contrib
    deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
    And when i type apt-get update it results
    root@Cyber-Ninja:~# apt-get update
    Ign http://security.kali.org kali/updates InRelease
    Ign http://http.kali.org kali InRelease
    Ign http://security.kali.org kali/updates Release.gpg
    Ign http://http.kali.org kali Release.gpg
    Ign http://security.kali.org kali/updates Release
    Ign http://http.kali.org kali Release
    Err http://security.kali.org kali/updates/main Sources
    404 Not Found
    Err http://security.kali.org kali/updates/co Sources
    404 Not Found
    Err http://security.kali.org kali/updates/main amd64 Packages
    404 Not Found
    Err http://security.kali.org kali/updates/contrib amd64 Packages
    404 Not Found
    Err http://security.kali.org kali/updates/non-free amd64 Packages
    404 Not Found
    Err http://security.kali.org kali/updates/main i386 Packages
    404 Not Found
    Err http://http.kali.org kali/main Sources
    404 Not Found
    Err http://http.kali.org kali/non-free Sources
    404 Not Found
    Err http://security.kali.org kali/updates/contrib i386 Packages
    404 Not Found
    Err http://http.kali.org kali/contrib Sources
    404 Not Found
    Err http://security.kali.org kali/updates/non-free i386 Packages
    404 Not Found
    Err http://http.kali.org kali/main amd64 Packages
    404 Not Found
    Ign http://security.kali.org kali/updates/contrib Translation-en_US
    Err http://http.kali.org kali/non-free amd64 Packages
    404 Not Found
    Ign http://security.kali.org kali/updates/contrib Translation-en
    Err http://http.kali.org kali/contrib amd64 Packages
    404 Not Found
    Ign http://security.kali.org kali/updates/main Translation-en_US
    Err http://http.kali.org kali/main i386 Packages
    404 Not Found
    Ign http://security.kali.org kali/updates/main Translation-en
    Err http://http.kali.org kali/non-free i386 Packages
    404 Not Found
    Ign http://security.kali.org kali/updates/non-free Translation-en_US
    Err http://http.kali.org kali/contrib i386 Packages
    404 Not Found
    Ign http://security.kali.org kali/updates/non-free Translation-en
    Ign http://http.kali.org kali/contrib Translation-en_US
    Ign http://http.kali.org kali/contrib Translation-en
    Ign http://http.kali.org kali/main Translation-en_US
    Ign http://http.kali.org kali/main Translation-en
    Ign http://http.kali.org kali/non-free Translation-en_US
    Ign http://http.kali.org kali/non-free Translation-en
    W: Failed to fetch http://security.kali.org/kali-securi...source/Sources 404 Not Found

    W: Failed to fetch http://security.kali.org/kali-securi...source/Sources 404 Not Found

    W: Failed to fetch http://security.kali.org/kali-securi...amd64/Packages 404 Not Found

    W: Failed to fetch http://security.kali.org/kali-securi...amd64/Packages 404 Not Found

    W: Failed to fetch http://security.kali.org/kali-securi...amd64/Packages 404 Not Found

    W: Failed to fetch http://security.kali.org/kali-securi...-i386/Packages 404 Not Found

    W: Failed to fetch http://security.kali.org/kali-securi...-i386/Packages 404 Not Found

    W: Failed to fetch http://security.kali.org/kali-securi...-i386/Packages 404 Not Found

    W: Failed to fetch http://http.kali.org/kali/dists/kali...source/Sources 404 Not Found

    W: Failed to fetch http://http.kali.org/kali/dists/kali...source/Sources 404 Not Found

    W: Failed to fetch http://http.kali.org/kali/dists/kali...source/Sources 404 Not Found

    W: Failed to fetch http://http.kali.org/kali/dists/kali...amd64/Packages 404 Not Found

    W: Failed to fetch http://http.kali.org/kali/dists/kali...amd64/Packages 404 Not Found

    W: Failed to fetch http://http.kali.org/kali/dists/kali...amd64/Packages 404 Not Found

    W: Failed to fetch http://http.kali.org/kali/dists/kali...-i386/Packages 404 Not Found

    W: Failed to fetch http://http.kali.org/kali/dists/kali...-i386/Packages 404 Not Found

    W: Failed to fetch http://http.kali.org/kali/dists/kali...-i386/Packages 404 Not Found

    E: Some index files failed to download. They have been ignored, or old ones used instead.

    Can someone guide me how to clear it. Thanks.
    Details are Linux Cyber-Ninja 4.0.0-kali1-amd64 #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) x86_64 GNU/Linux

  22. #22
    Join Date
    2013-Mar
    Location
    milano
    Posts
    301
    if this can be a input for help:
    http://postimg.org/image/w71w1ci0x/full/

    ..&& i don't know if old repository are now supported...
    I'm a g0at

  23. #23
    without problem in the past 2 days. The machine
    I'm having trouble but The following packages have been good but all the other keys mentioned above no work

  24. #24
    Join Date
    2016-Feb
    Posts
    1
    please help me i want install software center
    root@khatez:~# apt-get update
    Ign http://download.virtualbox.org wheezy InRelease
    Get:1 http://repo.kali.org sana InRelease [20.3 kB]
    Ign http://download.virtualbox.org trusty InRelease
    Ign http://security.kali.org kali/updates InRelease
    Ign http://download.virtualbox.org wheezy Release.gpg
    Ign http://security.kali.org kali/updates InRelease
    Ign http://security.kali.org kali/updates Release.gpg
    Ign http://repo.kali.org kali InRelease
    Get:2 http://security.kali.org sana/updates InRelease [11.9 kB]
    Ign http://download.virtualbox.org trusty Release.gpg
    Ign http://security.kali.org kali/updates Release.gpg
    Get:3 http://repo.kali.org sana/main Sources [9,091 kB]
    Ign http://security.kali.org kali/updates Release
    Ign http://download.virtualbox.org wheezy Release
    Ign http://security.kali.org kali/updates Release
    Ign http://download.virtualbox.org trusty Release
    Get:4 http://security.kali.org sana/updates/main Sources [104 kB]
    Get:5 http://security.kali.org sana/updates/contrib Sources [20 B]
    Get:6 http://security.kali.org sana/updates/non-free Sources [20 B]
    Get:7 http://security.kali.org sana/updates/main i386 Packages [327 kB]
    Get:8 http://security.kali.org sana/updates/contrib i386 Packages [20 B]
    Get:9 http://security.kali.org sana/updates/non-free i386 Packages [20 B]
    Err http://download.virtualbox.org wheezy/contrib i386 Packages
    404 Not Found [IP: 125.160.18.79 80]
    Err http://download.virtualbox.org wheezy/contrib i686 Packages
    404 Not Found [IP: 125.160.18.79 80]
    Ign http://download.virtualbox.org wheezy/contrib Translation-en_US
    Ign http://download.virtualbox.org wheezy/contrib Translation-en
    Err http://download.virtualbox.org trusty/contrib i386 Packages
    404 Not Found [IP: 125.160.18.79 80]
    Err http://download.virtualbox.org trusty/contrib i686 Packages
    404 Not Found [IP: 125.160.18.79 80]
    Ign http://download.virtualbox.org trusty/contrib Translation-en_US
    Get:10 http://repo.kali.org sana/non-free Sources [122 kB]
    Ign http://download.virtualbox.org trusty/contrib Translation-en
    Get:11 http://repo.kali.org sana/contrib Sources [58.3 kB]
    Get:12 http://repo.kali.org sana/main i386 Packages [12.8 MB]
    Err http://security.kali.org kali/updates/main i386 Packages
    404 Not Found
    Err http://security.kali.org kali/updates/contrib i386 Packages
    Connection failed
    Err http://security.kali.org kali/updates/non-free i386 Packages
    404 Not Found
    Err http://security.kali.org kali/updates/main i686 Packages
    404 Not Found
    Err http://security.kali.org kali/updates/contrib i686 Packages
    404 Not Found
    Err http://security.kali.org kali/updates/non-free i686 Packages
    404 Not Found
    Ign http://security.kali.org kali/updates/contrib Translation-en_US
    Ign http://security.kali.org kali/updates/contrib Translation-en
    Ign http://security.kali.org kali/updates/main Translation-en_US
    Ign http://security.kali.org kali/updates/main Translation-en
    Ign http://security.kali.org kali/updates/non-free Translation-en_US
    Ign http://security.kali.org kali/updates/non-free Translation-en
    Err http://security.kali.org kali/updates/main Sources
    404 Not Found
    Err http://security.kali.org kali/updates/contrib Sources
    404 Not Found
    Err http://security.kali.org kali/updates/non-free Sources
    404 Not Found
    Get:13 http://repo.kali.org sana/non-free i386 Packages [153 kB]
    Get:14 http://repo.kali.org sana/contrib i386 Packages [86.5 kB]
    Ign http://repo.kali.org kali Release.gpg
    Ign http://repo.kali.org kali Release
    Err http://repo.kali.org kali/main i386 Packages
    404 Not Found
    Err http://repo.kali.org kali/non-free i386 Packages
    404 Not Found
    Err http://repo.kali.org kali/contrib i386 Packages
    404 Not Found
    Err http://repo.kali.org kali/main i686 Packages
    404 Not Found
    Err http://repo.kali.org kali/non-free i686 Packages
    404 Not Found
    Err http://repo.kali.org kali/contrib i686 Packages
    404 Not Found
    Ign http://repo.kali.org kali/contrib Translation-en_US
    Ign http://repo.kali.org kali/contrib Translation-en
    Ign http://repo.kali.org kali/main Translation-en_US
    Ign http://repo.kali.org kali/main Translation-en
    Ign http://repo.kali.org kali/non-free Translation-en_US
    Ign http://repo.kali.org kali/non-free Translation-en
    Fetched 22.8 MB in 9min 52s (38.4 kB/s)
    W: Failed to fetch http://security.kali.org/kali-securi...ates/InRelease Unable to find expected entry 'main/binary-i686/Packages' in Release file (Wrong sources.list entry or malformed file)

    W: Failed to fetch http://repo.kali.org/kali/dists/sana/InRelease Unable to find expected entry 'main/binary-i686/Packages' in Release file (Wrong sources.list entry or malformed file)

    W: Failed to fetch http://security.kali.org/kali-securi...-i386/Packages 404 Not Found

    W: Failed to fetch http://security.kali.org/kali-securi...-i386/Packages Connection failed

    W: Failed to fetch http://security.kali.org/kali-securi...-i386/Packages 404 Not Found

    W: Failed to fetch http://security.kali.org/kali-securi...-i686/Packages 404 Not Found

    W: Failed to fetch http://security.kali.org/kali-securi...-i686/Packages 404 Not Found

    W: Failed to fetch http://security.kali.org/kali-securi...-i686/Packages 404 Not Found

    W: Failed to fetch http://download.virtualbox.org/virtu...-i386/Packages 404 Not Found [IP: 125.160.18.79 80]

    W: Failed to fetch http://download.virtualbox.org/virtu...-i686/Packages 404 Not Found [IP: 125.160.18.79 80]

    W: Failed to fetch http://security.kali.org/dists/kali/...source/Sources 404 Not Found

    W: Failed to fetch http://security.kali.org/dists/kali/...source/Sources 404 Not Found

    W: Failed to fetch http://security.kali.org/dists/kali/...source/Sources 404 Not Found

    W: Failed to fetch http://download.virtualbox.org/virtu...-i386/Packages 404 Not Found [IP: 125.160.18.79 80]

    W: Failed to fetch http://download.virtualbox.org/virtu...-i686/Packages 404 Not Found [IP: 125.160.18.79 80]

    W: Failed to fetch http://repo.kali.org/kali/dists/kali...-i386/Packages 404 Not Found

    W: Failed to fetch http://repo.kali.org/kali/dists/kali...-i386/Packages 404 Not Found

    W: Failed to fetch http://repo.kali.org/kali/dists/kali...-i386/Packages 404 Not Found

    W: Failed to fetch http://repo.kali.org/kali/dists/kali...-i686/Packages 404 Not Found

    W: Failed to fetch http://repo.kali.org/kali/dists/kali...-i686/Packages 404 Not Found

    W: Failed to fetch http://repo.kali.org/kali/dists/kali...-i686/Packages 404 Not Found

    E: Some index files failed to download. They have been ignored, or old ones used instead.

  25. #25
    Join Date
    2016-Mar
    Posts
    1
    Err http://http.kali.org/kali/ kali-rolling/main fonts-lmodern all 2.004.5-2
    404 Not Found
    how i can fix this.its happend to many of upgrade line in terminal.i use this code:
    cat << EOF > /etc/apt/sources.list
    deb http://http.kali.org/kali kali-rolling main non-free contrib
    EOF

    apt-get update
    apt-get dist-upgrade # get a coffee, or 10.
    reboot
    pleas helpp.

  26. #26
    Join Date
    2016-Apr
    Posts
    1

    Apt-get update problem

    Could I get a quick answer?

    # apt-get update
    [...]
    Błąd:3 http://security.debian.org/debian-security kali-rolling/updates/main Sources
    404 Not Found [IP: 212.211.132.32 80]
    Błąd:4 http://security.debian.org/debian-security kali-rolling/updates/contrib Sources
    404 Not Found [IP: 212.211.132.32 80]
    Błąd:5 http://security.debian.org/debian-security kali-rolling/updates/non-free Sources
    404 Not Found [IP: 212.211.132.32 80]
    Błąd:6 http://security.debian.org/debian-security kali-rolling/updates/main amd64 Packages
    404 Not Found [IP: 212.211.132.32 80]
    Ign:7 http://security.debian.org/debian-security kali-rolling/updates/main all Packages
    Ign:8 http://security.debian.org/debian-security kali-rolling/updates/main Translation-pl_PL
    Ign:9 http://security.debian.org/debian-security kali-rolling/updates/main Translation-pl
    Ign:10 http://security.debian.org/debian-security kali-rolling/updates/main Translation-en
    Błąd:11 http://security.debian.org/debian-security kali-rolling/updates/contrib amd64 Packages
    404 Not Found [IP: 212.211.132.32 80]
    Ign:12 http://security.debian.org/debian-security kali-rolling/updates/contrib all Packages
    Ign:13 http://security.debian.org/debian-security kali-rolling/updates/contrib Translation-pl_PL
    Czytanie list pakietów... Gotowe
    W: The repository 'http://security.debian.org/debian-security kali-rolling/updates Release' does not have a Release file.
    N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    W: Failed to fetch http://security.debian.org/debian-se...source/Sources 404 Not Found [IP: 212.211.132.32 80]
    W: Failed to fetch http://security.debian.org/debian-se...source/Sources 404 Not Found [IP: 212.211.132.32 80]
    W: Failed to fetch http://security.debian.org/debian-se...source/Sources 404 Not Found [IP: 212.211.132.32 80]
    W: Failed to fetch http://security.debian.org/debian-se...amd64/Packages 404 Not Found [IP: 212.211.132.32 80]
    W: Failed to fetch http://security.debian.org/debian-se...amd64/Packages 404 Not Found [IP: 212.211.132.32 80]
    E: Nie udało się pobrać niektórych plików indeksu, zostały one zignorowane lub użyto ich starszej wersji.


    What could that be?

  27. #27
    Join Date
    2016-Oct
    Posts
    3
    Thanks man it worked.

  28. #28

    unable to update kali linux

    I was unable to update my kali linux. here is the error messages. i got . this is really frustratingCapture3.JPG. can someone hCapture2.jpgCapture.JPGelp me.

  29. #29
    Join Date
    2016-Dec
    Posts
    1
    If you are using sana version, try to change your /etc/apt/sources.list and the entry deb "http://http.kali.org/kali sana main non-free contrib" by deb "http://old.kali.org/kali sana main non-free contrib"

  30. #30
    Join Date
    2016-Dec
    Posts
    2
    Quote Originally Posted by byhankswang View Post
    Following one step will resolve your problem!
    apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
    The reason is that 7D8D0BF6 is the new public key of kali linux, yours is out of date. Please execute the above step and then run apt-get update, it will work.
    Great, this post helped me. Thanks a lot! Although this post is a year ago

  31. #31
    Just to share my issue:

    I'm unable to do "apt-get update" with error prompt of "invalid keys"

    Funny is i found the resolution on Kali twitter:


    @kalilinux
    If you don’t update Kali regularly (*cough*), then your archive-keyring package is outdated, and you’ll get key mismatches when working with our repositories. Sucks for you, but at least you can manually update the new key :

    wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add


    Hence, use may check on all apt keyrings expiration date by command: "apt-key list"
    in my case, gpung.net key was expired
    and update all expired keyrings with "wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add"

  32. #32
    Join Date
    2018-Feb
    Posts
    2
    Quote Originally Posted by zareef.aqmar View Post
    Just to share my issue:

    I'm unable to do "apt-get update" with error prompt of "invalid keys"

    Funny is i found the resolution on Kali twitter:


    @kalilinux
    If you don’t update Kali regularly (*cough*), then your archive-keyring package is outdated, and you’ll get key mismatches when working with our repositories. Sucks for you, but at least you can manually update the new key :

    wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add


    Hence, use may check on all apt keyrings expiration date by command: "apt-key list"
    in my case, gpung.net key was expired
    and update all expired keyrings with "wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add"
    Apparently, i noticed that one of the sources list's keys got expired last Feb 2 2018.
    I did what was mentioned here by following the instruction above.

    Then re-launced : apt-get update

    So far, so good...

  33. #33

    apt-get update (kali-linux)

    Quote Originally Posted by natv View Post
    This isn't working for me or I'm doing something wrong.

    These are my key related errors:

    Reading package lists... Done
    W: GPG error: http://http.kali.org kali Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400
    W: GPG error: http://security.kali.org kali/updates Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400




    # apt-key list
    /etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg
    ------------------------------------------------------------
    pub 4096R/473041FA 2010-08-27 [expires: 2018-03-05]
    uid Debian Archive Automatic Signing Key (6.0/squeeze) <[email protected]>

    /etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg
    ---------------------------------------------------------
    pub 4096R/B98321F9 2010-08-07 [expires: 2017-08-05]
    uid Squeeze Stable Release Key <[email protected]>

    /etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg
    -----------------------------------------------------------
    pub 4096R/46925553 2012-04-27 [expires: 2020-04-25]
    uid Debian Archive Automatic Signing Key (7.0/wheezy) <[email protected]>

    /etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg
    --------------------------------------------------------
    pub 4096R/65FFB764 2012-05-08 [expires: 2019-05-07]
    uid Wheezy Stable Release Key <[email protected]>

    /etc/apt/trusted.gpg.d//kali-archive-keyring.gpg
    ------------------------------------------------
    pub 4096R/7D8D0BF6 2012-03-05 [expired: 2015-03-05]
    uid Kali Linux Repository <[email protected]>





    I tried this:


    # apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 473041FA
    Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.0pPCV6QVXR --trustdb-name /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg --keyring /etc/apt/trusted.gpg.d//kali-archive-keyring.gpg --keyserver hkp://keys.gnupg.net --recv-keys 473041FA
    gpg: requesting key 473041FA from hkp server keys.gnupg.net
    gpg: key 473041FA: "Debian Archive Automatic Signing Key (6.0/squeeze) <[email protected]>" not changed
    gpg: Total number processed: 1
    gpg: unchanged: 1



    and then tried apt-get update , then I tried all the other keys mentioned above (B98321F9, 46925553, etc)



    I also tried:

    rm -rf /var/lib/apt/lists
    apt-get update



    at the 'apt-get update' it's failing again still:


    (gdbus call:4673): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
    **
    GLib-GIO:ERROR:/build/buildd-glib2.0_2.33.12+really2.32.4-5-i386-eISom6/glib2.0-2.33.12+really2.32.4/./gio/gdbusconnection.c:6764:get_uninitialized_connectio n: assertion failed: (ret != NULL)
    Aborted
    Reading package lists... Done
    W: GPG error: http://http.kali.org kali Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400
    W: GPG error: http://security.kali.org kali/updates Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400





    the apt-get install kali-archive-keyring part is failing with:


    # apt-get install kali-archive-keyring
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    glib-networking : Depends: libglib2.0-0 (>= 2.41.3) but 2.33.12+really2.32.4-5 is to be installed
    glib-networking-services : Depends: libglib2.0-0 (>= 2.41.3) but 2.33.12+really2.32.4-5 is to be installed
    gnome-themes-standard : Depends: libglib2.0-0 (>= 2.37.3) but 2.33.12+really2.32.4-5 is to be installed
    ...etc




    Not sure where to go from here.


    Thanks
    Well, try this one
    Goto /etc and find a file there "resolv.conf" if it is not present then create it by any text editor with same name and extension.
    Open this file ,make everything skipable (if something is already written there by placing # symbol infront of each line).
    Now write same as below
    (nameserver 8.8.8.8)
    Withoutout braces and save it.
    Now try to update again

  34. #34
    So, i recently installed kali linux 2018.1 and i am a total noob to kali so i started watching videos on youtube to learn kali and in the video the guy edit this sources.list file the is old so his version of kali is very old as well. But i continued to follow him he used the command nano sources.list to edit then add repositories from the kali website in his video he had to copy two different repositories found on the website whereas i only found the sources repositories i copied them and save the file after that now when i run apt-get update or apt-get upgrade i get an error var/lib/dkpg lock unable to process it this type of error whenever i restart my computer and use the command its run but when i run the command second time i get this error i researched on the internet and saw a guy had the same error so he opened sources.list remove all the lines that were written and copied the sources repository from the kali website and save it and his problem was solve i did this but my problem still remains the same please help me.......

  35. #35
    Join Date
    2018-Jun
    Posts
    1

    Cool Still works!

    Quote Originally Posted by e3DGwUhHo87AbiCV View Post
    you need to import your key into your apt-keyring. You can inspect the apt-keyring with »apt-key list«
    This should fix your issue:
    apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6

    Cheers, Ben
    By the way, it's June 2018, and this command allowed me to perform an upgrade after receiving the same errors indicated by other users.
    Thank you, Ben.

  36. #36
    Quote Originally Posted by zareef.aqmar View Post
    Just to share my issue:

    I'm unable to do "apt-get update" with error prompt of "invalid keys"

    Funny is i found the resolution on Kali twitter:


    @kalilinux
    If you don’t update Kali regularly (*cough*), then your archive-keyring package is outdated, and you’ll get key mismatches when working with our repositories. Sucks for you, but at least you can manually update the new key :

    wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add


    Hence, use may check on all apt keyrings expiration date by command: "apt-key list"
    in my case, gpung.net key was expired
    and update all expired keyrings with "wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add"
    Thanks Zareef .. this solved my issues

  37. #37
    Join Date
    2018-Apr
    Posts
    3
    Quote Originally Posted by e3DGwUhHo87AbiCV View Post
    you need to import your key into your apt-keyring. You can inspect the apt-keyring with »apt-key list«
    This should fix your issue:
    apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6

    Cheers, Ben
    Thanks for your note
    Keep Moving Forward

  38. #38
    Join Date
    2017-Jun
    Posts
    1
    Quote Originally Posted by byhankswang View Post
    Following one step will resolve your problem!
    apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
    The reason is that 7D8D0BF6 is the new public key of kali linux, yours is out of date. Please execute the above step and then run apt-get update, it will work.
    Thanks, this works for me too.

    root@kali:~# apt-get update
    Get:1 http://ftp.belnet.be/pub/kali/kali kali-rolling InRelease [30,5 kB]
    Err:1 http://ftp.belnet.be/pub/kali/kali kali-rolling InRelease
    The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
    Reading package lists... Done
    W: GPG error: http://ftp.belnet.be/pub/kali/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
    E: The repository 'http://http.kali.org/kali kali-rolling InRelease' is not signed.
    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.
    root@kali:~# apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
    Executing: /tmp/apt-key-gpghome.bRE23qtqXC/gpg.1.sh --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
    gpg: key ED444FF07D8D0BF6: 2 duplicate signatures removed
    gpg: key ED444FF07D8D0BF6: 147 signatures not checked due to missing keys
    gpg: key ED444FF07D8D0BF6: "Kali Linux Repository <[email protected]>" 150 new signatures
    gpg: Total number processed: 1
    gpg: new signatures: 150

    root@kali:~# apt-get update
    Get:1 http://ftp.belnet.be/pub/kali/kali kali-rolling InRelease [30,5 kB]
    Get:2 http://ftp.belnet.be/pub/kali/kali kali-rolling/main amd64 Packages [16,4 MB]
    Get:3 http://ftp.belnet.be/pub/kali/kali kali-rolling/non-free amd64 Packages [169 kB]
    Get:4 http://ftp.belnet.be/pub/kali/kali kali-rolling/contrib amd64 Packages [96,5 kB]
    Fetched 16,6 MB in 4s (4 565 kB/s)
    Reading package lists... Done
    root@kali:~#

Similar Threads

  1. Last update GUI problem
    By Chayim in forum General Archive
    Replies: 1
    Last Post: 2020-01-13, 19:00

Posting Permissions

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