kolab 在安装指南中出现错误

kolab 在安装指南中出现错误

我正在尝试将 kolab 安装到我的 ubuntu 16.04 上,但找到了指南这里
但我在执行此步骤时遇到错误,apt-get update认为这不是什么大问题,但当我继续尝试以下命令安装 kolab 时,也出现错误

以下按顺序列出:

root@pe-fw:~# apt-get update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Hit:2 http://nl.archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://nl.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://nl.archive.ubuntu.com/ubuntu xenial-backports InRelease
Ign:5 http://obs.kolabsys.com/repositories/Kolab:/16/Ubuntu_16.04 ./ InRelease
Get:6 http://obs.kolabsys.com/repositories/Kolab:/16/Ubuntu_16.04 ./ Release [993 B]
Get:7 http://obs.kolabsys.com/repositories/Kolab:/16/Ubuntu_16.04 ./ Release.gpg [827 B]
Ign:8 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial InRelease
Ign:9 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial Release
Ign:10 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main Sources
Ign:11 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main ppc64el Packages
Ign:12 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main amd64 Packages
Ign:13 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main i386 Packages
Ign:14 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main all Packages
Ign:15 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main Translation-en_US
Ign:7 http://obs.kolabsys.com/repositories/Kolab:/16/Ubuntu_16.04 ./ Release.gpg
Hit:16 http://obs.kolabsys.com/repositories/Kolab:/16/Ubuntu_16.04 ./ Sources
Hit:17 http://obs.kolabsys.com/repositories/Kolab:/16/Ubuntu_16.04 ./ Packages
Ign:18 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main Translation-en
Ign:10 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main Sources
Ign:11 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main ppc64el Packages
Ign:12 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main amd64 Packages
Ign:13 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main i386 Packages
Ign:14 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main all Packages
Ign:15 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main Translation-en_US
Ign:18 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main Translation-en
Ign:10 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main Sources
Ign:11 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main ppc64el Packages
Ign:12 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main amd64 Packages
Ign:13 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main i386 Packages
Ign:14 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main all Packages
Ign:15 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main Translation-en_US
Ign:18 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main Translation-en
Ign:10 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main Sources
Ign:11 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main ppc64el Packages
Ign:12 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main amd64 Packages
Ign:13 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main i386 Packages
Ign:14 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main all Packages
Ign:15 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main Translation-en_US
Ign:18 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main Translation-en
Ign:10 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main Sources
Ign:11 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main ppc64el Packages
Ign:12 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main amd64 Packages
Ign:13 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main i386 Packages
Ign:14 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main all Packages
Ign:15 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main Translation-en_US
Ign:18 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main Translation-en
Err:10 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main Sources
  404  Not Found
Ign:11 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main ppc64el Packages
Ign:12 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main amd64 Packages
Ign:13 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main i386 Packages
Ign:14 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main all Packages
Ign:15 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main Translation-en_US
Ign:18 http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial/main Translation-en
Fetched 109 kB in 4s (23.9 kB/s)
Reading package lists... Done
W: The repository 'http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://obs.kolabsys.com/repositories/Kolab:/16/Ubuntu_16.04 ./ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A01D0CA80038D0DB
W: The repository 'http://obs.kolabsys.com/repositories/Kolab:/16/Ubuntu_16.04 ./ Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://mirror.jmu.edu/pub/mariadb/repo/10.1/ubuntu/dists/xenial/main/source/Sources  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@pe-fw:~# apt-get install kolab
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:
 kolab : Depends: kolab-imap but it is not going to be installed
         Depends: kolab-webclient but it is not going to be installed
         Depends: kolab-webadmin but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

答案1

此处 apt 有两个问题:您的配置中 mariadb 和 kolab 的存储库均已损坏。要安装 MariaDB 10,您可以按照其他指南操作,例如你只需要做这个块

sudo apt-get install software-properties-common
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
sudo add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu xenial main

您看,它与您的指南中的非常相似。

kolab repo 中的错误是由更改发布密钥的开发人员引起的。有关此问题的更多信息,请参见可以使用以下命令修复:

wget -q -O- https://obs.kolabsys.com/repositories/Kolab:/16/Ubuntu_16.04/Release.key | sudo apt-key add -

相关内容