有的时候,在Ubuntu下使用sudo apt-get install可能导致意想不到的错误,尤其是中途中断了安装时,错误信息为:
Errors were encountered while processing:
/var/cache/apt/archives/shotwell_0.18.0-1~saucy1-i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)如下图:此时可以这样解决:cd /var/lib/dpkg
sudo mv info info.bak
sudo mkdir info重新安装,在此为:
sudo apt-get install shotwell以下未经测试:我就是这样解决的 拿来给你分享一下~~~~在处理时有错误发生:
ttf-opensymbol
E: Sub-process /usr/bin/dpkg returned an error code (1)解决方案代码:sudo fc-cache -fv 2>&1 | grep failed | cut -f1 -d":" | xargs -i sudo touch {} && sudo fc-cache -fv更多Ubuntu相关信息见Ubuntu 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=2Ubuntu 及衍生版本安装最新版的 Shotwell 0.18向GitHub仓库添加仓库权限不允许 fatal: Authentication failed相关资讯 Ubuntu使用教程
- Ubuntu使用教程:E: 无法获得锁 / (06/19/2014 17:15:12)
- Ubuntu使用教程 :让Trusty Tahr变 (05/07/2014 16:30:53)
- 怎样打开64位 Ubuntu 的32位支持功 (04/27/2014 17:15:36)
| - Ubuntu 11.04 环境指纹识别驱动的 (05/22/2014 09:57:26)
- Ubuntu 下disk清理保护 (05/01/2014 07:24:50)
- Ubuntu 14.04自动登录到桌面 (04/24/2014 14:00:53)
|
本文评论 查看全部评论 (0)