Package Details: mullvad-vpn-cli 2025.14-1

Git Clone URL: https://aur.archlinux.org/mullvad-vpn-cli.git (read-only, click to copy)
Package Base: mullvad-vpn-cli
Description: The Mullvad VPN CLI client
Upstream URL: https://www.mullvad.net
Licenses: GPL-3.0-or-later
Conflicts: mullvad-vpn
Provides: mullvad-vpn
Submitter: t1m0
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 20
Popularity: 0.000641
First Submitted: 2020-02-07 18:37 (UTC)
Last Updated: 2025-12-09 20:00 (UTC)

Pinned Comments

yochananmarqos commented on 2021-12-01 23:30 (UTC) (edited on 2021-12-01 23:32 (UTC) by yochananmarqos)

--> ALWAYS DO A CLEAN BUILD <--

This package will verify the signature of the git tag / commit. Developer keys are available here and instructions are here. See the PKGBUILD to determine which developer key you need.

Latest Comments

1 2 3 4 5 Next › Last »

almet commented on 2025-10-28 11:05 (UTC)

Thanks, it seems that my rustup wasn't up-to-date, and the update was blocked due to some component not available from the toolchain:

error: component 'rls-preview' for target 'x86_64-unknown-linux-gnu' is unavailable for download for channel 'stable'

Had to do the following to update it properly:

rustup component remove --toolchain stable rls-preview
rustup update stable

yochananmarqos commented on 2025-10-27 14:00 (UTC)

@almet: The current stable toolchain is 1.90.0.

almet commented on 2025-10-27 13:40 (UTC) (edited on 2025-10-28 11:06 (UTC) by almet)

[EDIT: rustup wasn't up to date, see my other comment]

I've had to change the version of rust that was picked by rustup to make this work, as some dependencies require rustc > 1.88.0 (and stable is less than that).

Here are the commands I've run to make this work:

# Download the PKGBUILD
yay -G mullvad-vpn-cli && cd mullvad-vpn-cli

# Edit it, with the patch provided
# Install it
makepkg -si

Here's the patch, I started by specifying version "1.88.0-x86_64-unknown-linux-gnu", but using "beta" here might help in the future.

diff --git a/PKGBUILD b/PKGBUILD
index 72ce2f9..a66a506 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -47,14 +47,14 @@ prepare() {
   # Create shell-completions output directory
   mkdir -p build/shell-completions

-  export RUSTUP_TOOLCHAIN=stable
+  export RUSTUP_TOOLCHAIN=beta
   cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
 }

 build() {
   cd mullvadvpn-app
   CFLAGS+=" -ffat-lto-objects"
-  export RUSTUP_TOOLCHAIN=stable
+  export RUSTUP_TOOLCHAIN=beta
   export CARGO_TARGET_DIR=target
   local RUSTC_VERSION=$(rustc --version)
   local PRODUCT_VERSION=$(cargo run -q --bin mullvad-version)

omidmash commented on 2025-09-19 17:23 (UTC)

@yochananmarqos ignore my last comment, I thought I was on the latest version of rustup.

yochananmarqos commented on 2025-09-16 01:21 (UTC)

@omidmash: If you're going to use rustup, you'll need to make sure you're toolchain is up to date. Hint: It's not.

tuurep commented on 2025-08-15 02:17 (UTC)

Right, thank you

yochananmarqos commented on 2025-08-15 02:07 (UTC)

@tuurep: I've disabled verifying the tag for now until David Lönnhager's key is sorted.

tuurep commented on 2025-08-15 02:01 (UTC)

Hi, I have this problem today:

==> Verifying source file signatures with gpg...
    mullvadvpn-app git repo ... FAILED (invalid public key 7ED98188F8F9AFF15D49E41BEB8D8AD83E8DA7BC)
==> ERROR: One or more PGP signatures could not be verified!
 -> error making: mullvad-vpn-cli-exit status 1
 -> Failed to install the following packages. Manual intervention is required:
mullvad-vpn-cli - exit status 1

I tried a bunch of stuff from the pinned comment & links, but had no luck. Is this a me error or a PKGBUILD error?

yochananmarqos commented on 2024-09-21 00:29 (UTC)

@Porous3247: Thanks. This package is a little harder to maintain as quite a few things have to be done manually that don't in the other packages that include the GUI.