please install all available updates for your release code example
Example 1: Please install all available updates for your release before upgrading.
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt autoremove
sudo do-release-upgrade -d -f DistUpgradeViewGtk3
Example 2: please install all available updates for your release
waiting for unattended-upgr to exit