Trying to update and update / install / package everything, what should I do?

root@Hammer:/home/millertime# sudo apt-get-dist-upgrade
sudo: apt-get-dist-upgrade: command not found
root@Hammer:/home/millertime# apt-get clean
root@Hammer:/home/millertime# sudo apt-get clean
root@Hammer:/home/millertime# sudo apt-gert dist-upgrade
sudo: apt-gert: command not found
root@Hammer:/home/millertime# sudo dpkg --configure -a
Setting up tzdata (2019c-0ubuntu0.18.04) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package tzdata (--configure):
 installed tzdata package post-installation script subprocess returned error exit status 1
Setting up gdm3 (3.28.3-0ubuntu18.04.4) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package gdm3 (--configure):
 installed gdm3 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of python3-dateutil:
 python3-dateutil depends on tzdata; however:
  Package tzdata is not configured yet.

dpkg: error processing package python3-dateutil (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of software-properties-gtk:
 software-properties-gtk depends on python3-dateutil; however:
  Package python3-dateutil is not configured yet.

dpkg: error processing package software-properties-gtk (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 tzdata
 gdm3
 python3-dateutil
 software-properties-gtk