Ubuntu 16.04にkolabをインストールしようとしていますが、ガイドが見つかりませんここ
しかし、考えるステップでエラーが発生します。apt-get update
これは大きな問題ではありませんが、次のコマンドを実行してkolabをインストールしようとすると、エラーが発生します。
順番に2つ挙げます:
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に関して2つの問題があります: 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リポジトリのエラーは、開発者がリリースキーを変更したことが原因です。詳細については、こちらをご覧ください。チケット次のコマンドで修正できます:
wget -q -O- https://obs.kolabsys.com/repositories/Kolab:/16/Ubuntu_16.04/Release.key | sudo apt-key add -