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