出现ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory错误

apt-get update
apt-get install libglib2.0-dev

如果apt-get update出现InRelease错误,网络正常且换源后依然报错:

输入命令  chmod 777 /tmp

参考(1条消息) Couldn't create temporary file /tmp/apt.conf.g1YDx9_传智院的博客-CSDN博客_cannot create temporary file in /tmp/: 结构需要清理 cc:

你可能感兴趣的:(ubuntu,linux,运维)