> 1. Comment out DVD repository from /etc/apt/sources.list (add # before deb > cdrom:...). > 2. Try to # apt-get update > 3. Check if it work. If not, manualy download latest debian-archive-keyring > for stretch (from repository) and install it like > this: #dpkg -i /path/to/debian-archive-keyring.deb and try again to make > update.
I did this. Here is the full output in case I am missing something pertinent in my previous descriptions of the errors. debianuser@masterdebian964:~/Documents$ sudo dpkg -i debian-archive-keyring_2017.5_all.deb (Reading database ... 126483 files and directories currently installed.) Preparing to unpack debian-archive-keyring_2017.5_all.deb ... Unpacking debian-archive-keyring (2017.5) over (2017.5) ... Setting up debian-archive-keyring (2017.5) ... debianuser@masterdebian964:~/Documents$ sudo apt-get update Ign:1 http://deb.debian.org/debian stretch InRelease Ign:2 http://deb.debian.org/debian stretch/updates InRelease Get:3 http://deb.debian.org/debian stretch-updates InRelease [88.5 kB] Hit:4 http://deb.debian.org/debian stretch Release Ign:3 http://deb.debian.org/debian stretch-updates InRelease Ign:5 http://deb.debian.org/debian stretch/updates Release Get:6 http://deb.debian.org/debian stretch Release.gpg [3,108 B] Ign:6 http://deb.debian.org/debian stretch Release.gpg Ign:7 http://deb.debian.org/debian stretch/updates/main Sources Ign:8 http://deb.debian.org/debian stretch/updates/main amd64 Packages Ign:9 http://deb.debian.org/debian stretch/updates/main all Packages Ign:10 http://deb.debian.org/debian stretch/updates/main Translation-en_AU Ign:11 http://deb.debian.org/debian stretch/updates/main Translation-en Ign:12 http://deb.debian.org/debian stretch/updates/main amd64 DEP-11 Metadata Ign:13 http://deb.debian.org/debian stretch/updates/main all DEP-11 Metadata Ign:14 http://deb.debian.org/debian stretch/updates/main DEP-11 64x64 Icons Ign:7 http://deb.debian.org/debian stretch/updates/main Sources Ign:8 http://deb.debian.org/debian stretch/updates/main amd64 Packages Ign:9 http://deb.debian.org/debian stretch/updates/main all Packages Ign:10 http://deb.debian.org/debian stretch/updates/main Translation-en_AU Ign:11 http://deb.debian.org/debian stretch/updates/main Translation-en Ign:12 http://deb.debian.org/debian stretch/updates/main amd64 DEP-11 Metadata Ign:13 http://deb.debian.org/debian stretch/updates/main all DEP-11 Metadata Ign:14 http://deb.debian.org/debian stretch/updates/main DEP-11 64x64 Icons Ign:7 http://deb.debian.org/debian stretch/updates/main Sources Ign:8 http://deb.debian.org/debian stretch/updates/main amd64 Packages Ign:9 http://deb.debian.org/debian stretch/updates/main all Packages Ign:10 http://deb.debian.org/debian stretch/updates/main Translation-en_AU Ign:11 http://deb.debian.org/debian stretch/updates/main Translation-en Ign:12 http://deb.debian.org/debian stretch/updates/main amd64 DEP-11 Metadata Ign:13 http://deb.debian.org/debian stretch/updates/main all DEP-11 Metadata Ign:14 http://deb.debian.org/debian stretch/updates/main DEP-11 64x64 Icons Ign:7 http://deb.debian.org/debian stretch/updates/main Sources Ign:8 http://deb.debian.org/debian stretch/updates/main amd64 Packages Ign:9 http://deb.debian.org/debian stretch/updates/main all Packages Ign:10 http://deb.debian.org/debian stretch/updates/main Translation-en_AU Ign:11 http://deb.debian.org/debian stretch/updates/main Translation-en Ign:12 http://deb.debian.org/debian stretch/updates/main amd64 DEP-11 Metadata Ign:13 http://deb.debian.org/debian stretch/updates/main all DEP-11 Metadata Ign:14 http://deb.debian.org/debian stretch/updates/main DEP-11 64x64 Icons Ign:7 http://deb.debian.org/debian stretch/updates/main Sources Ign:8 http://deb.debian.org/debian stretch/updates/main amd64 Packages Ign:9 http://deb.debian.org/debian stretch/updates/main all Packages Ign:10 http://deb.debian.org/debian stretch/updates/main Translation-en_AU Ign:11 http://deb.debian.org/debian stretch/updates/main Translation-en Ign:12 http://deb.debian.org/debian stretch/updates/main amd64 DEP-11 Metadata Ign:13 http://deb.debian.org/debian stretch/updates/main all DEP-11 Metadata Ign:14 http://deb.debian.org/debian stretch/updates/main DEP-11 64x64 Icons Err:7 http://deb.debian.org/debian stretch/updates/main Sources 404 Not Found [IP: 52.85.41.44 80] Ign:8 http://deb.debian.org/debian stretch/updates/main amd64 Packages Ign:9 http://deb.debian.org/debian stretch/updates/main all Packages Ign:10 http://deb.debian.org/debian stretch/updates/main Translation-en_AU Ign:11 http://deb.debian.org/debian stretch/updates/main Translation-en Ign:12 http://deb.debian.org/debian stretch/updates/main amd64 DEP-11 Metadata Ign:13 http://deb.debian.org/debian stretch/updates/main all DEP-11 Metadata Ign:14 http://deb.debian.org/debian stretch/updates/main DEP-11 64x64 Icons Fetched 91.6 kB in 33s (2,733 B/s) Reading package lists... Done W: GPG error: http://deb.debian.org/debian stretch-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 W: The repository 'http://deb.debian.org/debian stretch-updates InRelease' is not signed. 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: The repository 'http://deb.debian.org/debian stretch/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: GPG error: http://deb.debian.org/debian stretch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY CBF8D6FD518E17E1 NO_PUBKEY EF0F382A1A7B6500 W: The repository 'http://deb.debian.org/debian stretch Release' is not signed. 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. E: Failed to fetch http://deb.debian.org/debian/dists/stretch/updates/main/source/Sources 404 Not Found [IP: 52.85.41.44 80] E: Some index files failed to download. They have been ignored, or old ones used instead.