The openoffice problem (already solved)

编译打包和其他
回复
musa
帖子: 4
注册时间: 2005-11-28 12:46

The openoffice problem (already solved)

#1

帖子 musa » 2006-09-15 8:11

when I use "sudo apt-get install .......",this tip will show:
您也许需要运行“apt-get -f install”来纠正上面的错误。
下列的软件包有不能满足的依赖关系:
openoffice.org-base: 依赖: openoffice.org-core (= 2.0.3-6dapper2) 但是 2.0.2-2ubuntu12 已经安装了
openoffice.org-calc: 依赖: openoffice.org-core (= 2.0.3-6dapper2) 但是 2.0.2-2ubuntu12 已经安装了
openoffice.org-draw: 依赖: openoffice.org-core (= 2.0.3-6dapper2) 但是 2.0.2-2ubuntu12 已经安装了
openoffice.org-evolution: 依赖: openoffice.org-core (= 2.0.3-6dapper2) 但是 2.0.2-2ubuntu12 已经安装了
openoffice.org-gnome: 依赖: openoffice.org-core (= 2.0.3-6dapper2) 但是 2.0.2-2ubuntu12 已经安装了
openoffice.org-gtk: 依赖: openoffice.org-core (= 2.0.3-6dapper2) 但是 2.0.2-2ubuntu12 已经安装了
openoffice.org-math: 依赖: openoffice.org-core (= 2.0.3-6dapper2) 但是 2.0.2-2ubuntu12 已经安装了
openoffice.org-writer: 依赖: openoffice.org-core (= 2.0.3-6dapper2) 但是 2.0.2-2ubuntu12 已经安装了
python-uno: 依赖: openoffice.org-core (= 2.0.3-6dapper2) 但是 2.0.2-2ubuntu12 已经安装了
E: 不能满足依赖关系。不妨试一下 -f 选项。

when I use ""sudo apt-get -f install",it whill show:

正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在更正依赖关系... 完成
将会安装下列额外的软件包:
openoffice.org-common openoffice.org-core openoffice.org-impress openoffice.org-l10n-en-gb openoffice.org-l10n-en-us
openoffice.org-l10n-en-za
建议安装的软件包:
hunspell-dictionary-en-gb myspell-dictionary-en-gb openoffice.org-hyphenation-en-gb openoffice.org-help-en-gb hunspell-dictionary-en-us
myspell-dictionary-en-us openoffice.org-hyphenation-en-us hunspell-dictionary-en-za myspell-dictionary-en-za
openoffice.org-hyphenation-en-za openoffice.org-thesaurus-en-za openoffice.org-help-en-za
下列的软件包将被升级:
openoffice.org-common openoffice.org-core openoffice.org-impress openoffice.org-l10n-en-gb openoffice.org-l10n-en-us
openoffice.org-l10n-en-za
共升级了 6 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 166 个软件未被升级。
有 9 个软件包没有被完全安装或卸载。
需要下载 0B/58.8MB 的软件包。
解压缩后将会空出 2208kB 的空间。
您希望继续执行吗?[Y/n]
(正在读取数据库 ... 系统当前总共安装有 71234 个文件和目录。)
正预备替换 openoffice.org-impress 2.0.2-2ubuntu12 (使用 .../openoffice.org-impress_2.0.3-6dapper2_i386.deb) ...
正在解压缩将用于更替的包文件 openoffice.org-impress ...
dpkg:处理 /var/cache/apt/archives/openoffice.org-impress_2.0.3-6dapper2_i386.deb (--unpack)时出错:
正试图覆盖“/usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Filter/fcfg_impressgraphics_filters.xcu”,它属于软件包 openoffice.org-common
在处理时有错误发生:
/var/cache/apt/archives/openoffice.org-impress_2.0.3-6dapper2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

so I couldn't do any update,I had no chinese input method ,what's the matter? I just install the ubuntu 6.06LTS with CD.
how can I solve this problen?
上次由 musa 在 2006-09-15 10:43,总共编辑 1 次。
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#2

帖子 oneleaf » 2006-09-15 8:53

先 apt-get remove openoffice.org-common ,再使用 apt-get -f install 试试?
musa
帖子: 4
注册时间: 2005-11-28 12:46

#3

帖子 musa » 2006-09-15 10:42

Thank you very much,though i try the method you suggested,and it can't solve the problem!

And I found the problem is the package is error,difference sources packages may be differents !

I choose another source (in /etc/apt/sources.list) and then try "sudo apt-get -f install",and then it works!

it solved the problen and I can do other updates ! it's troubled me a whole morning! HAHA!
回复