mullvad / mullvadvpn-app

The Mullvad VPN client app for desktop and mobile
https://mullvad.net/
GNU General Public License v3.0
4.63k stars 328 forks source link

apt: Instructions do not work for Debian Trixie #6018

Open simonhammes opened 3 months ago

simonhammes commented 3 months ago

Is it a bug?

I have checked if others have reported this already

Current Behavior

https://mullvad.net/en/download/vpn/linux contains the following snippet:

# 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

Running sudo apt update afterwards causes the following error:

E: The repository 'https://repository.mullvad.net/deb/stable trixie Release' does not have a Release file.

Expected Behavior

sudo apt update runs successfully

Steps to Reproduce

  1. Use Debian Trixie
  2. Add the signing key: sudo curl -fsSLo /usr/share/keyrings/mullvad-keyring.asc https://repository.mullvad.net/deb/mullvad-keyring.asc
  3. Add the repository: 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
  4. sudo apt update

Failure Logs

No response

Operating system version

Debian Trixie

Mullvad VPN app version

No response

Additional Information

Workaround: Replacing trixie by testing in /etc/apt/sources.list.d/mullvad.list works

koutheir commented 2 weeks ago
$ sudo apt update
...
Warning: Failed to fetch https://repository.mullvad.net/deb/stable/dists/testing/InRelease  Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: 45.149.104.1 443]
$ time curl 'https://mullvad.net'
________________________________________________________
Executed in  285.08 millis    fish           external
$ time curl 'https://repository.mullvad.net/deb/stable/'
...
________________________________________________________
Executed in   93.54 secs      fish           external