GPG error getting started example

Hi,

I’m trying out the Quickstart guide:

https://developer-archives.toradex.com/getting-started/module-3-creating-my-own-container/writing-your-first-dockerfile?som=colibri-imx6&board=colibri-evaluation-board&os=torizon&desktop=linux

But I get the following error at Step 3:

docker build --pull -t /qs-torizon .

Get:1 Index of /debian bullseye InRelease [116 kB]
Get:2 Index of /debian bullseye-updates InRelease [39.4 kB]
Get:3 Index of /debian-security bullseye-security InRelease [44.1 kB]
Err:4 Index of /debian/snapshots/20220512T021145Z testing InRelease
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses not yet valid certificate. Could not handshake: Error in the certificate verification. [IP: 141.95.6.232 443]
Err:1 Index of /debian bullseye InRelease
The following signatures were invalid: EXPKEYSIG 648ACFD622F3D138 Debian Archive Automatic Signing Key (10/buster) ftpmaster@debian.org EXPKEYSIG 0E98404D386FA1D9 Debian Archive Automatic Signing Key (11/bullseye) ftpmaster@debian.org EXPKEYSIG 605C66F00D6C9793 Debian Stable Release Key (11/bullseye) debian-release@lists.debian.org
Err:2 Index of /debian bullseye-updates InRelease
The following signatures were invalid: EXPKEYSIG 648ACFD622F3D138 Debian Archive Automatic Signing Key (10/buster) ftpmaster@debian.org EXPKEYSIG 0E98404D386FA1D9 Debian Archive Automatic Signing Key (11/bullseye) ftpmaster@debian.org
Err:3 Index of /debian-security bullseye-security InRelease
The following signatures were invalid: EXPKEYSIG 112695A0E562B32A Debian Security Archive Automatic Signing Key (10/buster) ftpmaster@debian.org EXPKEYSIG 54404762BBB6E853 Debian Security Archive Automatic Signing Key (11/bullseye) ftpmaster@debian.org
Reading package lists…
W: GPG error: Index of /debian bullseye InRelease: The following signatures were invalid: EXPKEYSIG 648ACFD622F3D138 Debian Archive Automatic Signing Key (10/buster) ftpmaster@debian.org EXPKEYSIG 0E98404D386FA1D9 Debian Archive Automatic Signing Key (11/bullseye) ftpmaster@debian.org EXPKEYSIG 605C66F00D6C9793 Debian Stable Release Key (11/bullseye) debian-release@lists.debian.org
E: The repository ‘Index of /debian bullseye InRelease’ is not signed.
W: GPG error: Index of /debian bullseye-updates InRelease: The following signatures were invalid: EXPKEYSIG 648ACFD622F3D138 Debian Archive Automatic Signing Key (10/buster) ftpmaster@debian.org EXPKEYSIG 0E98404D386FA1D9 Debian Archive Automatic Signing Key (11/bullseye) ftpmaster@debian.org
E: The repository ‘Index of /debian bullseye-updates InRelease’ is not signed.
W: GPG error: Index of /debian-security bullseye-security InRelease: The following signatures were invalid: EXPKEYSIG 112695A0E562B32A Debian Security Archive Automatic Signing Key (10/buster) ftpmaster@debian.org EXPKEYSIG 54404762BBB6E853 Debian Security Archive Automatic Signing Key (11/bullseye) ftpmaster@debian.org
E: The repository ‘Index of /debian-security bullseye-security InRelease’ is not signed.

Any idea why?

Hello @sirhc ,
Your Docker Hub username is missing in the command :slight_smile:

For example :

docker build --pull -t YourUserName/qs-torizon

Best regards,
Josep