Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

How to update sbt

Writer Andrew Mclaughlin

At the present time, you might get this on auto-update, because the recent sbt packages are not authenticated.

enter image description here

2 Answers

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 all main" | sudo tee /etc/apt/sources.list.d/sbt.list
echo "deb /" | sudo tee /etc/apt/sources.list.d/sbt_old.list
curl -sL "" | 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

1

I manually downloaded & installed the latest version deb file from , and disabled that source url in ubuntu updates, as I am not aware how to tell it to suffice with an unautheticated source on each auto-update, nor do I think that would be a very good idea. Indeed that package updates /usr/share/sbt-launcher-packaging/bin/ where my previous version of sbt resided.

Some people suggested circumventing the need by using an alternative runner: , haven't tried.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy