尝试安装最新版本的 gwoffice 0.97 时,我收到:
The following packages have unmet dependencies:
gwoffice : Depends: libgranite1 but it is not installable
E: Unable to correct problems, you have held broken packages.
我该如何解决这个问题?
答案1
检查线程结论:依赖:libgranite1 但无法安装,它说你需要来自 elementary-os 的内容在你的 sources.list 中
# sudo nano /etc/apt/sources.list
添加 12.10 的两行
deb http://ppa.launchpad.net/elementary-os/daily/ubuntu quantal main
deb-src http://ppa.launchpad.net/elementary-os/daily/ubuntu quantal main
或者像我的情况一样是 12.04
deb http://ppa.launchpad.net/elementary-os/daily/ubuntu precise main
deb-src http://ppa.launchpad.net/elementary-os/daily/ubuntu precise main
# sudo apt-get 更新
对于公钥错误
# sudo gpg --keyserver pgpkeys.mit.edu --recv-key BF36996C4E1F8A59
# sudo gpg -a --export BF36996C4E1F8A59 | sudo apt-key add -
# sudo apt-get update
然后进一步的更新应该可以照常进行