在ubuntu更新时
执行命令
shell
sudo apt-get update
出现错误E:
shell
Some index files failed to download, they have been ignored, or old ones used instead
可以将目录下`/var/lib/apt/lists/partial/`所有的文件清掉
shell
sudo
在运行时出现了以下错误:
shell
ErrorException in Filesystem.php line 81:file_put_contents(/cache/services.json): failed to open stream: Permission denied
从上边的报错可以看出是由于cache目录没有写入的权限,所以给这个目录写入权限:
解决方法:
shell
s
有的时候,使用
shell
sudo apt-get install
可能导致意想不到的错误,尤其是中途中断了安装时,错误信息为:
shell
Errors were encountered while processing:
ttf-dustin
khangman
kdeedu
kde
E: Sub-process /usr/bin/dpkg returned an error code (1
我在执行
shell
sudo service nginx restart
时,执行结果出现
shell
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for det
今天在linux安装解压phpmyadmin后,用IP访问出现502错误,查看了报错日志,显示如下:
shell
2017/05/07 15:14:10 [crit] 29327#29327: *16 connect() to unix:/var/run/php5-fpm.sock failed (2: No such file or directory) while connecting to