-
ngrok, snap install errorRead | Write/Tech 2023. 8. 8. 14:48
문제
error: cannot communicate with server: Post "http://localhost/v2/snaps/ngrok": dial unix /run/snapd.socket: connect: no such file or directory
해결
sudo apt-get update
sudo snap install ngrok
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
또는 apt로 설치
curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null && echo "deb https://ngrok-agent.s3.amazonaws.com buster main" | sudo tee /etc/apt/sources.list.d/ngrok.list && sudo apt update && sudo apt install ngrok
https://github.com/microsoft/WSL/issues/5126#issuecomment-653715201
WSL2- Ubuntu 20.04 Snap store doesn't work due to systemd dependency · Issue #5126 · microsoft/WSL
I just reinstalled ubuntu on WSL2 from scratch in order to upgrade to 20.04 with a clean slate. The main issue I've noticed has to do with a lot of packages moving to snap rather than being maintai...
github.com
'Read | Write > Tech' 카테고리의 다른 글
상태바 설정 (0) 2023.08.22 react native 상태바 겹침 해결 (0) 2023.08.22 윈도우 스프링부트 JAR NSSM를 통한 서비스 등록(백그라운드실행) (2) 2023.08.01 Promise async 비동기 (0) 2023.04.22 mac m1에서 vagrant를 이용해 쿠버네티스 실습환경 구축(기본 환경) (0) 2022.09.18