Linux 相关的error处理
1 dpkg: error: duplicate file trigger interest for filename
Notice the first and last lines of /var/lib/dpkg/triggers/File
are duplicates
对上面这个文件进行编辑,删除掉重复的行即可
http://askubuntu.com/questions/314704/dpkg-error-duplicate-file-trigger-interest-for-filename-usr-share-icons-hico
2 Sub-process /usr/bin/dpkg returned an error code
- sudo mv /var/lib/dpkg/info /var/lib/dpkg/info.bak //现将info文件夹更
- sudo mkdir /var/lib/dpkg/info //再新建一个新的info文件夹
- sudo apt-get update
参考资料:http://blog.csdn.net/yusiguyuan/article/details/24269129
3