this post was submitted on 28 Sep 2024
147 points (90.6% liked)

Linux

48287 readers
657 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I know there are lots of people that do not like Ubuntu due to the controversies of Snaps, Canonicals head scratching decisions and their ditching of Unity.

However my experience using Ubuntu when I first used it wasn't that bad, sure the snaps could take a bit or two to boot up but that's a first time thing.

I've even put it on my younger brothers laptop for his school and college use as he just didn't like the updates from Windows taking away his work and so far he's been having a good time with using this distro.

I guess what I'm tryna say is that Ubuntu is kind of the "Windows" of the Linux world, yes it's decisions aren't always the best, but at least it has MUCH lenient requirements and no dumb features from Windows 11 especially forced auto updates.

What are your thoughts and experiences using Ubuntu? I get there is Mint and Fedora, but how common Ubuntu is used, it seemed like a good idea for my bros study work as a "non interfering" idea.

Your thoughts?

you are viewing a single comment's thread
view the rest of the comments
[–] lemmyvore@feddit.nl 6 points 1 month ago (6 children)

Third party package mechanism is fundamentally broken in Ubuntu (and in Debian).

Third party repos should never be allowed to use package names from the core repos. But they are, so they pretend they're core packages, but use different version names, and at upgrade time the updater doesn't know what to do with those version and how to solve dependencies.

That leaves you with a broken system where you can't upgrade and can't do anything entirely l eventually except a clean reinstall.

After this happened several times while using Ubuntu I resorted to leaving more and more time between major upgrades, running old versions on extended support or even unsupported.

Eventually I figured that if I'm gonna reinstall from scratch I might as well install a different distro.

I should note I still run Debian on my server, because that's a basic install with just core packages and everything else runs in Docker.

So if you delegate your package management to a completely different tool, like Flatpak, I guess you can continue to use Ubuntu. But it seems dumb to be required to resort to Flatpak to make Ubuntu usable.

[–] wildbus8979@sh.itjust.works 1 points 1 month ago (5 children)

You know you can prevent that with proper apt pinning right?

[–] lemmyvore@feddit.nl 1 points 1 month ago (1 children)

I'm not sure how that would help. First of all, it would still end up blocking proper updates. Secondly, it's hard to figure out what exactly you're supposed to pin.

[–] wildbus8979@sh.itjust.works 1 points 1 month ago* (last edited 1 month ago) (1 children)

It does not block proper updates. You might be thinking of held packages that's not the same thing at all. It isn't hard to figure out what you want to pin, you can just pin a hole third party repository at -1 except the specific package(s) you want to install and then there's no chance of that repository overriding a package from the distro's repository.

https://douglasrumbaugh.com/post/apt-pinning/

https://rmmmax.com/apt-get-pinning/

https://wiki.debian.org/AptConfiguration#Prevent.2Fselective_installation_from_a_third-party_repository

[–] lemmyvore@feddit.nl 1 points 1 month ago (1 children)

Interesting, I'll keep it in mind.

Still not sure it would help in all cases. Particularly when 3rd party repos have to override core packages because they need to be patched to support whatever they're installing. Which is another very bad practice in the Ubuntu/Debian world, granted.

[–] wildbus8979@sh.itjust.works 1 points 1 month ago* (last edited 1 month ago) (1 children)

You can still select just those packages out of their repos. Obviously that can get tedious if there are a lot of them. But that's pretty rare and at that point it's worth asking, is that software really worth it? Is there a better installation method? Could it live in a cheoot/container?

But that's not just in the Apt world, any system wide install would behave like that.

[–] lemmyvore@feddit.nl 1 points 1 month ago

It's not an issue on Arch & derivates, due to the simple fact I mentioned above: third-party (AUR) packages are never allowed to use the name of an official package.

If a third-party package was already using a name that a new official package wishes to use, users are required to willingly uninstall the third-party package in order to be allowed to install the official one, and can never re-install the third-party package unless it changes its name.

It also helps that there's only one third-party repo (the AUR) so it prevents name overlaps among third-party packages. Although that's of secondary importance since it can be bypassed by crafting custom packages locally.

I appreciate the difficulty of enacting such a rule on Debian or Ubuntu now, considering the vast amount of already existing, widely established third-party repos, and also the fact that Debian official repos contain 3-4 times as many packages as Arch official repos. Which is why I think there's no way to fix this aspect of Debian/Ubuntu anymore.

I'm not saying that makes them unusable... but I believe that anybody who uses them should be [made] aware of this caveat. It's not readily apparent and by the time it bites a new user she's probably already invested a couple of years in them.

load more comments (3 replies)
load more comments (3 replies)