Linux -Ubantu问题解决

Linux -Ubantu问题解决

1.curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443

安装zsh服务终端时报错提示:

curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443 

解决:输入命令,移除代理

git config --global --unset http.proxy

再安装就好了

2.E: Could not open lock file /var/lib/apt/lists/lock解决办法

sud apt-get update时出现以下报错:

Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)

–解决:

sudo mv /var/lib/apt/lists{,july12}

你可能感兴趣的:(Linux -Ubantu问题解决)