• caseyweederman
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    23 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.