sudo dnf remove snap

submitted by

https://discuss.tchncs.de/pictrs/image/0ab88230-732a-4b7c-b7a8-1266190cb275.png

sudo dnf remove snap
69
538

Log in to comment

69 Comments

Anyone can install Mint, that’s hardly a big deal.

Me who just installed installed EndeavourOS via their live disk because it’s stupidly simple, arch based, and I can read the arch wiki when I have issues.

I also switched from pre-archinstall arch to Endeavor. I might try archinstall at some point but I’m currently fine with Endeavor

Endeavour gang rise up

Seriously though it’s glaringly straightforward and all the benefits of arch without the slog. I’ve been happy with it for years now.

I don’t use Arch, btw

Finally a correct usage of this meme format :D

i understand my nixos configuration

I have an acquaintance who walked me through his setup. I was impressed, mostly at how many little things he needed to have done to get it to how he likes it.

Has ubuntu started using DNF?

yeah they did that in 24.13

I was able to rescue GRUB from memory 10 years ago.

Okay that sounds pretty impressive

I once accidentally deleted python from my gentoo system (needed for emerge) and rescued it.

How did you do that? (Both “that"s I guess!)

I found out there were binary packages that were build together and manually downloaded and unpacked every package I needed for a minimum coherent build chain (no kernel but gcc, gnuutils etc) and used that to get emerge working again to build a new build chain with my own settings and used that to rebuild system to get rid of the foreign packages and be back. The gentoo wiki helped a lot.

Nice! Sounds like a learning experience. Was it a fun challenge for you or annoying, in the end?

Haha both of course. Young me was intrigued by this great puzzle of getting the system back up. Much quicker than a reinstall, too! At the same time it was one of the Gentoo moments that made me switch to Arch and Manjaro later. I certainly learned a lot with Gentoo but it was also a fragile timesink.

I suppose to rescue it you can grab a portable Python release and use that to emerge a proper one, another option would be booting into a live environment. And to cause this, --unmerge and --rage-clean are your friends. No idea how you’d do that “accidentally”, though.

I remember I struggled with broken dynamic linking from bringing in binaries from the outside. I needed an entire build-chain from the same build and then build my way up with source packages (you have them around in gentoo) in my system until i reached portage. And then used emerge to recompile the buildchain twice so it was compatible with my system again.

Wow, I did that on CentOS and reinstalling the OS was the only sure shot way I could figure

I sure hope there are ways to unpack RPMs by hand and copy the contents where they need to be. Would be very unlinuxy to make it a binary format and not a zipped container of some sort. But you might struggle depending on the amount of dependencies.

Yeah, figuring out which dependencies in which locations just seemed not worth it

Until you run an apt command that reinstalls snapd because so many official packages are snaps.

Isn’t there a way to blacklist packages in apt?

apt-mark hold snapd

You can also pin it with a negative priority like Mint does.

Deleted by author

 reply
16

I too have replaced hard drives

As long as you didn’t use format c: for that, I’m fine with it.

Last time I installed arch the archinstall didn’t exist in its current form yet… It’s been working fine since then. Arch truly is eternal in that you never need to reinstall.

That’s called a Rolling Release. It will periodically bless you with a broken system to test your sysadmin skills.

(brace for all the “bUt It’S sTaBLe FoR mE” replies)

It truly is stable for me 😅

I give you a thumbs up.

When I was running XFCE with Arch, my Installation was several years old and I only had a handful of incidents that needed manual Intervention, which was very manageable for me, so at the end of the day, it was the most stable system I had by far compared to other distributions I used, although I had a Nvidia GPU.

When I switched to Plasma with Wayland on my newer AMD only machine, I constantly had issues especially with Plasma after updates. And these were things I could not fix but rather needed to find workarounds until it got fixed with a later update (for example NTFS support on Dolphin not working properly, panels crashing constantly, configurations that partly got reset etc.)

Arch can be really stable but only if you use conservative Software for your DE/WM and critical infrastructure.

bUt It’S sTaBLe FoR neiGH

Mine breaks the Wifi (and ethernet) every time I update on my t480. I don’t know why.

I installed my fingerprint drivers only to unlock keyring with my password every time I unlock.

cocktail swords

Me who doesn’t completely care what flavor of Linux is installed and uses flatpaks and docker for everything because I just want things to work and threw away my integrity after my first catastrophic hardware failure of my server that I’d been maintaining poorly and precariously on an external drive for three years.

I installed arch without arch install many times and im always still nervous and confused by the boot loader instructions… But these days, I use archinstall.

Now i havent actually reinstalled my arch in 3 years though. Running smooth. Normally i like that feeling of a clean system very much but its so time consuming.

Im also using Ubuntu systems and its infuriating how i cant get the latest version of certain software on older Ubuntus like 22.04.

The bootloader instructions are ass. But the final boss is full disk encryption.
Whenever I want that, I just use Archinstall.

i configure portage from memory

Instead of following screen prompts I followed on screen prompts we are not the same.

Does it break anything meaningful to remove it? I haven’t run any mainline Ubuntu distro in years mostly because of the snap bullshit

I like Kubuntu, mostly because I’m familiar with Ubuntu and I like KDE. Unfortunately, I had to move back to Windows 10 because of a professional app that I couldn’t get running.

When I was trying to make Kubuntu work. I installed flatpak so I would primarily use apps from flathub. The snaps were actually pretty useful if there were issues with the flatpak and the native binary. I also force installed the official Mozilla Firefox binary which was pretty easy. Personally I didn’t mind having snaps as an option. At least in Kubuntu it was easy to select which version of the package you wanted in the GUI.

Before I realized snaps could be useful I messed around with uninstalling snaps but they don’t make it easy or straightforward. It’s easiest just to ignore them if you don’t like them. Or pick a different distro if that’s a deal breaker for you.

Otherwise Ubuntu had the fewest issues/annoyances of the distros I tried. But maybe I’m just used to Ubuntu having toyed around with it for years.

As someone pretty new to linux, what’s wrong with snaps? I’ve seen a lot of memes dunking on them but haven’t run into any issues with the couple that ive tried (even had a problem with a flatpack version of a program that the snap version fixed, though I think it may have been related to an intentional feature of flatpacks rather than a bug).

Snap packages have a larger install size, run slower, increase resource usage (so more RAM and CPU cycles), the snap store is a closed source system so you get things like Cryptocoin wallet scams , and personally, I think conceptually snap system leads to poor library maintenance long term

I dislike it for all the technical reasons you listed but could live with it despite that.

The entire reason I don’t install Ubuntu distros for Anyone anymore is that you can tell it specifically you want a deb and it can decide, no, no you don’t, and reinstall snapd and that app as a snap.

That’s ridiculous and against what I view Linux should be.

We have an entire universe (from snaps up to univere-scale k8s setups) derived from “it works on my machine, so we’ll ship my machine”.

How much bad software isn’t being shook out because it’s kept alive in a container with just the right dependencies to prevent it from activating bugs and bad assertions?

Having a closed source backend isn’t the reason for malicious packages. There’s a clear distinction between official and unofficial packages, and flathub isn’t immune to this either.

In comparison to flatpak, each runtime (core[number]) is supported for 10 years, so developers aren’t pressured to update it if the app keeps working. The side effect is that over time you will end up with a few extra core snaps on your system but the peace of mind for the maintainers is worth it imo.

It’s also a smaller ecosystem than say flatpak, so it gets less use and less checks on it. Seems less well maintained than APT as well.

On a technical level, they’ve gotten very capable and in some ways are better than flatpak (packaging CLI software is super easy). Yes in the beginning they were slow but 10 years has passed.

What a lot of users dislike is Canonical not open sourcing the backend that hosts the files. You can always install them locally, similarly to apks on Android. I don’t see it as an issue because once the parent company/organisation dies that’s usually it for the project, be it open source or proprietary.

Snaps also use runtimes based on Ubuntu itself so Canonical dying = losing core functionality that is open source but nobody else will bother to take on that job.

I mainly dislike it because of it spamming the loopback devices. I know you can filter those out but i don’t want to lol. Last time i heard their servers/backend or whatever was also proprietary, but i don’t know if that’s still the case. In general i don’t really understand why you would choose it over flatpak, and i’m not really a flatpak fan either :p

I’ll just link my comment from the other day: https://lemmy.world/comment/19749012 (also read Morphit’s reply, it gets worse)

I installed Fedora without installer. It was more “fun” than arch

Why did you go this way, if I may ask?

I already had Arch installed but was facing some bugs on Framework hardware. The official Framework forums advised to try to reproduce it on Fedora, which is officially supported distro. I just wanted to keep all of my stuff in home including KDE config, all my programs data, dotfiles etc, as well as disk layout encryption and so on. It was pretty short way for making drop-in replacement for Arch - extracted the OS to a new btrfs subvolume, configured bootloader and some basics, installed all my needed packages and all the same flatpaks and that’s it. It felt like nothing ever changed

That’s the magic of distro-agnostic DE’s :)

Happy it worked for you without a hitch - it’s not the most conventional operation out there :)

But can you install Firefox without having snap be reinstalled?

Yes, from the Mozilla PPA. One may also want to prevent snapd from being installed again by pinning it with a sufficiently low negative priority.

Credit to whom credit is due @fmstrat@lemmy.nowsci.com

https://lemmy.nowsci.com/comment/14911535

I just downloaded the .tar.gz

Insert image