Add more security to the Upgrade part
Quote: Ubuntuusers
I would have nothing against queries with such scripts, would simply omit -y. But it's opensource anyway, anyone can adapt it. I install something like VirtualBox manually to see the output related to kernel module building. They were missing earlier, because 7.0.10 did not run with kernel 6.4.10 without a patch. Fixed in the test/daily builds for sure. It was precisely because of potential problems that I decided against such scripts. If now a PPA has more current packages, they can be outdated in half a year and be available somewhere else in a more current version. I would have to check this every time before I run the script.
Source: https://forum.ubuntuusers.de/topic/fastinstaller-fuer-ubuntu-und-kubuntu/#post-9390917