Prevent snap from installing new pkgs?  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
rastus
Posts: 24
Joined: Sun Dec 03, 2023 11:40 pm

Prevent snap from installing new pkgs?

#1 Post by rastus »

I had to install snap because it's the only way to use NordPass. I would like to know if the following commands will prevent other snap files from being installed, but without preventing NordPass from doing its thing. This code comes from https://www.baeldung.com/linux/snap-remove-disable

Code: Select all

$ sudo cat <<EOF | sudo tee /etc/apt/preferences.d/nosnap.pref
Package: snapd
Pin: release a=*
Pin-Priority: -10
EOF
I recently learned that having snap is not a good thing. But I need NordPass. Thanks. (Because NordPass requires systemd, that's where this is happening.)
Last edited by rastus on Fri Dec 15, 2023 4:49 pm, edited 1 time in total.

User avatar
herbie643
Posts: 30
Joined: Tue Nov 08, 2022 7:49 pm

Re: Prevent snap from installing new pkgs?

#2 Post by herbie643 »

I know this is not the solution you were looking for but I did
flatpak search NordPass
which returned this
NordPass Password Manager An easy to use password manager brought to you by cybersecurity experts. com.nordpass.NordPass 5.9.25 stable flathub
So maybe flatpak might work?

rastus
Posts: 24
Joined: Sun Dec 03, 2023 11:40 pm

Re: Prevent snap from installing new pkgs?

#3 Post by rastus »

Hmmm. That's weird. It was my understanding that it is only available with snap. I will look into it. Thanks!

User avatar
Mauser
Posts: 1507
Joined: Mon Jun 27, 2016 7:32 pm

Re: Prevent snap from installing new pkgs?

#4 Post by Mauser »

NordPass is available in Flatpaks in the MX Package Installer.
I am command line illiterate. :confused: I copy & paste to the terminal. Liars, Wiseguys, Trolls, and those without manners will be added to my ignore list. :mad:

User avatar
dolphin_oracle
Developer
Posts: 22717
Joined: Sun Dec 16, 2007 12:17 pm

Re: Prevent snap from installing new pkgs?  [Solved]

#5 Post by dolphin_oracle »

rastus wrote: Fri Dec 15, 2023 4:25 pm I had to install snap because it's the only way to use NordPass. I would like to know if the following commands will prevent other snap files from being installed, but without preventing NordPass from doing its thing. This code comes from https://www.baeldung.com/linux/snap-remove-disable

Code: Select all

$ sudo cat <<EOF | sudo tee /etc/apt/preferences.d/nosnap.pref
Package: snapd
Pin: release a=*
Pin-Priority: -10
EOF
I recently learned that having snap is not a good thing. But I need NordPass. Thanks. (Because NordPass requires systemd, that's where this is happening.)
that will prevent snapd from being installed. which is necessary for snaps to function, but will not prevent snapd from updating snaps.

on mx there is no automatic snap installation, so if you don't want more snaps, don't install them. just having snapd won't cause you problems with random snap installation.

you might need to be careful if you use something like gnome-software, but thats about it.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

rastus
Posts: 24
Joined: Sun Dec 03, 2023 11:40 pm

Re: Prevent snap from installing new pkgs?

#6 Post by rastus »

Thanks, everyone!👍

User avatar
Stevo
Developer
Posts: 14871
Joined: Fri Dec 15, 2006 7:07 pm

Re: Prevent snap from installing new pkgs?

#7 Post by Stevo »

I believe that snapd also won't start unless you choose to boot MX with systemd, which is not our default, but you can make yours (via MX Boot Options).

Unless dolphin_oracle has written an sysv init for snapd...?
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

MXRobo
Posts: 1840
Joined: Thu Nov 14, 2019 12:09 pm

Re: Prevent snap from installing new pkgs?

#8 Post by MXRobo »

To add, and this does not help much, but the Nordpass flatpak would not do something in MX-21x Xfce, I contacted Nordpass, they said no go, so I decided to use or install Bitwarden instead.

Post Reply

Return to “MX Help”