Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5091

Troubleshooting • Re: pi zero 2 w won't upgrade

$
0
0
When I install the 64bit full distro, the Pi Zero2 hangs.

If I try a legacy 64bit full Distro it, also, refuses to complete an upgrade.
Only the 32bit full distro manages to update.

All of this is after a new flash with only wi-fi credentials edited in.

The green light does not flicker (as I would expect it to do when installing and upgrade); dpkg --configure -a also fails mid work.

I am quite confused: I've installed Raspberry OS since it was Raspi OS and I think the Pi 0 2 is running out of memory but I put in a brand new 64 GB card and have tried expanding it to use the whole card and it still locks up ~24% through the upgrade..

Any ideas what I need to do?
The Pi Zero 2 W has 512KB memory. The default allocation of swap space is 100MB which is not sufficient so the Pi enters "swap thrashing" mode and nothing gets done.

The solution is to increase the swap space by editing /etc/dphys-swapfile, change CONF_SWAPSIZE from 100 to 2048, save, and reboot.

Butch

Statistics: Posted by butchkemper — Sun Apr 28, 2024 12:38 am



Viewing all articles
Browse latest Browse all 5091

Trending Articles