apt upgrade keeps freezing

At this section:

Unpacking raspberrypi-bootloader (1.20200205-1) over (1.20200114-1) ...
Preparing to unpack .../17-libss2_1.44.5-1+deb10u3_armhf.deb ...
Unpacking libss2:armhf (1.44.5-1+deb10u3) over (1.44.5-1+deb10u2) ...
Preparing to unpack .../18-libtimedate-perl_2.3000-2+deb10u1_all.deb ...
Unpacking libtimedate-perl (2.3000-2+deb10u1) over (2.3000-2) ...
Preparing to unpack .../19-openssl_1.1.1d-0+deb10u2+rpt1_armhf.deb ...
Unpacking openssl (1.1.1d-0+deb10u2+rpt1) over (1.1.1d-0+deb10u2) ...
Preparing to unpack .../20-raspberrypi-kernel-headers_1.20200205-1_armhf.deb ...
Unpacking raspberrypi-kernel-headers (1.20200205-1) over (1.20200114-1) ...

Progress: [ 48%] [###########################...............................]

Any ideas why this could be happening?

Nvm, seems it works. It just took a long time, like a really, really long time. htop wasn’t showing any CPU activity but somehow it took over 30 minutes.

well this was a kernel upgrade. Depending on the device, it could take a while.