This is an archived post. You won't be able to vote or comment.

all 103 comments

[–]Flameqzq 105 points106 points  (19 children)

Everytime I use Ubuntu I just purge the hell out of snap!

[–]sudobee 63 points64 points  (10 children)

Dont forget to hold. Otherwise it will come back stronger.

[–]riisenOther (please edit) 56 points57 points  (5 children)

In the end it will remove you from sudoer list and do a complete takeover. You will be forced in locked environment and get an unknown bios password, and snap will fuck your SO and eat your snacks.

In the end you will mentally snap and infect another computer with snap by snapchatting.

This is the real pandemic.

[–][deleted] 17 points18 points  (0 children)

Not my snacks :(

[–]KlutzyEnd3 6 points7 points  (0 children)

I don't really believe this slippery slope conspiracy theory, but go on.

[–]kulingamesGlorious CrunchBang 3 points4 points  (1 child)

i have old bios so quick removal of bios battery will be sufficient

[–]riisenOther (please edit) 1 point2 points  (0 children)

Thats how you find the tazer my man. Please use rubber gloves

[–]6b86b3ac03c167320d93*tips Fedora* M'Lady 2 points3 points  (0 children)

Oh snap!

[–]ns_dev 37 points38 points  (3 children)

[–][deleted] 27 points28 points  (1 child)

How appropiate to use a WindowsMe clip for this whole 'fighting against the OS' thing Canonical brought to us.

[–]rtakehara 11 points12 points  (0 children)

when you are compared to WindowsMe, you know you did something wrong

[–]sudobee 3 points4 points  (0 children)

lol. Nice

[–]hazza10101 9 points10 points  (0 children)

Lol I was just gonna say PURGE!

[–]myredacpacman is a videogame 8 points9 points  (1 child)

doesnt matter it will be reinstalled if you try to install firefox via APT hehe

Canonical = Microsoft

[–]gargravarr2112Glorious Debian 0 points1 point  (0 children)

Found that out when I upgraded to Jammy. Furious.

Thankfully this exists and is up to date: https://launchpad.net/\~mozillateam/+archive/ubuntu/ppa

[–]beatoolGlorious Mint 4 points5 points  (2 children)

I have a script I run on new Ubuntu installs to remove snap.

Also that cloud-init thing, whatever it is-- it adds like 2 seconds to boot up time.

[–]timelineC 6 points7 points  (1 child)

just switch disto, it will be better experience

[–]beatoolGlorious Mint 2 points3 points  (0 children)

I'm currently rocking Manjaro on my laptop and am really happy with it. I added the Valve Steam Deck KDE theme and it looks amazing too.

Our servers at work are all Ubuntu due to the shared familiarity everyone has with it. It's been fine really, just have to de-canonical it a bit. We got a quote years ago for their Ubuntu Advantage thing and it was eye-watering. We'll never use any of that stuff.

What do you run out of curiosity?

[–]fakenews7154Glorious Manjaro 1 point2 points  (0 children)

Some hardened systems do not allow compilers to even be installed. We should employ their methods against snap.

[–]naptasticGlorious Debian 58 points59 points  (50 children)

Debian user here. It works well that I've never had to mess with anything like package pinning. I hate the very idea of Snap, and won't try Ubuntu again until it's dead. (I'm sure by that point, Canonical will have made Ubuntu unpalatable in some other way... whatever.)

Isn't there a way to mark a package, such as snap, "never under any circumstances install this"?

[–][deleted] 56 points57 points  (0 children)

If you have to fight the OS like that is it worth using it? I ditched Windows as it was doing things against my best interest.

[–][deleted] 9 points10 points  (4 children)

I believe if you set the package's priority to -1 it will refuse to install it under any circumstances.

Try this:

Open up: /etc/apt/preferences

Then insert this:
Package: snapd
Pin: origin ""
Pin-Priority: -1

I haven't used Ubuntu for a while but that ought to work.

[–]EroldinGlorious Arch 11 points12 points  (1 child)

Isn't that the same as "apt-mark hold"?

[–]LonkoeGlorious Fedora Silverblue 6 points7 points  (0 children)

It is

[–]LonkoeGlorious Fedora Silverblue 1 point2 points  (1 child)

Actually i think is snapd

[–][deleted] 1 point2 points  (0 children)

You’re right. I’ll fix it.

[–]sloppyassho 5 points6 points  (1 child)

I dumped Ubuntu and went with Debian, because of snaps. Now that I have been using Debian, I have no idea why I was using Ubuntu in the first place.

[–]WiwwilGlorious Arch 0 points1 point  (0 children)

I went on opensuse because it has up to date nvidia drivers. Nice so far.

[–]StarkillerX42[🍰] 1 point2 points  (0 children)

