make sure your social accounts, such as facebook account or gmail account, can be verified from other devices
Upgrade System Packages
Make sure there is at least 166Mb of available spaces in boot directory
If the boot directory is still not enough during the upgrade, you can change the compression method from lz4 to xz through the initramfs.conf configuration file.
/etc/initramfs-tools/initramfs.conf
1
COMPRESS=xz
Download iso file & Upgrades
To avoid upgrade failure, you can also use the ventoy tool to reinstall the operating system. It is recommended to download the ISO file of the operating system
/root: recommended to use the same root directory for the upgrade.
perform the operating system upgrade in the same root directory, because keep the old directory there may be conflicts after the upgrade.
/boot: The autoremove command will remove packages that are no longer needed in an installed package. These packages are usually packages that were previously installed and are no longer needed.