spicy pancake@lemmy.zip to linuxmemes@lemmy.worldEnglish · 13 hours agoGET OUT OF MY SYSTEMlemmy.zipimagemessage-square30fedilinkarrow-up1334arrow-down15
arrow-up1329arrow-down1imageGET OUT OF MY SYSTEMlemmy.zipspicy pancake@lemmy.zip to linuxmemes@lemmy.worldEnglish · 13 hours agomessage-square30fedilink
minus-squarefmstrat@lemmy.nowsci.comlinkfedilinkEnglisharrow-up3·edit-22 hours agoDebian is just Ubuntu before they add Snap. Or, remove snap from Ubuntu: # Remove snap if [ -n "$(which snap 2>/dev/null)" ]; then SNAPS=$(snap list |awk '{print $1}' |grep -v Name) for SNAP in ${SNAPS} do; snap remove ${SNAP}; done sudo systemctl stop snapd sudo systemctl stop snapd.socket sudo systemctl disable snapd sudo systemctl mask snapd sudo apt purge snapd -y sudo apt-mark hold snapd sudo cat <<EOF | sudo tee /etc/apt/preferences.d/nosnap.pref Package: snapd Pin: release a=* Pin-Priority: -10 EOF rm -rf ~/snap sudo rm -rf /snap sudo rm -rf /var/snap sudo rm -rf /var/lib/snapd # Add needed repositories sudo add-apt-repository ppa:mozillateam/ppa -y echo ' Package: * Pin: release o=LP-PPA-mozillateam Pin-Priority: 1001 Package: thunderbird Pin: version 2:1snap* Pin-Priority: -1 ' | sudo tee /etc/apt/preferences.d/thunderbird sudo add-apt-repository ppa:xtradeb/apps -y fi
minus-squareHonytawk@feddit.nllinkfedilinkarrow-up2·1 hour agoThat is a lot of code that could have been a single command.
Debian is just Ubuntu before they add Snap.
Or, remove snap from Ubuntu:
# Remove snap if [ -n "$(which snap 2>/dev/null)" ]; then SNAPS=$(snap list |awk '{print $1}' |grep -v Name) for SNAP in ${SNAPS} do; snap remove ${SNAP}; done sudo systemctl stop snapd sudo systemctl stop snapd.socket sudo systemctl disable snapd sudo systemctl mask snapd sudo apt purge snapd -y sudo apt-mark hold snapd sudo cat <<EOF | sudo tee /etc/apt/preferences.d/nosnap.pref Package: snapd Pin: release a=* Pin-Priority: -10 EOF rm -rf ~/snap sudo rm -rf /snap sudo rm -rf /var/snap sudo rm -rf /var/lib/snapd # Add needed repositories sudo add-apt-repository ppa:mozillateam/ppa -y echo ' Package: * Pin: release o=LP-PPA-mozillateam Pin-Priority: 1001 Package: thunderbird Pin: version 2:1snap* Pin-Priority: -1 ' | sudo tee /etc/apt/preferences.d/thunderbird sudo add-apt-repository ppa:xtradeb/apps -y fi
That is a lot of code that could have been a single command.