#!/bin/bash

for i in update upgrade dist-upgrade full-upgrade autoremove; do
        repeat(){ for j in {1..25}; do echo -n "#"; done }
        repeat; echo -e "\n\nexecuting command: apt -y ${i}\n"; repeat; echo
        apt -y ${i}
done