当尝试只安装基于为Debian、Ubuntu和派生程序安装社区的office服务器时,请逐步安装直到最新的命令
sudo apt-get install onlyoffice-communityserver
获取此错误:
The following packages have unmet dependencies: onlyoffice-communityserver :
Depends: mono-webserver-hyperfastcgi but it is not going to be installed
Depends: elasticsearch (= 6.5.0) but 7.2.0 is to be installed
当尝试安装elasticsearch 6.5.0时,获得一个错误
https://discuss.elastic.co/t/install-of-apt-package-is-failing/150385/2
那该怎么办呢?
发布于 2020-02-11 12:41:19
经过一段时间后,解决办法是:
对于elasticsearch错误,需要安装java
apt-get install -yq openjdk-11-jdk
如果找不到
add-apt-repository -y ppa:openjdk-r/ppa && apt update
得到一个错误,尝试
apt-get install -yq openjdk-8-jre-headless
如何下载elasticsearch?
只需将url的验证从rpm更改为deb即可。
https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.5.0.deb
通过向源添加repo链接来了解mono-webserver-hyperfastcgi
echo "deb https://d2nlctn12v279m.cloudfront.net/repo/mono/ubuntu bionic main" | tee /etc/apt/sources.list.d/mono-extra.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5
apt update
apt install mono-webserver-hyperfastcgi
apt install mono-webserver-hyperfastcgi="0.4-7"
或
apt install mono-webserver-hyperfastcgi="0.4-4"
检查此文件或尝试使用脚本使用提供的脚本从RPM/DEB包中安装社区安装它
发布于 2020-02-11 14:02:48
对于有关“Elastic 6.5.0”的安装问题,这是一种可能的解决方案(手动安装弹性搜索6.5.0):
https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html
您必须在服务器上的终端控制台中标记弹性搜索包:"sudo apt-mark Hold“
资料来源-链接:如何防止特定包的更新?
在此之后,您可以“升级/更新”您的Onlyoffice-CommunityServer。
祝好运。
辛塞利河
发布于 2022-08-19 12:30:25
如果您是Ubuntu20.04或Ubuntu官方版本的用户,可以轻松地从snap包安装ONLYOFFICE桌面编辑程序。要通过snap在Ubuntu 20.04上安装ONLYOFFICE桌面编辑器,只需运行以下命令:
snap install onlyoffice-desktopeditors
snap run onlyoffice-desktopeditors
https://askubuntu.com/questions/1209717
复制相似问题