How to update sbt
At the present time, you might get this on auto-update, because the recent sbt packages are not authenticated.
Solution 1:
To install the latest version of the sbt .deb package open the terminal and type:
sudo apt update
sudo apt install apt-transport-https curl gnupg -yqq
echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | sudo tee /etc/apt/sources.list.d/sbt.list
echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | sudo tee /etc/apt/sources.list.d/sbt_old.list
curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo -H gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/scalasbt-release.gpg --import
sudo chmod 644 /etc/apt/trusted.gpg.d/scalasbt-release.gpg
sudo apt update
sudo apt install sbt
Once sbt is installed, you’ll be able to manage/update the package after you updated its package cache. You should also be able to see the added repository at the bottom of the list in Software & Updates -> Other Software.
Reference:
• sbt Reference Manual - Installing sbt on Linux