如何安装 LibreOffice Base?

如何安装 LibreOffice Base?

有用信息:

  • 我尝试过跑步sudo dpkg --configure -a,但sudo apt-get install -f没有结果。
  • 我正在运行 Kubuntu 11.10(更新程序太不可靠,无法信任它执行版本升级)
  • LibreOffice 的其余部分似乎运行良好(除了一个令人讨厌的错误,即工具提示在黑色背景上显示为黑色文本......)

我需要使用 LibreOffice Base 来完成邮件合并文档。但是,我注意到它没有安装。然而,当我去安装它时...

rob@hydrogen:~$ sudo apt-get install libreoffice-base
[sudo] password for rob: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 libreoffice-base : Depends: libreoffice-core (= 1:3.4.4-0ubuntu1) but it is not going to be installed
                Depends: libreoffice-base-core (= 1:3.4.4-0ubuntu1) but it is not going to be installed
                Depends: libreoffice-java-common (>= 1:3.4.4~) but it is not going to be installed
                Suggests: libmyodbc but it is not going to be installed or
                          odbc-postgresql but it is not going to be installed or
                          libsqliteodbc but it is not going to be installed or
                          tdsodbc but it is not going to be installed or
                          mdbtools but it is not going to be installed
                Suggests: libreoffice-gcj but it is not installable
                Suggests: libreoffice-report-builder but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我很困惑,它似乎认为我保留了哪些软件包。据我所知,Kubuntu 不提供保留软件包的选项...那么,我该如何摆脱这种依赖地狱呢?

答案1

要安装 LibreOffice Base,请使用 Ubuntu 软件中心。它运行起来没有问题。(如果未安装 Ubuntu 软件中心,请使用 Synaptic 或 Muon 获取。)

答案2

在 ubuntu 上手动安装 LibreOffice 非常简单。有 deb tgz 包(x86_64或者x86)。要安装它们,只需解压并发布dpkg -i *.deb到 DEBS 子目录中(安装包有另一个子目录“desktop-integration” - 也请注意从那里安装deb)。

相关内容