When I first started using Linux 15 years ago (Ubuntu) , if there was some software you wanted that wasn’t in the distro’s repos you can probably bet that there was a PPA you could add to your system in order to get it.

Seems that nowadays this is basically dead. Some people provide appimage, snap or flatpak but these don’t integrate well into the system at all and don’t integrate with the system updater.

I use Spek for audio analysis and yesterday it told me I didn’t have permission to read a file, I a directory that I owned, that I definitely have permission to read. Took me ages to realise it was because Spek was a snap.

I get that these new package formats provide all the dependencies an app needs, but PPAs felt more centralised and integrated in terms of system updates and the system itself. Have they just fallen out of favour?

  • jmcs ( jmcs@discuss.tchncs.de ) 
    link
    fedilink
    arrow-up
    84
    ·
    2 years ago

    Probably because PPAs only work on Ubuntu and there are more Linux distros and even then it meant having to build and test a package for a couple of different Ubuntu versions.

  • Oisteink ( Oisteink@feddit.nl ) 
    link
    fedilink
    arrow-up
    42
    ·
    2 years ago

    A ppa is a repo. It’s Ubuntu stuff, and there’s no reason to work your ass off for Ubuntu for free. They’ll just shit on you and claim that snaps are great (they’re not)

  • lemmyvore ( lemmyvore@feddit.nl ) 
    link
    fedilink
    English
    arrow-up
    33
    ·
    2 years ago

    PPAs are a nice idea but a terrible design. They work well as long as they are kept up to date and they don’t overwrite distro packages. But in practice as you’ve noticed they tend to be abandoned after a while, and they don’t respect the rule to not supersede original packages. Together these two faults lead to terrible consequences, as time passes they corrupt your Debian/Ubuntu dependencies and lead to unsolvable situations. Basically your system reaches a dead-end where it cannot upgrade anymore (or only partially, which makes things even worse).

    Aptitude has a very smart and determinate dependecy solver that can recover a system from this kind of situation but it usually involves uprooting most of it by removing and reinstalling a huge amount of packages, some of which are essential. It takes a long time, if anything goes wrong you’re screwed, and you may end up with older packages than what you had installed, which may cause your user data for those apps to not be understood anymore, leading to malfunctions or crashes. So yeah it can be done but at that point you might as well do a clean reinstall.

  • This seems as good a place as any to point out that I just perpetually have problems with flatpaks and snaps. Appimages less so but I wish they were better integrated.

    Yes I understand why devs like these new packages. Yes I think that in the future they will be great. Yes they probably work fine for everyone else. I personally dislike them.

    • It really depends on what you are using them for. I would avoid Snap as it is a mess but flatpaks are fairly similar to regular apps. The big difference is that the app configs are in home/var/local and Flatpaks use sandboxing.

  • Because it’s outdated. They are a lot of work and can cause package conflicts or errors, making the whole system less reliable.

    If you need something, that’s not in your package manager, then use Distrobox and create an Arch container, and use the AUR for example.
    You can export the program after installing, and it integrates better into your system.

    By doing that, the devs have to do the work only once and you will have less problems.

  • NauticalNoodle ( NauticalNoodle@lemmy.ml ) 
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    2 years ago

    I used to crash my Debian and eventual Ubuntu distros with regularity due to outdated PPAs. It was such a headache, and it’s why I still put my /home directory on a seperate partition just to make a reinstall safe for my personal files. I thought I didn’t like Appimages and their bloat until Snap came along. I hated Snap so much it convinced me switch distro’s again. Now I’m on Pop! and I love Flatpaks by comparison and now think Appimages are alright…

    It’s 10+ years later and I still irrationally worry about crashing my system due to outdated & conflicting source dependencies. In hindsight the problems with PPAs clearly had a lasting impact on me.

  • Mactan ( mactan@lemmy.ml ) 
    link
    fedilink
    arrow-up
    11
    ·
    2 years ago

    whenever somebody brings up some terribly ancient Debian/buntu distro with outdated packages we end up having them use a .deb instead since the ppa is long gone and it’s been fine. wild that they’re often stuck on 4 year old packages though

  • To answer this question, you need to look at the fact we live in a capitalist society.

    What does that mean? It means that at every turn people are trying to make money.

    How is that relevant to Linux? Well it’s two prong. First you need to look at the fact that the people at Canonical has Microsoft envy and so want to make money. Secondly, you have to look at the fact that the people Ubuntu have Microsoft envy and so designed their walled garden in a manner that uses Microsoft as inspiration.

    Okay…? So if you’re building a walled garden and the smarter people have no desire for the disk space bloat that said walled garden comes at a cost of, how do you get them to move over other than making the sane, superior and slegacy (shush, I wanted the alliteration) way untenable.

    So what am I saying? It’s all about shitty walled gardens and inferior software design, coupled with a lack of resources to maintain applications.

  • Because they only work on one distro/package manager.

    Distributing software is simply transitioning to work in a distro-agnostic way. It’s only a matter of time until distros start updating flatpaks along with system packages. Many already do.

    And some apps distributed as appimages self-update. (RPCS3 for example)

    Not to mention that Ubuntu itself has basically ditched apt for snap.

    • nelov ( nelov@feddit.de ) 
      link
      fedilink
      arrow-up
      8
      ·
      2 years ago

      PPA’s are the reason why I stopped using Debian-based distros about 8 years ago.

      For me, those have been the primary source of pain and anger. Back then, almost every dude had a PPA. Keeping track was hard. Not only that, but often those were full of other unrelated software or libs. The outcome was broken systems left and right.

    • 0x0 ( 0x0@programming.dev ) 
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      Distributing software is simply transitioning to work in a distro-agnostic way. It’s only a matter of time until distros start updating flatpaks along with system packages. Many already do.

      I guess Canonical being money-driven would be wanting to cut costs so reducing packagers is a viable way. So what if many packages ship the same lib? It’s all isolated and drive space is not an issue, right?

  • hallettj ( hallettj@leminal.space ) 
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 years ago

    When I was using Debian I found I could generally get the latest version of software I wanted from Nix if it wasn’t in the main Debian repos, or was outdated. Nix works quite well on any Linux distro - it doesn’t interfere with the rest of the system.