snap安装软件报错:

error: cannot install "xxx": cannot query the store for updates: got unexpected HTTP status
       code 408 via POST to "https://api.snapcraft.io/v2/snaps/refresh"

解决方法

sudo ip li set mtu 1400 dev <interface>

<interface>可以通过ip addr查看网卡名字

Last modification:July 10, 2024
V50%看看实力