sudo apt-get update && sudo apt-get install terraform
implemented according to the docs: Install Terraform | Terraform - HashiCorp Learn fails with
E: The repository 'https://apt.releases.hashicorp.com uma Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Linux Mint 20 (Ubuntu 20.02 aka Ubuntu 20.04)
Hi @alexander-potemkin,
It looks like the problem here is that you have the distribution name âumaâ, which is not one of the supported distribution names in the HashiCorp APT repository.
You can refer to Supported Debian and Ubuntu Releases to see whatâs supported in this repository. As youâll see, thereâs no official support for Linux Mint, but as you noted Linux Mint is similar to Ubuntu, and so itâs possible that you could get a working result by using the Ubuntu release name thatâs closest to your Linux Mint release.
Since you said Linux Mint 20 is similar to Ubuntu 20.04, I think the closest distribution name to try would be focal, which youâd write instead of uma in the APT sources file where you have apt.releases.hashicorp.com currently configured.
With that said, I canât promise that these packages will work anywhere except the distribution they are intended for. If you try this and find other problems once you have the package installed then Iâd suggest using one of the other installation strategies that isnât distribution-specific, such as downloading and extracting the original .zip file that the APT and RPM packages are derived from.
1 Like
Hi @apparentlymart and thanks!
Could you please, assist me with the ubuntu commands, so that they would execute nicely on all ubuntu derivatives?
Hi @alexander-potemkin,
Iâm afraid I donât have any direct experience with using unsupported Linux distributions. My guess would be that you could just replace the $(lsb_release -cs) substitution with literally focal, because I think that command is whatâs inserting uma into your configuration right now, but youâd need to first go and remove the already-added incorrect entry from your APT sources, using whatever tool you normally use to manage your selected repositories.
1 Like
what about the following replacement:
alex@x280linux:~$ cat /etc/os-release
NAME="Linux Mint"
VERSION="20.2 (Uma)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 20.2"
VERSION_ID="20.2"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=uma
UBUNTU_CODENAME=focal
alex@x280linux:~$ cat /etc/os-release | grep UBUNTU_CODENAME | awk -F= '{print $2}'
focal
The following command shall produce âparentâ Ubuntu release on they âchildrenâ
cat /etc/os-release | grep UBUNTU_CODENAME | awk -F= '{print $2}'
I suppossed that you have solved this issue, but Itâs someone found this problem with Linux Mint after following the installation steps⌠changing /etc/apt/sources.list.d/additional-repositories.list the value uma to focal is enough to solve it.
1 Like