• refalo@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    28 days ago

    apt purge snapd

    If you use firefox there’s an official mozilla PPA you can add to get normal packages back, not sure about other browsers.

    There’s also another apt command to “hold” and/or pin the snapd package so it won’t accidentally get reinstalled later.

    • caseyweederman@lemmy.ca
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      28 days ago

      It’s easy. Just trick your package manager into prioritizing a nonexistent version of snapd so every time a package tries to install the snap version of that thing, the dependencies fail over and over.

      Don’t forget to snap remove each individual snap first, and don’t forget the special argument to force it to actually clean everything up, because otherwise it leaves broken trash all over the place, constantly spams your journal, and makes your system state present as Degraded with all the failed unit files and zfs cache pointers that point to nothing.

      Oh and one more thing (at least), you have to rip out the /etc/apt/preferences.d file that Ubuntu places and will probably try to automatically repair that redirects apt install calls to snap install whenever possible.

      Child’s play.