Skip running multiple commands to update packages on Ubuntu with TopGrade, a CLI tool which upgrades everything, from apt to pip, with a single command.
I look at using Nala on Ubuntu. Nala is a great alternative to Ubuntu's default package manager. It's faster, nice to look at, and more featured than APT.