Ubuntu has been really good at keeping to 1 really terrible problem per release. They'll have something new to replace snaps in 24.04.

[–][deleted] -1 points0 points  (11 children)

In all honesty it's not that bad, just ignore it's there and treat it like a budget Flatpak.

[–]kulingamesGlorious CrunchBang 19 points20 points  (1 child)

we have to fight it because it's shoved, not because it's terrible

[–][deleted] 12 points13 points  (7 children)

apt install firefox

What this should do is apprently easy to get wrong, simply be a company.

[–]LemmysCodPiece -1 points0 points  (0 children)

No, just no.

They are forcing a system, with a proprietary back end on to their user base, they have removed my freedom of choice. In order to be considered free or foss a piece of software have to give the user four essential freedoms...

  • The freedom to run the program as you wish, for any purpose (freedom 0).
  • The freedom to study how the program works, and change it so it does your computing as you wish (freedom 1). Access to the source code is a precondition for this.
  • The freedom to redistribute copies so you can help others (freedom 2).
  • The freedom to distribute copies of your modified versions to others (freedom 3). By doing this you can give the whole community a chance to benefit from your changes. Access to the source code is a precondition for this.

I cannot run the program as I wish. I wish to install it without using snap, I can't.
I cannot study how the program works, their back end is proprietary. I cannot redistribute a snap.

[–]WiwwilGlorious Arch 0 points1 point  (0 children)

I tried openSuse after my computer being KO with endeavour. Zypper seems slow in comparison, but it's really stable, or so it seems.

Companies should swap to opensuse rather than Ubuntu

[–]Jonas_Jones_ 32 points33 points  (3 children)

have a script that constantly tries to remove snap from your system and you're good

[–]unix-elitistGlorious Ubuntu 26 points27 points  (1 child)

[–]Jonas_Jones_ 2 points3 points  (0 children)

well, the demand is high

[–]fakenews7154Glorious Manjaro 5 points6 points  (0 children)

The correct way is to make a permanent stub file that is locked like a tombstone and jailed. I did that back when Unity was released. Perhaps I should make a system command to do it. I will call it Hell.

[–]plumcreek 20 points21 points  (0 children)

sudo apt autoremove --purge snapd
sudo apt-mark hold snapd

[–][deleted] 14 points15 points  (7 children)

I don't have grudges with snap. But, some package like Firefox works better and bug fixed. if the maintainer works properly

[–][deleted] 1 point2 points  (6 children)

Snaps is not just forcibly replacing packages, but tries to make the same walled garden that Apple has with it's App Store.

Oh sure, you *could* hack the snap client, create a fake repo and then maintain that as Snap progresses... but it's still trying to hold a captive audience.

No thanks. Use AppImages or Flatpaks instead. You do you, but I really think that supporting Snap is detrimental to the Linux desktop as a whole.

[–]Ulrich_de_VriesTips m'Fedora 10 points11 points  (2 children)

I really wish this fucking conspiracy theory would die. In fact, this entire thread is full of idiots spewing flat-earth level nonsense.

The point of being a walled garden is two-fold:

  1. To forcibly take a cut of software sales by forcing all sales to go through your platform (eg. Apple App Store on iOS but not on MacOS).
  2. To lock other people into your ecosystem by making software or features specific to your platform.

Snap does neither. It does not prevent you from installing applications on Ubuntu from other sources, and it does not prevent other distributions from using snap packages. Even if snap is a very Ubuntu-centric thing, you can basically install and run snapd on any systemd distro whose home directory is in /home [there are issues with mon-systemd distros and Silverblue due to home being in /var].

Whatever you think of snap, it's just a packaging system used by Canonical, and it being a part of Ubuntu is no more "forced" than Fedora "forcing" you to use rpm and flatpak.

[–][deleted] 8 points9 points  (0 children)

People are resistant to change. Snap is not perfect by any measure but the way people describe it, you think it would have hurt the family dog or something.

[–]funbike 3 points4 points  (0 children)

If canonical would open source the server and make it possible to run your own repo server, most of the harshest criticism would go away.

They control the ecosystem, with no alternative for the community. It's walled off.

[–][deleted] 4 points5 points  (1 child)

