I have mullvad vpn and use it for some time, but anytime there is update, i can’t do it with terminal, and i need to remove it and install again. I bet i can’t figure out adding few lanes in /etc/apt/sources.list
So i did sudo curl…
but i do not unserstand how to add mullvad rep server to apt?
I am still baby linux user, and I kinda understand that this is something i should learn in future (Heard about Debian’s codecs) so please would really be nice if someone of you could explain to me.
I am on Linux Mint 21.3 XFCE.
anyway installation guide says this;
# Download the Mullvad signing key
sudo curl -fsSLo /usr/share/keyrings/mullvad-keyring.asc https://repository.mullvad.net/deb/mullvad-keyring.asc
# Add the Mullvad repository server to apt
echo "deb [signed-by=/usr/share/keyrings/mullvad-keyring.asc arch=$( dpkg --print-architecture )] https://repository.mullvad.net/deb/stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/mullvad.list
# Install the package
sudo apt update
sudo apt install mullvad-vpn# Download the Mullvad signing key
sudo curl -fsSLo /usr/share/keyrings/mullvad-keyring.asc https://repository.mullvad.net/deb/mullvad-keyring.asc
# Add the Mullvad repository server to apt
echo "deb [signed-by=/usr/share/keyrings/mullvad-keyring.asc arch=$( dpkg --print-architecture )] https://repository.mullvad.net/deb/stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/mullvad.list
# Install the package
sudo apt update
sudo apt install mullvad-vpn
Mullvad doesn’t have instructions for Mint and as you found Ubuntu’s instructions don’t work for Mint because of the lsb_release -cs
thing.
In /etc/apt/sources.list.d/mullvad.list change virginia
to bookworm
and it should work.
Good luck -
This is a offtopic, but I think it’s better to use Wireguard. It’s easier to install and you just need a config file from Mullvad.
I know this doesn’t solve your problem but mullvad generates wireguard configs, so if you want to you, your DE/NM probably supports it and you can bypass the mullvad app entirely
I think it’s a Debian issue in general. I have to update it manually as well on plain old Debian.
The error is on their side. The repository is missing one of the metadata files that are part of the package system. Your only option is to contact them and report the error.
p.s.
even after i type in terminal step by step after sudo apt update i get:
i just want to be able to update it 
Ign:9 https://repository.mullvad.net/deb/stable virginia InRelease
Err:10 https://repository.mullvad.net/deb/stable virginia Release
404 Not Found [IP: 45.149.104.1 443]
Reading package lists... Done
E:
The repository 'https://repository.mullvad.net/deb/stable virginia 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.
Ign:9 https://repository.mullvad.net/deb/stable virginia InRelease
Err:10 https://repository.mullvad.net/deb/stable virginia Release
404 Not Found [IP: 45.149.104.1 443]
Reading package lists... Done
E: The repository 'https://repository.mullvad.net/deb/stable virginia 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.
well check comment i kinda found solution [will know when there is new update]
I have to update it manually as well on plain old Debian.
I have the repo working just fine on Sid.
The problem is the command line Mullvad provides only works for bullseye and bookworm if you’re using Debian. Mullvad’s repo doesn’t like sid or trixie any more than it likes OP’s virginia but changing that to bookworm made the repo work. This works, assuming the key is where it needs to be -
deb [signed-by=/usr/share/keyrings/mullvad-keyring.asc arch=amd64] https://repository.mullvad.net/deb/stable bookworm main
does not have a Release file
This message means that the version of the distribution you are using is not supported.
An update is therefore prevented, as this could otherwise cause major problems. If you want to take the risk (which I would not recommend), you can find a solution at apt-secure(8) — apt — Debian testing — Debian Manpages as indicated in the message.
Alternatively, you should also be able to use Mullvad without the graphical client (Mullvad - ArchWiki).
Hi, on the website of Mullvad VPN, you can find some valuable hints: https://mullvad.net/en/help/install-mullvad-app-linux
Especially this part:
Our repository is not set up for Linux Mint and other unsupported distributions. Try the manual instructions instead.
And further down on the site, there’s a hint about an error message that reads exactly like the one you get.
I have used Linux Mint for a while, too, and I ended up simply uninstalling and installing.