Updating package list...
Checking package list for python3-dev
Installing python3-dev...
E: Failed to fetch https://mirrors.switch.ca/raspbian/raspbian/pool/main/d/dh-python/dh-python_3.20190308_all.deb Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 209.115.181.106 443]
E: Failed to fetch https://mirrors.switch.ca/raspbian/raspbian/pool/main/p/python3-defaults/libpython3-dev_3.7.3-1_armhf.deb Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 209.115.181.106 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
ERROR: failed to install python3-dev
Please try manually
I don't think https://mirrors.switch.ca is a repository that is there by default. Presumably you have changed this on your OctoPi image?
On a fresh OctoPi 0.18 /etc/apt/sources.list looks like this:
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
Double check what yours has.
Other mirrors are an option, and can be faster than the raspberrypi.org one for wherever you are located in the world. But I wouldn't change it to something that doesn't work...
Thanks GordonTGopher and Charlie_Powell that fixed it.
Added “http://muug.ca/mirror/raspian/raspian buster main contrib non-free rpi” to the top of the /etc/apt/sources.list file via “sudo nano /etc/apt/sources.list”
I did have “Cache entry deserialization failed, entry ignored” come up twice under “installing build dependencies” and twice under “Updating pip”
It otherwise appears to have completed the migration.
The main webpage comes up without error.
I guess I’ll have to print something later to be sure.