I installed snapd on ubuntu 19.04(wsl). when I try snap command it gives me error that snap is not allowed in wsl. So, I try to remove it. But it doesn't remove. Now, when I run apt it gives me this error.
E: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true: Success
E: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true: Success