A couple of months ago, Debian bookworm became stable and I decided to upgrade my Orange Pi Zero. I wanted to re-install the system with the smallest amount of physical access and that made the whole process tiresome and longer.
The new system did not work well. It often crashed, and I continuously had to reset the system by power cycling it. As stated in my previous article, physical access to that system is not easy, which made the problem even less bearable.
After one of the crashes, I managed to get some logs, and I saw they mentioned a “kernel bug”. However, I believe high temperatures were to blame, as July was very hot here. Anyway, I had a little hope that installing a more recent kernel could solve my problem, so I tried to run
apt upgrade, which gave me this output:
Preparing to unpack .../base-files_12.4+deb12u1_armhf.deb ... Unpacking base-files (12.4+deb12u1) over (12.4) ... dpkg: error processing archive /var/cache/apt/archives/base-files_12.4+deb12u1_armhf.deb (--unpack): unable to stat '.' (which was about to be installed): Value too large for defined data type Errors were encountered while processing: /var/cache/apt/archives/base-files_12.4+deb12u1_armhf.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
I do not have a minimal clue about what this means. It might be related to the Orange Pi being 32-bit and me having created its system from a 64-bit system. But the error is so generic that I struggled to find its cause. … [Leggi il resto]