'apt-get update' error

A friend is trying to 'apt-get update' his BBB running wheezy:-

    root@beaglebone:~# apt-get update
    Get:1 http://security.debian.org wheezy/updates Release.gpg [1554 B]
    Get:2 http://security.debian.org wheezy/updates Release [39.0 kB]
    Get:3 http://ftp.us.debian.org wheezy Release.gpg [2373 B]
    Get:4 http://debian.beagleboard.org wheezy-bbb Release.gpg [490 B]
    Get:5 http://ftp.us.debian.org wheezy-updates Release.gpg [1554 B]
    Get:6 http://debian.beagleboard.org wheezy-bbb Release [3403 B]
    W: There is no public key available for the following key IDs:
    9D6D8F6BC857C906
    E: Release file for
    http://security.debian.org/dists/wheezy/updates/Release is expired
    (invalid since 1086d 21h 50min 48s). Updates for this repository will
    not be applied.
    root@beaglebone:~#

So, what should he do?

You did not say which version of wheezy (Debian 7) he is running.
The last stable release of Debian 7 was 2015.
Maybe he should consider upgrading to Debian 8. (jessie)
Debian 8.7 is the most recent stable release.

— Graham

what’s the date on the board?

The 9D6D8F6BC857C906 key expired a few years back, we've since moved
to a repo that has a key with no expiration:

It's a 2 step process to fix and update it:

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#W:_GPG_error:_http:.2F.2Fdebian.beagleboard.org_wheezy-bbb

Regards,

How much longer with Wheezy support I wonder. My x86 support system for my beaglebones here has already stopped upgrading. Not a single security update either.

Which when security updates stop happening thats really what queue’s me to move on . . .

The Debian LTS team is taking care of it now:

https://wiki.debian.org/LTS

Debian 7 “Wheezy”, i386, amd64, armel and armhf, from 26th April 2016
to 31st May 2018

Regards,

Actually for x86 Stretch RCx isn’t looking too bad. I mean I happened across a few videos on youtube showing off the new XFCE desktop, and it looks pretty good. But thats looks. People are saying it’s pretty stable for a testing branch though.