System update script

Most Debian based Linux users will just tell you It’s simple just type “sudo apt update | sudo apt upgrade” But at some point you’re going to want to clean up your package manager or do a full system update and what about FlatPak update?