Orange Pi Plus 2 with Orange Pi Plus image. Several attempts, all with similar errors at the end. Most time the errors are related to failure to update the packages provided by Index of /debian/dists/jessie/main/binary-armhf. From time to time I’m getting also some hashsum mismatch errors.
It usually goes this way:
-
- Writhe the .img to the SD card.
- Writhe the .img to the SD card.
-
- First boot, everything goes fine, I’m seeing ‘DietPi has been updated to the latest version.’
- First boot, everything goes fine, I’m seeing ‘DietPi has been updated to the latest version.’
-
- Second boot, trying to finish with ‘Install’, getting ‘Apt-get simulation has failed.’
The error is:
E: Package 'bash-doc' has no installation candidate
The apt-get update errors are:
Err http://ftp.debian.org jessie/main armhf Packages
Err http://ftp.debian.org jessie/main armhf Packages
404 Not Found [IP: 130.89.148.12 80]
Fetched 12.0 MB in 20s (581 kB/s)
W: Failed to fetch http://ftp.debian.org/debian/dists/jessie/main/binary-armhf/Packages 404 Not Found [IP: 130.89.148.12 80]
W: Failed to fetch http://ftp.debian.org/debian/dists/jessie/non-free/binary-armhf/Packages Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
So I tried:
apt-get -o Debug::Acquire::http=true -o Debug::Hashs=true -o Debug::pkgAcquire::Auth=true update
This time it ended up with a bit more errors that can be found in the attached file.
I’m not very familiar with the apt-get update and I’m unable to debug the real cause here. From several runs I’ve spotted different issues each time, so I suspect that something is unstable and causing the errors. The SD Card was used for quite a long time on a Raspberry Pi without issues, so I suspect the OrangePi board itself. One time the gunzip and xz failed to decompress the Packages.gz/Packages.xz from Index of /debian/dists/jessie/main/binary-armhf. Other run usually ends up with different errors, but the one related to Index of /debian/dists/jessie/main/binary-armhf is always present. It is either hashsum mismatch or 404 not found.
I can help by providing ssh access to the OrangePi Plus2 with fresh install if this will be useful (we’ll have to use some 1:1 communication channel to share the details because I don’t want to let everybody in my home network). Or I can dump the SD card once the errors are hit and upload the image.
debug.log.gz (5.43 KB)