Package Details: mullvad-vpn 2024.7-1

Git Clone URL: https://aur.archlinux.org/mullvad-vpn.git (read-only, click to copy)
Package Base: mullvad-vpn
Description: The Mullvad VPN client app for desktop
Upstream URL: https://www.mullvad.net
Licenses: GPL-3.0-or-later
Submitter: gin078
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 137
Popularity: 2.73
First Submitted: 2018-10-24 17:33 (UTC)
Last Updated: 2024-10-30 16:32 (UTC)

Pinned Comments

yochananmarqos commented on 2022-11-11 19:31 (UTC) (edited on 2022-11-13 19:21 (UTC) by yochananmarqos)

PSA: Upstream does not support building natively for ARM64, only cross-compiling. You can use mullvad-vpn-bin instead.

yochananmarqos commented on 2019-12-07 17:44 (UTC) (edited on 2024-06-06 22:09 (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.

Please do not create upstream issues about the AUR package, they do not support it.

Latest Comments

« First ‹ Previous 1 .. 14 15 16 17 18 19 20 21 22 23 24 .. 45 Next › Last »

andykluger commented on 2021-04-19 01:11 (UTC)

@hubro

So try a newer nodejs like erbium or whatever

Hubro commented on 2021-04-18 23:48 (UTC)

@andykluger

Yep, still happens after clearing ~/.npm. I've tried installing this package with paru, still same error. I haven't tried installing it completely manually yet.

Which nodejs-providing package do you have installed?

$ pacman -Q | grep -i node
node-gyp 7.1.2-1
nodejs-lts-dubnium 10.24.0-1
perl-tree-dag-node 1.31-2

I noticed node-gyp is installed as a system package, so I tried to delete it. Turns out it's a required dependency of npm:

$ pacman -R node-gyp
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing node-gyp breaks dependency 'node-gyp' required by npm

AlexWayfer commented on 2021-04-18 08:57 (UTC)

I tried 3 times, with clean build:

~/.cache/yay/mullvad-vpn/src/mullvadvpn-app/gui ~/.cache/yay/mullvad-vpn/src/mullvadvpn-app
Installing JavaScript dependencies...
npm ERR! code 1
npm ERR! path /home/alex/.cache/yay/mullvad-vpn/src/mullvadvpn-app/gui/node_modules/grpc-tools
npm ERR! command failed
npm ERR! command sh -c node-pre-gyp install
npm ERR! socket hang up
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using node-pre-gyp@0.15.0
npm ERR! node-pre-gyp info using node@15.14.0 | linux | x64
npm ERR! node-pre-gyp WARN Using needle for node-pre-gyp https download 
npm ERR! node-pre-gyp info check checked for "/home/alex/.cache/yay/mullvad-vpn/src/mullvadvpn-app/gui/node_modules/grpc-tools/bin/grpc_tools.node" (not found)
npm ERR! node-pre-gyp http GET https://node-precompiled-binaries.grpc.io/grpc-tools/v1.9.1/linux-x64.tar.gz
npm ERR! node-pre-gyp ERR! install error 
npm ERR! node-pre-gyp ERR! stack Error: socket hang up
npm ERR! node-pre-gyp ERR! stack     at connResetException (node:internal/errors:642:14)
npm ERR! node-pre-gyp ERR! stack     at TLSSocket.socketCloseListener (node:_http_client:445:25)
npm ERR! node-pre-gyp ERR! stack     at TLSSocket.emit (node:events:381:22)
npm ERR! node-pre-gyp ERR! stack     at node:net:666:12
npm ERR! node-pre-gyp ERR! stack     at TCP.done (node:_tls_wrap:577:7)
npm ERR! node-pre-gyp ERR! System Linux 5.11.14-arch1-1
npm ERR! node-pre-gyp ERR! command "/usr/bin/node" "/home/alex/.cache/yay/mullvad-vpn/src/mullvadvpn-app/gui/node_modules/grpc-tools/node_modules/.bin/node-pre-gyp" "install"
npm ERR! node-pre-gyp ERR! cwd /home/alex/.cache/yay/mullvad-vpn/src/mullvadvpn-app/gui/node_modules/grpc-tools
npm ERR! node-pre-gyp ERR! node -v v15.14.0
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.15.0
npm ERR! node-pre-gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/alex/.cache/yay/mullvad-vpn/src/npm-cache/_logs/2021-04-18T08_56_15_597Z-debug.log
==> ERROR: A failure occurred in build().
    Aborting...
error making: mullvad-vpn

Goatroth commented on 2021-04-16 04:02 (UTC) (edited on 2021-04-16 04:08 (UTC) by Goatroth)

I get this error when trying to build in a VM, doesn't matter which VM hypervisor I use:

[23:00:54] 'builder-linux' errored after 12 s
[23:00:54] Error: /home/goatroth/git/mullvad-vpn/src/mullvadvpn-app/gui/node_modules/app-builder-bin/linux/x64/app-builder exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
    at ChildProcess.<anonymous> (/home/goatroth/git/mullvad-vpn/src/mullvadvpn-app/gui/node_modules/builder-util/src/util.ts:243:14)
    at Object.onceWrapper (node:events:476:26)
    at ChildProcess.emit (node:events:369:20)
    at ChildProcess.emit (node:domain:532:15)
    at maybeClose (node:internal/child_process:1067:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
    at Process.callbackTrampoline (node:internal/async_hooks:132:14)
[23:00:54] 'pack-linux' errored after 33 s
==> ERROR: A failure occurred in build().
    Aborting...

andykluger commented on 2021-04-15 19:18 (UTC)

@Hubro

Have you tried clearing your ~/.npm junk?

Which nodejs-providing package do you have installed?

Do you have the same problem when installing the normal way, without yay?

yochananmarqos commented on 2021-04-14 15:16 (UTC)

@beckab: Ah, good point. I'll just drop them.

pkap commented on 2021-04-14 15:05 (UTC)

@yochananmarqos It seems neither networkmanager nor resolvconf are necessary as dependencies. The Mullvad app checks how DNS is set on your system and acts accordingly. If resolvconf/networkmanager/systemd-resolved are not used it manually writes /etc/resolv.conf.

See here: https://github.com/mullvad/mullvadvpn-app#environment-variables-controlling-the-execution

Thank you for your work packaging this!

<deleted-account> commented on 2021-04-05 09:26 (UTC)

@yochananmarqos I use systemd-resolved for DNS, which does suggest in the wiki page to use a resolveconf provider for compatibility reasons. It does work without it for me though.

yochananmarqos commented on 2021-04-04 23:13 (UTC)

@madhogs: Hmm, that's interesting. According to the merged commit I linked below, it specifically looks for org.freedesktop.NetworkManager which is part of networkmanager.

What do you have installed for DNS management if not resolveconf?

quantized commented on 2021-04-04 23:10 (UTC) (edited on 2021-04-04 23:11 (UTC) by quantized)

@yochananmarqos:

Right, I have the version 2021.2-1 at the moment. I use Wireguard, and since the time I switched to iwd, I got rid of networkmanager completely, with all its dependencies.

@madhogs: I don't have libnm, so apparently, it's not needed for mullvad-vpn.