Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2795

Remove a snap package on WSL Ubuntu

$
0
0

I'm trying to remove a snap package and see the way to do so is sudo snap remove <package>. This fails as follows:

~ sudo snap remove zolaerror: access denied (see 'snap help login')

Running snap on WSL is a bit problematic, and I had to run the script supplied in this thread for it to work: https://www.google.com/search?client=firefox-b-d&q=snap+ubuntu+wsl

sudo apt-get update && sudo apt-get install -yqq daemonize dbus-user-session fontconfig sudo daemonize /usr/bin/unshare --fork --pid --mount-proc /lib/systemd/systemd --system-unit=basic.target exec sudo nsenter -t $(pidof systemd) -a su - $LOGNAME

this was able to get snap to install packages but doesn't seem to be able to remove them.

When I try logging into my ubuntu one account, (snap help login, sudo snap login <email>), I get the error:

error: access denied (see 'snap help login')

Viewing all articles
Browse latest Browse all 2795

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>