#!/bin/bash

# ====== Cleanup ======
# Clean packages and install scripts in /var/cache/apt/archives/
sudo apt-get clean
# Removes orphaned packages which are no longer needed and purges
sudo apt autoremove --purge
#
# ====== Update-Upgrade ======
#
# update the stable software
sudo apt update
# perform full stable update/ upgrade
sudo apt full-upgrade
# perform testrepo full update
sudo apttestrep update
sudo apttestrepo upgrade