Help with Installing Surfshark (GUI)

I was following their online guide, but it seems like package cannot be found…

user:~$ sudo apt install /home/user/Downloads/surfshark-release_1.0.0-2_amd64.deb 
Swipe your right index finger across the fingerprint reader
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'surfshark-release' instead of '/home/user/Downloads/surfshark-release_1.0.0-2_amd64.deb'
The following NEW packages will be installed:
  surfshark-release
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3,320 B of archives.
After this operation, 16.4 kB of additional disk space will be used.
Get:1 /home/user/Downloads/surfshark-release_1.0.0-2_amd64.deb surfshark-release amd64 1.0.0-2 [3,320 B]
Selecting previously unselected package surfshark-release.
(Reading database ... 266026 files and directories currently installed.)
Preparing to unpack .../surfshark-release_1.0.0-2_amd64.deb ...
Unpacking surfshark-release (1.0.0-2) ...
Setting up surfshark-release (1.0.0-2) ...
N: Download is performed unsandboxed as root as file '/home/user/Downloads/surfshark-release_1.0.0-2_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
user:~$ sudo apt update
Hit:1 https://updates.signal.org/desktop/apt xenial InRelease
Hit:2 https://packages.element.io/debian default InRelease                     
Hit:3 http://apt.pop-os.org/proprietary jammy InRelease                        
Hit:4 http://apt.pop-os.org/release jammy InRelease                            
Hit:5 https://repo.jellyfin.org/ubuntu jammy InRelease                         
Hit:6 http://apt.pop-os.org/ubuntu jammy InRelease                             
Hit:7 http://apt.pop-os.org/ubuntu jammy-security InRelease
Get:8 https://mega.nz/linux/repo/xUbuntu_22.04 ./ InRelease [2,961 B]
Hit:9 http://apt.pop-os.org/ubuntu jammy-updates InRelease 
Hit:10 http://apt.pop-os.org/ubuntu jammy-backports InRelease
Fetched 2,961 B in 2s (1,880 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: https://repo.jellyfin.org/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
user:~$ sudo apt install surfshark
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package surfshark

I know that I can use network manager, I am already using it. I want the GUI version. Any ideas?

Try with :

sudo apt install surfshark-vpn

The purpose of the surfshark-release package that you installed in the first step is to add their repository, which contains the real surfshark package. But the output from sudo apt update doesn’t list that repository. So something must have gone wrong.

Does

apt policy surfshark-release

say that surfshark-release is installed? If so, what’s the output of

dpkg -L surfshark-release

and

cat /etc/apt/sources.list.d/surfshark.list

?

Same.

user:~$ sudo apt install surfshark-vpn
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package surfshark-vpn

For apt policy surfshark-release, i get the following:

surfshark-release:
  Installed: 1.0.0-2
  Candidate: 1.0.0-2
  Version table:
 *** 1.0.0-2 100
    100 /var/lib/dpkg/status

For dpkg -L surfshark-release, i get the following:

/.
/etc
/etc/apt
/etc/apt/sources.list.d
/etc/apt/sources.list.d/surfshark.list
/etc/apt/trusted.gpg.d
/etc/apt/trusted.gpg.d/surfshark.asc
/usr
/usr/share
/usr/share/doc
/usr/share/doc/surfshark-release
/usr/share/doc/surfshark-release/changelog.Debian.gz

For cat /etc/apt/sources.list.d/surfshark.list, i get the following:

# deb https://ocean.surfshark.com/debian stretch main

I’ve tested for you in a vm.

https://ibb.co/nmSQyjQ

I think this will fix :

sudo bash -c 'echo "deb https://ocean.surfshark.com/debian stretch main" >> /etc/apt/sources.list.d/surfshark.list'

sudo apt update

sudo apt install surfshark-vpn -y

sudo apt install surfshark -y

So it is commented out (that # shouldn’t be there). Open that file with a text editor, so e.g.

sudo nano /etc/apt/sources.list.d/surfshark.list

remove that # (and the space after it, so that the line begins with deb), save the file, and then run

sudo apt update
sudo apt install surfshark

again.

Upon comparing our output, I can see that surfshark’s repository is included for you when you do sudo apt update. u/AlternativeOstrich7 pointed out that the it was commented out for my surfshark.list. I un-commented and has managed to successfully install surfshark. Thanks for taking the time to help!

It worked! Thanks for taking the time to help me out. I liked how you pointed out the issue precisely.

I upgraded my system to 22.04 few months ago, could that possibly be the reason why it was commented out?

It is possible that pop os’s updater comments out third-party repos. They are the main cause of problems during upgrades. But I’ve never used pop os, so I can’t say for sure.

I see, I will go read up more on that. Now I know what steps to take if I face a similar issue again.