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

 

 Sub-process /usr/bin/dpkg returned an error code

  1. sudo mv /var/lib/dpkg/info /var/lib/dpkg/info.bak //现将info文件夹更
  2. sudo mkdir /var/lib/dpkg/info //再新建一个新的info文件夹
  3. sudo apt-get update

参考资料:http://blog.csdn.net/yusiguyuan/article/details/24269129

 

posted on 2017-01-11 22:08  59号大院傻大爷  阅读(194)  评论(0编辑  收藏  举报