SGear
Posts: 12
Joined: Wed Sep 06, 2017 12:11 am

Setup and updates not working

Fri Nov 23, 2018 8:18 pm

Hi
This morning I downloaded "RASPBIAN STRETCH WITH DESKTOP AND RECOMMENDED SOFTWARE" then wrote it to my card and tried to run it. I get on bootup and completion that it cant do update's something to do with week or bad signatures.

So I loaded up the terminal and issued apt-get update(as root) and retrieved the follow from the prompt via putty.

Pi 3 B in operation and a 256 card

Can you help sort it out? ;) Trying to follow this guide but its broken because of updates I think [urlhttps://thepi.io/how-to-set-up-a-raspberry-pi-plex-server/][/url]


pi@raspberrypi:~ $ sudo su
root@raspberrypi:/home/pi# apt-get update
Get:2 http://archive.raspberrypi.org/debian stretch InRelease [25.3 kB]
Get:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
Err:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
The following signatures were invalid: BADSIG 9165938D90FDDD2E Mike Thompson (Raspberry Pi Debian armhf ARMv6+VFP) <mpthompson@gmail.com>
Get:3 http://archive.raspberrypi.org/debian stretch/main armhf Packages [199 kB]
Err:3 http://archive.raspberrypi.org/debian stretch/main armhf Packages
Hash Sum mismatch
Hashes of expected file:
- Filesize:199303 [weak]
- SHA256:cb4626830bf43261d3761dd97a8e60f1f317126199921e607904401d0ea681e7
- SHA1:ed8bdb371189fba8dd49767891244e2c1fd2002a [weak]
- MD5Sum:0f440b457d1abc3b3af688e736cccc56 [weak]
Hashes of received file:
- SHA256:12d2c45453de9e04d19f578f9330d5b7ba4f030c3e020f41ea3648629619c675
- SHA1:a9c312ee2ab9c5e704827ab67af0e7bdadbb38ec [weak]
- MD5Sum:ad50dc92ada9f244676eafd2a18ab8e2 [weak]
- Filesize:199303 [weak]
Last modification reported: Thu, 22 Nov 2018 23:22:47 +0000
Release file created at: Thu, 22 Nov 2018 23:22:09 +0000
Get:4 http://archive.raspberrypi.org/debian stretch/ui armhf Packages [39.1 kB]
Err:4 http://archive.raspberrypi.org/debian stretch/ui armhf Packages

Fetched 279 kB in 1s (222 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://raspbian.raspberrypi.org/raspbian stretch InRelease: The following signatures were invalid: BADSIG 9165938D90FDDD2E Mike Thompson (Raspberry Pi Debian armhf ARMv6+VFP) <mpthompson@gmail.com>
W: Failed to fetch http://raspbian.raspberrypi.org/raspbia ... /InRelease The following signatures were invalid: BADSIG 9165938D90FDDD2E Mike Thompson (Raspberry Pi Debian armhf ARMv6+VFP) <mpthompson@gmail.com>
E: Failed to fetch http://archive.raspberrypi.org/debian/d ... ackages.gz Hash Sum mismatch
Hashes of expected file:
- Filesize:199303 [weak]
- SHA256:cb4626830bf43261d3761dd97a8e60f1f317126199921e607904401d0ea681e7
- SHA1:ed8bdb371189fba8dd49767891244e2c1fd2002a [weak]
- MD5Sum:0f440b457d1abc3b3af688e736cccc56 [weak]
Hashes of received file:
- SHA256:12d2c45453de9e04d19f578f9330d5b7ba4f030c3e020f41ea3648629619c675
- SHA1:a9c312ee2ab9c5e704827ab67af0e7bdadbb38ec [weak]
- MD5Sum:ad50dc92ada9f244676eafd2a18ab8e2 [weak]
- Filesize:199303 [weak]
Last modification reported: Thu, 22 Nov 2018 23:22:47 +0000
Release file created at: Thu, 22 Nov 2018 23:22:09 +0000
E: Failed to fetch http://archive.raspberrypi.org/debian/d ... ackages.gz
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@raspberrypi:/home/pi# sudo su
- Filesize:199303 [weak]
- SHA256:cb4626830bf43261d3761dd97a8e60f1f317126199921e607904401d0ea681e7
- SHA1:ed8bdb371189fba8dd49767891244e2c1fd2002a [weak]
- MD5Sum:0f440b457d1abc3b3af688e736cccc56 [weak]
Hashes of received file:
- SHA256:12d2c45453de9e04d19f578f9330d5b7ba4f030c3e020f41ea3648629619c675
- SHA1:a9c312ee2ab9c5e704827ab67af0e7bdadbb38ec [weak]
- MD5Sum:ad50dc92ada9f244676eafd2a18ab8e2 [weak]
- Filesize:199303 [weak]
Last modification reported: Thu, 22 Nov 2018 23:22:47 +0000
Release file created at: Thu, 22 Nov 2018 23:22:09 +0000
Get:4 http://archive.raspberrypi.org/debian stretch/ui armhf Packages [39.1 kB]
Err:4 http://archive.raspberrypi.org/debian stretch/ui armhf Packages

Fetched 279 kB in 1s (222 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://raspbian.raspberrypi.org/raspbian stretch InRelease: The following signatures were invalid: BADSIG 9165938D90FDDD2E Mike Thompson (Raspberry Pi Debian armhf ARMv6+VFP) <mpthompson@gmail.com>
W: Failed to fetch http://raspbian.raspberrypi.org/raspbia ... /InRelease The following signatures were invalid: BADSIG 9165938D90FDDD2E Mike Thompson (Raspberry Pi Debian armhf ARMv6+VFP) <mpthompson@gmail.com>
E: Failed to fetch http://archive.raspberrypi.org/debian/d ... ackages.gz Hash Sum mismatch
Hashes of expected file:
- Filesize:199303 [weak]
- SHA256:cb4626830bf43261d3761dd97a8e60f1f317126199921e607904401d0ea681e7
- SHA1:ed8bdb371189fba8dd49767891244e2c1fd2002a [weak]
- MD5Sum:0f440b457d1abc3b3af688e736cccc56 [weak]
Hashes of received file:
- SHA256:12d2c45453de9e04d19f578f9330d5b7ba4f030c3e020f41ea3648629619c675
- SHA1:a9c312ee2ab9c5e704827ab67af0e7bdadbb38ec [weak]
- MD5Sum:ad50dc92ada9f244676eafd2a18ab8e2 [weak]
- Filesize:199303 [weak]
Last modification reported: Thu, 22 Nov 2018 23:22:47 +0000
Release file created at: Thu, 22 Nov 2018 23:22:09 +0000
E: Failed to fetch http://archive.raspberrypi.org/debian/d ... ackages.gz
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@raspberrypi:/home/pi#
root@raspberrypi:/home/pi# root@raspberrypi:/home/pi# apt-get update
bash: root@raspberrypi:/home/pi#: No such file or directory
root@raspberrypi:/home/pi# Get:2 http://archive.raspberrypi.org/debian stretch InRelease [25.3 kB]
bash: Get:2: command not found
root@raspberrypi:/home/pi# Get:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
bash: Get:1: command not found
root@raspberrypi:/home/pi# Err:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
bash: Err:1: command not found
root@raspberrypi:/home/pi# The following signatures were invalid: BADSIG 9165938D90FDDD2E Mike Thompson (Raspberry Pi Debian armhf ARMv6+VFP) <mpthompson@gmail.com>
bash: syntax error near unexpected token `('
root@raspberrypi:/home/pi# Get:3 http://archive.raspberrypi.org/debian stretch/main armhf Packages [199 kB]
bash: Get:3: command not found
root@raspberrypi:/home/pi# Err:3 http://archive.raspberrypi.org/debian stretch/main armhf Packages
bash: Err:3: command not found
root@raspberrypi:/home/pi# Hash Sum mismatch
bash: Hash: command not found
root@raspberrypi:/home/pi# Hashes of expected file:
bash: Hashes: command not found
root@raspberrypi:/home/pi# - Filesize:199303 [weak]
bash: -: command not found
root@raspberrypi:/home/pi# - SHA256:cb4626830bf43261d3761dd97a8e60f1f317126199921e607904401d0ea681e7
bash: -: command not found
root@raspberrypi:/home/pi# - SHA1:ed8bdb371189fba8dd49767891244e2c1fd2002a [weak]
bash: -: command not found
root@raspberrypi:/home/pi# - MD5Sum:0f440b457d1abc3b3af688e736cccc56 [weak]
bash: -: command not found
root@raspberrypi:/home/pi# Hashes of received file:
bash: Hashes: command not found
root@raspberrypi:/home/pi# - SHA256:12d2c45453de9e04d19f578f9330d5b7ba4f030c3e020f41ea3648629619c675
bash: -: command not found
root@raspberrypi:/home/pi# - SHA1:a9c312ee2ab9c5e704827ab67af0e7bdadbb38ec [weak]
bash: -: command not found
root@raspberrypi:/home/pi# - MD5Sum:ad50dc92ada9f244676eafd2a18ab8e2 [weak]
bash: -: command not found
root@raspberrypi:/home/pi# - Filesize:199303 [weak]
bash: -: command not found
root@raspberrypi:/home/pi# Last modification reported: Thu, 22 Nov 2018 23:22:47 +0000
bash: Last: command not found
root@raspberrypi:/home/pi# Release file created at: Thu, 22 Nov 2018 23:22:09 +0000
bash: Release: command not found
root@raspberrypi:/home/pi# Get:4 http://archive.raspberrypi.org/debian stretch/ui armhf Packages [39.1 kB]
bash: Get:4: command not found
root@raspberrypi:/home/pi# Err:4 http://archive.raspberrypi.org/debian stretch/ui armhf Packages
bash: Err:4: command not found
root@raspberrypi:/home/pi#
root@raspberrypi:/home/pi# Fetched 279 kB in 1s (222 kB/s)
bash: syntax error near unexpected token `('
root@raspberrypi:/home/pi# Reading package lists... Done
bash: Reading: command not found
root@raspberrypi:/home/pi# W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://raspbian.raspberrypi.org/raspbian stretch InRelease: The following signatures were invalid: BADSIG 9165938D90FDDD2E Mike Thompson (Raspberry Pi Debian armhf ARMv6+VFP) <mpthompson@gmail.com>
bash: syntax error near unexpected token `('
root@raspberrypi:/home/pi# W: Failed to fetch http://raspbian.raspberrypi.org/raspbia ... /InRelease The following signatures were invalid: BADSIG 9165938D90FDDD2E Mike Thompson (Raspberry Pi Debian armhf ARMv6+VFP) <mpthompson@gmail.com>
bash: syntax error near unexpected token `('
root@raspberrypi:/home/pi# E: Failed to fetch http://archive.raspberrypi.org/debian/d ... ackages.gz Hash Sum mismatch
bash: E:: command not found
root@raspberrypi:/home/pi# Hashes of expected file:
bash: Hashes: command not found
root@raspberrypi:/home/pi# - Filesize:199303 [weak]
bash: -: command not found
root@raspberrypi:/home/pi# - SHA256:cb4626830bf43261d3761dd97a8e60f1f317126199921e607904401d0ea681e7
bash: -: command not found
root@raspberrypi:/home/pi# - SHA1:ed8bdb371189fba8dd49767891244e2c1fd2002a [weak]
bash: -: command not found
root@raspberrypi:/home/pi# - MD5Sum:0f440b457d1abc3b3af688e736cccc56 [weak]
bash: -: command not found
root@raspberrypi:/home/pi# Hashes of received file:
bash: Hashes: command not found
root@raspberrypi:/home/pi# - SHA256:12d2c45453de9e04d19f578f9330d5b7ba4f030c3e020f41ea3648629619c675
bash: -: command not found
root@raspberrypi:/home/pi# - SHA1:a9c312ee2ab9c5e704827ab67af0e7bdadbb38ec [weak]
bash: -: command not found
root@raspberrypi:/home/pi# - MD5Sum:ad50dc92ada9f244676eafd2a18ab8e2 [weak]
bash: -: command not found
root@raspberrypi:/home/pi# - Filesize:199303 [weak]
bash: -: command not found
root@raspberrypi:/home/pi# Last modification reported: Thu, 22 Nov 2018 23:22:47 +0000
bash: Last: command not found
root@raspberrypi:/home/pi# Release file created at: Thu, 22 Nov 2018 23:22:09 +0000
bash: Release: command not found
root@raspberrypi:/home/pi# E: Failed to fetch http://archive.raspberrypi.org/debian/d ... ackages.gz
bash: E:: command not found
root@raspberrypi:/home/pi# W: Some index files failed to download. They have been ignored, or old ones used instead.
bash: W:: command not found
root@raspberrypi:/home/pi# root@raspberrypi:/home/pi#

DirkS
Posts: 10371
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Setup and updates not working

Fri Nov 23, 2018 9:28 pm

Check if your card is damaged or a fake

If it's OK then check the checksum of the zipfile.
Write the image with Etcher.
Boot Pi with the card.

SGear
Posts: 12
Joined: Wed Sep 06, 2017 12:11 am

Re: Setup and updates not working

Fri Nov 23, 2018 10:46 pm

>>Check if your card is damaged or a fake

>>If it's OK then check the checksum of the zipfile.
>>Write the image with Etcher.
>>Boot Pi with the card.

Card looked ok so .
check summed the zipfile = ok
redid (etcher) the image to card.
Booted Pi = Same results.

Took a known good card out of my phone and,
redid (etcher) the image to new card.
Booted Pi = Same results(while I cant confirm the results are identical they look similar)

Hohumm

DirkS
Posts: 10371
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Setup and updates not working

Fri Nov 23, 2018 11:37 pm

SGear wrote:
Fri Nov 23, 2018 10:46 pm
Card looked ok so .
What is 'looked OK'?
Did you use a test program like h2testw (on Windows)?
See https://www.heise.de/download/product/h2testw-50539

SGear
Posts: 12
Joined: Wed Sep 06, 2017 12:11 am

Re: Setup and updates not working

Sat Nov 24, 2018 3:20 am

DirkS wrote:
Fri Nov 23, 2018 11:37 pm
What is 'looked OK'?
Did you use a test program like h2testw (on Windows)?
See https://www.heise.de/download/product/h2testw-50539
No, but I have now and no errors on the card.

SGear
Posts: 12
Joined: Wed Sep 06, 2017 12:11 am

Re: Setup and updates not working

Sat Nov 24, 2018 12:54 pm

Here's whats being shown at the end of the setup dialog.
https://www.dropbox.com/s/xv2ytjya28h8g ... m.png?dl=0

SGear
Posts: 12
Joined: Wed Sep 06, 2017 12:11 am

Re: Setup and updates not working

Sun Nov 25, 2018 12:58 pm

Seems a recuring problem between "The following signatures were invalid: BADSIG 9165938D90FDDD2E Mike Thompson (Raspberry Pi Debian armhf" and any project I do I have tried other flavors of OS for my Pi, even going to "DietPi :oops: " the same thing sounds as if they are corrupt :mrgreen: the armhf and certainly signatures of the files. Looked in the sources list to see If those could be removed but I do not think so.

DirkS
Posts: 10371
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Setup and updates not working

Sun Nov 25, 2018 1:44 pm

SGear wrote:
Sun Nov 25, 2018 12:58 pm
Seems a recuring problem between "The following signatures were invalid: BADSIG 9165938D90FDDD2E Mike Thompson (Raspberry Pi Debian armhf" and any project I do I have tried other flavors of OS for my Pi, even going to "DietPi :oops: " the same thing sounds as if they are corrupt :mrgreen: the armhf and certainly signatures of the files. Looked in the sources list to see If those could be removed but I do not think so.
That sig is for the Raspbian repo. I don't think you can get rid of these for any Raspbian related distro.

SGear
Posts: 12
Joined: Wed Sep 06, 2017 12:11 am

Re: Setup and updates not working

Sun Nov 25, 2018 2:19 pm

Went back to Raspbian 13-3-2018 from the old versions.
While not having the setup dialog, I did still have problems with the samish text about the drivers/armhf and using old versions.

They cant all be corrupt can they!!? Something wrong somewhere .

SGear
Posts: 12
Joined: Wed Sep 06, 2017 12:11 am

Re: Setup and updates not working

Sun Nov 25, 2018 10:11 pm

Even changed the mirror in sources and still nothing working.

Code: Select all

Get:1 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian stretch InRelease [15.0 kB]
Get:2 http://archive.raspberrypi.org/debian stretch InRelease [25.3 kB]
Get:3 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian stretch/main armhf Packages [11.7 MB]
Get:4 http://archive.raspberrypi.org/debian stretch/main armhf Packages [199 kB]
Err:4 http://archive.raspberrypi.org/debian stretch/main armhf Packages
  Hash Sum mismatch
  Hashes of expected file:
   - Filesize:199303 [weak]
   - SHA256:cb4626830bf43261d3761dd97a8e60f1f317126199921e607904401d0ea681e7
   - SHA1:ed8bdb371189fba8dd49767891244e2c1fd2002a [weak]
   - MD5Sum:0f440b457d1abc3b3af688e736cccc56 [weak]
  Hashes of received file:
   - SHA256:587d72956bc9ea13ead42e80d4cc766067263f375ec88251c1e4a894a448f486
   - SHA1:40d37b890f1211337a79803b2c71b552f4ed0bac [weak]
   - MD5Sum:26eb0d339d68009dba63f20ed0d0409e [weak]
   - Filesize:199303 [weak]
  Last modification reported: Thu, 22 Nov 2018 23:22:47 +0000
  Release file created at: Thu, 22 Nov 2018 23:22:09 +0000
Get:5 http://archive.raspberrypi.org/debian stretch/ui armhf Packages [39.1 kB]
Err:3 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian stretch/main armhf Packages
  Hash Sum mismatch
  Hashes of expected file:
   - Filesize:11660624 [weak]
   - SHA256:d6c3fe0f64a89bf2c5e810c5222fb7fc8eca8c89bd9ebef78545f271b2d836c1
   - SHA1:f0ef52de92af9d3c90b534ba2a719dcc531e9d6f [weak]
   - MD5Sum:a8322e3148d9c7ca9f233001e47f6afb [weak]
  Hashes of received file:
   - SHA256:359ed1ffff592d2e9bbe29a2dc88896e19a89cb6298ff22942604322a7d9b825
   - SHA1:c6a3cc8906c0763982ad26f4cab596f6eecaaf83 [weak]
   - MD5Sum:25764d9dc31c338047ad69b41908c785 [weak]
   - Filesize:11660624 [weak]
  Last modification reported: Sun, 25 Nov 2018 16:34:46 +0000
  Release file created at: Sun, 25 Nov 2018 16:37:55 +0000
Get:6 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian stretch/contrib armhf Packages [56.9 kB]
Err:6 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian stretch/contrib armhf Packages

Get:7 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian stretch/non-free armhf Packages [95.5 kB]
Err:7 http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian stretch/non-free armhf Packages

Fetched 12.1 MB in 16s (731 kB/s)
Reading package lists...
:evil:

Return to “Raspberry Pi OS”