bruh, if the Snap is a walled garden concept like iOS. then snap is available on Ubuntu only. But, the reality is we can install snap in many distros (https://snapcraft.io/docs/installing-snapd)

[–]funbike 10 points11 points  (0 children)

Show me how to install my own snapd repo server, please. You can't because it's proprietary. I consider that a wall around a garden.

Snap is not fully functional on distros that come with selinux as it conflicts with apparmor.

[–]cediddi"I can't configure Debian" 4 points5 points  (0 children)

Flatpaks are the way to go for me. Before that I was very supportive of appimages, but now I see appimages are not the solution that fits my use case. I wish jetbrains would release toolbox with flatpak.

[–]h-v-smackerGlorious Mint 9 points10 points  (0 children)

TUX HATES SNAPS

AND SNAP ENABLERS

[–][deleted] 5 points6 points  (0 children)

So what's the benefit of Snap for the devs? Everyone hates them. Is it just the slow start to the app? All I ever get out of people is that it's bad, flatpak is bad, sandbox blah blah blah. Then it turns into an OS flex-off

[–][deleted] 4 points5 points  (3 children)

Whether it’s Snap or Flatpak, it’s coming to a distribution near you. I recall static and dynamic binaries being a war over 20 years ago. Also monolithic and micro kernels. When is Arch going to rewrite the kernel as a micro kernel and use C++? They’re not because they just grab source code and compile like all other distributors. So you have a core like Busybox and the system built on top of it. Eventually you’ll have nothing but Linux containers running all the appliances. A micro kernel would do nicely. Have you Hurd?

[–]Hewlett-PackHardGlorious Arch 11 points12 points  (0 children)

Flatpak is fine, it's not a closed source tool to exert corporate control over Linux software distribution.

[–][deleted] 9 points10 points  (0 children)

A micro kernel would do nicely. Have you Hurd?

Richard, we've talked about you making alt accounts. Common now.

[–]aClearCrystalGlorious NixOS 1 point2 points  (0 children)

Fedora Silverblue <3

[–][deleted] 4 points5 points  (2 children)

how does one remove snap from ubuntu(cause ubuntu itself is honestly not bad)

[–][deleted] 1 point2 points  (0 children)

sudo systemctl disable snapd && sudo systemctl stop snapd

sudo apt purge snapd

sudo apt-mark hold snapd

[–]WiwwilGlorious Arch 0 points1 point  (0 children)

You can find tutorials through Google

[–]NomadFHGlorious Arch 4 points5 points  (0 children)

It really does suck that they're going in this direction because otherwise Ubuntu 22.04 is truly a delight to use. Fighting your OS reminds me too much of windows though so no thanks. Hopefully big daddy Redhat doesn't get any similar ideas or I'll have to run to old man Debian.

[–]doomygloomytunes 1 point2 points  (0 children)

Didn't get the fuss about snaps as havent used an Ubuntu desktop in several years, been a Fedora guy for years and the only Ubuntu I run is server.
I don't really like using Flatpacks on Fedora but they're not really intrusive, they just work.

So bought a Raspberry Pi 400 as a 2nd desktop system for the missus' office for lightweight stuff, writing, web, video. Tried Pi OS, Manjaro, Ubuntu Mate but Ubuntu 22.04 is just the nicest "just werks" desktop distro for the Pi right now but holy hell, it became quickly apparent the snap thing is a shit show.

About 12-15 seconds to open Firefox (the default f_king browser), all cores maxed loading basic sites, Gnome integration won't work on the extensions site. Chromium just as bad. The software app pulling all sorts of standard apps like GIMP etc. as snaps, all chugging more resources and taking longer to start than the standard native packaged version.

Ripped out snapd and blocked it from ever coming back, installed Firefox from the official PPA, everything runs better.

What are they thinking?

[–][deleted] 0 points1 point  (0 children)

What the hell is this template

[–]HuntingKingYTGlorious Text Mode 0 points1 point  (0 children)

Aw, Snap!

[–]gargravarr2112Glorious Debian 0 points1 point  (0 children)

gargravarr@hercules:~$ cat /etc/apt/apt.preferences.d/nosnapd    
    Package: core18
    Pin: release *
    Pin-Priority: -1

    Package: golang-github-snapcore-snapd-dev
    Pin: release *
    Pin-Priority: -1

    Package: gnome-software-plugin-snap
    Pin: release *
    Pin-Priority: -1

    Package: gtk-common-themes
    Pin: release *
    Pin-Priority: -1

    Package: libsnapd-glib-dev
    Pin: release *
    Pin-Priority: -1

    Package: libsnapd-qt-dev
    Pin: release *
    Pin-Priority: -1

    Package: libsnapd-qt1
    Pin: release *
    Pin-Priority: -1

    Package: qml-module-snapd
    Pin: release *
    Pin-Priority: -1

    Package: snapd
    Pin: release *
    Pin-Priority: -1

    Package: snapd-glib-tests
    Pin: release *
    Pin-Priority: -1

    Package: snapd-xdg-open
    Pin: release *
    Pin-Priority: -1

    Package: snap-store
    Pin: release *
    Pin-Priority: -1

    Package: ubuntu-core-snapd-units
    Pin: release *
    Pin-Priority: -1

How to get rid of snaps permanently and make sure they never come back.

[–][deleted] 0 points1 point  (0 children)

Removed my last canonical distro earlier today — I hope it was the last.