- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我已经查看多个页面几个小时了,但仍然无法解决这个问题。我安装了 OpenOffice,然后尝试通过应用中心安装 LibreOffice-Draw,但遇到了问题(文件没有安装,一直被删掉)。我进入终端并在尝试将 apt-get
与任何东西一起使用后遇到了这些错误:
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
libreoffice-core : Depends: libreoffice-common (> 1:5.1.6~rc2) but it is not going to be installed
libreoffice-style-galaxy : Depends: libreoffice-common (= 1:5.1.6~rc2-0ubuntu1~xenial1) but it is not going to be installed
libreoffice-style-human : Depends: libreoffice-common (= 1:5.1.6~rc2-0ubuntu1~xenial1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
运行它并尝试安装 libreoffice-common
结果:
Preparing to unpack .../libreoffice-common_1%3a5.1.6~rc2-0ubuntu1~xenial1_all.deb ...
Unpacking libreoffice-common (1:5.1.6~rc2-0ubuntu1~xenial1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a5.1.6~rc2-0ubuntu1~xenial1_all.deb (--unpack):
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.3-9783
rmdir: failed to remove '/var/lib/libreoffice/share/prereg/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/share/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/program/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1+elementary2~ubuntu0.4.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for gnome-icon-theme (3.12.0-1ubuntu3) ...
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a5.1.6~rc2-0ubuntu1~xenial1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
```
尝试清除 OpenOffice -
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'openoffice.org-debian-menus' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-fr-fr' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-thesaurus-de-ch' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-hyphenation-en-ca' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-hyphenation-en-us' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-updatedicts' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-kde' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-common' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-an' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-ca' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-eo' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-es' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-eu' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-fo' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-gl' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-nb' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-nn' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-nr' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-ns' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-ss' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-st' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-tl' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-tn' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-uz' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-ve' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-xh' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-zu' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-hunspell' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-hyphenation-en' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-hyphenation-fi' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-hyphenation-ga' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-hyphenation-hr' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-hyphenation-id' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-calc' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-writer' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-hyphenation-lt' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-hyphenation-pl' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-hyphenation-ru' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-ure' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-thesaurus-de' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-thesaurus-it' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-thesaurus-pl' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-bundled' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-base' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-en-us' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-core' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-dev-doc' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-dmaths' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-de-at' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-de-ch' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-spellcheck-de-de' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-unbundled' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-hyphenation' for glob 'openoffice.org-*'
Note, selecting 'openoffice.org-thesaurus-en-au' for glob 'openoffice.org-*'
Package 'openoffice.org-thesaurus-it' is not installed, so not removed
Note, selecting 'dictionaries-common' instead of 'openoffice.org-updatedicts'
Package 'openoffice.org-hunspell' is not installed, so not removed
Package 'openoffice.org-core' is not installed, so not removed
Note, selecting 'hunspell-an' instead of 'openoffice.org-spellcheck-an'
Note, selecting 'hunspell-ca' instead of 'openoffice.org-spellcheck-ca'
Package 'openoffice.org-spellcheck-en-us' is not installed, so not removed
Note, selecting 'hunspell-eu' instead of 'openoffice.org-spellcheck-eu'
Note, selecting 'hunspell-gl-es' instead of 'openoffice.org-spellcheck-gl'
Note, selecting 'hunspell-uz' instead of 'openoffice.org-spellcheck-uz'
Package 'openoffice.org-writer' is not installed, so not removed
Note, selecting 'hyphen-en-us' instead of 'openoffice.org-hyphenation-en-us'
Note, selecting 'hyphen-en-us' instead of 'openoffice.org-hyphenation-en'
Package 'openoffice.org-hyphenation-hr' is not installed, so not removed
Note, selecting 'hyphen-pl' instead of 'openoffice.org-hyphenation-pl'
Note, selecting 'hyphen-ru' instead of 'openoffice.org-hyphenation-ru'
Package 'openoffice.org-base' is not installed, so not removed
Package 'openoffice.org-common' is not installed, so not removed
Package 'openoffice.org-dev-doc' is not installed, so not removed
Note, selecting 'myspell-eo' instead of 'openoffice.org-spellcheck-eo'
Note, selecting 'myspell-es' instead of 'openoffice.org-spellcheck-es'
Note, selecting 'myspell-fo' instead of 'openoffice.org-spellcheck-fo'
Note, selecting 'myspell-nb' instead of 'openoffice.org-spellcheck-nb'
Note, selecting 'myspell-nn' instead of 'openoffice.org-spellcheck-nn'
Note, selecting 'myspell-nr' instead of 'openoffice.org-spellcheck-nr'
Note, selecting 'myspell-ns' instead of 'openoffice.org-spellcheck-ns'
Note, selecting 'myspell-ss' instead of 'openoffice.org-spellcheck-ss'
Note, selecting 'myspell-st' instead of 'openoffice.org-spellcheck-st'
Note, selecting 'myspell-tn' instead of 'openoffice.org-spellcheck-tn'
Note, selecting 'myspell-ve' instead of 'openoffice.org-spellcheck-ve'
Note, selecting 'myspell-xh' instead of 'openoffice.org-spellcheck-xh'
Note, selecting 'myspell-zu' instead of 'openoffice.org-spellcheck-zu'
Note, selecting 'mythes-de' instead of 'openoffice.org-thesaurus-de'
Note, selecting 'mythes-de-ch' instead of 'openoffice.org-thesaurus-de-ch'
Note, selecting 'mythes-en-au' instead of 'openoffice.org-thesaurus-en-au'
Note, selecting 'mythes-pl' instead of 'openoffice.org-thesaurus-pl'
Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-en-ca'
Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-fi'
Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-ga'
Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-id'
Package 'openoffice.org-calc' is not installed, so not removed
Package 'openoffice.org-kde' is not installed, so not removed
Note, selecting 'myspell-fr-gut' instead of 'openoffice.org-spellcheck-fr-fr'
Note, selecting 'myspell-tl' instead of 'openoffice.org-spellcheck-tl'
Package 'openoffice.org-dmaths' is not installed, so not removed
Package 'openoffice.org-bundled' is not installed, so not removed
Package 'openoffice.org-ure' is not installed, so not removed
Package 'openoffice.org-debian-menus' is not installed, so not removed
Package 'openoffice.org-hyphenation' is not installed, so not removed
Package 'openoffice.org-hyphenation-lt' is not installed, so not removed
尝试清除 LibreOffice 会产生类似的消息,告诉我没有安装任何与 Libreoffice 相关的东西,但是 sudo apt list --installed
有(连同 openoffice):
libreoffice-core/xenial-updates,xenial-security,now 1:5.1.6~rc2-0ubuntu1~xenial1 amd64 [installed,automatic]
libreoffice-draw/xenial-updates,xenial-security,now 1:5.1.6~rc2-0ubuntu1~xenial1 amd64 [installed]
libreoffice-style-galaxy/xenial-updates,xenial-updates,xenial-security,xenial-security,now 1:5.1.6~rc2-0ubuntu1~xenial1 all [installed,auto-removable]
libreoffice-style-human/xenial-updates,xenial-updates,xenial-security,xenial-security,now 1:5.1.6~rc2-0ubuntu1~xenial1 all [installed,auto-removable]
dpkg 管理器由于未满足的依赖关系而完全变砖,我无法清除任何东西,因为它说找不到它,而且由于冲突我无法安装任何东西。我考虑过删除似乎造成这种困惑的“soffice”目录,但我不知道这有多明智。
我是 Linux 的新手,我希望我在显示错误报告方面足够全面。
最佳答案
好的,我知道了。出于某种原因,sudo apt-get remove
或 purge
无法正常工作,我使用了 - dpkg -r --force-depends $pkg
并一一删除错误中指定的包。
任何关于为什么这有效的解释和 sudo apt-get remove
或 purge
都欢迎,以便我学习。
关于linux - Elementary OS - LibreOffice/OpenOffice 冲突,Dpkg 错误(未满足的依赖项) - 陷入循环,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43380219/
我想在我的 OpenOffice writer-document 中放置一个“签名字段”。 我需要 iOS/gPlay 应用程序 "PDF Forms"在触摸屏上签署 PDF 文档(手写/笔)。 根据
我已经以动态填充的Libre / OpenOffice Base形式获得了表控件。 我想更改其高度以匹配行数。 怎么做? 我已经尝试更改getSize() / setSize()和height属性,但
我在 Calc 电子表格中有几个数据列,每个列有 400 到 500 个条目。对于这些列中的每一列,我只想简单地找到均值和标准差,但不知道如何进行。 有人可以用简单而非技术性的语言逐步指导我如何做到这
我有两列有数字。当另一个有重复时,另一个只有一次数字。这些列中的数字不匹配。我需要在 B 列中找到在 A 列中匹配的所有数字。 这可能更好地解释了它: 甲乙 1 2 2 2 4 5 6 5 7 6 8
我想为 Calc 编写一个返回 #VALUE 的 Basic 函数!可使用 ISERR() 进行测试。 Function foo() foo = #VALUE! End Function 但是
我知道 OpenOffice.org 中的风格 .... 但 我想要与 HTML 样式相同的内联样式, 喜欢 (类似的东西)......这可能吗? 如果你知道这样的例子或文章,请引用我。 最佳答案
我正在尝试将 openOffice 作为 CentOS(非图形)服务器上的服务启动。 soffice -headless -nologo -nofirststartwizard -accept="so
有没有办法像在其他语言中一样在 OpenOffice Basic 中继续循环? For i = 0 To 10 If i = 5 Then Continue For # Not work
我正在尝试使用 OpenOffice 在 WinXP MSVC 2008.NET 上编写一个简单的“Hello World”窗口3.0 API和SDK。 这篇文章对于初学者来说很重要... http:
基本上,我希望 LibreOffice Calc 做我告诉它的,而不是它想要的。 例如: 当我输入 1.1.12 时,我想在那个单元格中有 1.1.12,而不是 01.01.2012 或其他什么。 当
让我们看看这个例子: 我有 HTML 标记的文本: Example text 我有 *.odt(OpenDocument 文本)文档,我想在其中放置此 HTML 文本,其格式取决于 HTML 标签(在
有没有什么方法可以在 linux 上将 odt 文档转换为 doc 或 rtf 而不使用 openoffice 或任何依赖于安装 openoffice 的库? 最佳答案 OpenOffice.org
我想过滤掉特定列上具有特定颜色的行。我尝试几乎到处搜索但找不到答案。希望大家给点好的建议,谢谢。 最佳答案 据我所知,目前没有内置函数允许根据单元格的格式选择单元格。但在 this OOo forum
我需要使用 OpenOffice Java API 复制文档部分并将其粘贴到另一个文档部分。到目前为止,我已经设法复制源文档部分的文本并将其粘贴到目标文档的部分(参见下面的示例)。 但是,问题是非文本
我有一个小问题,我需要计算控制台内的字数才能阅读 doc、docx、pptx、ppt、xls、xlsx、odt、pdf ......所以不要建议我 | wc -w 或 grep 因为它们只适用于文本或
是否可以将单元格的内容放在公式中。我所说的公式是指数学公式编辑器(插入-> 对象-> 公式)。 最佳答案 据我所知,无法从公式中引用单元格。数学公式编辑器对 OO Calc 一无所知。但是,您可以在需
在第一张原始数据和第二张修改数据中,如果 sheet1 和 sheet2 数据不匹配,我想比较两个工作表数据并用颜色标记。 我有两个不同的工作表,数据如下。 工作表 1: --------A-----
关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。 想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。 5年前关闭。 Improve thi
我编辑了一个来自客户的文档,其中有一些亮点,然后决定删除评论中的亮点。 无论出于何种原因,该文档突出显示了许多项目符号和编号列表部分,当我尝试选择整个文档并将突出显示更改为“无填充”时,我无法还原这些
我是 Calc 的新手,但我是 Excel 的老手。不幸的是,我没有后者。我正在尝试使用我需要使用的数据创建一个新的单元格,如下所示 AF Afghanistan AL Albania D
我是一名优秀的程序员,十分优秀!