I am trying to install sbt on Ubuntu 16.04. I have mistakenly stopped the process when running the following command,
sudo apt-get install sbt
For Ubuntu 19.04 and Oracle JDK 11:
sudo rm /var/lib/dpkg/info/oracle-java11-installer-local.postinst -f sudo dpkg --configure oracle-java11-installer-local