文件属性:
-'
regular file
`b'
block special file
`c'
character special file
`C'
high performance ("contiguous data") file
`d'
directory
`D'
door (Solaris 2.5 and up)
`l'
symbolic link
阿里云错误:用yum指令就会报错:下面这个是yum remove xz时:
Loaded plugins: fastestmirror //装载这个插件
Setting up Remove Process
No Match for argument: xz
Loading mirror speeds from cached hostfile
* base: mirrors.cloud.aliyuncs.com
* extras: mirrors.cloud.aliyuncs.com
* updates: mirrors.cloud.aliyuncs.com
* webtatic: us-east.repo.webtatic.com
Error: xz compression not available //这个很有诱导性,我一度认为是xz的问题,但当我尝试压缩和解压,发现xz可以正常工作
1 是查到大多数解决办法,不适用。2 是最终解决问题,确实是关闭这个插件,yum就可以正常更新了
1、http://www.cnblogs.com/phpzhou/p/5602986.html
2、http://blog.sina.com.cn/s/blog_7e513d7e01015j9b.html
使用yum命令报错File "/usr/bin/yum", line 30 except KeyboardInterrupt, e:说什么又语法错误,是因为程序是由python2
写的,而阿里云是python3 的库,没想到兼容的这么差。而且按照方法修改的时候注意,自己的版本:
/usr/bin
python
python2
python2.6
python2.6-config
python2.6.ori
python-config
https://blog.csdn.net/zsl10/article/details/52315319
error:Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
两种方法:
1 ps -A | grep apt sudo kill -9 processnumber || sudo kill -SIGKILL processnumber
2 sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a
sudo apt-get update