GitLab 14.9.5-ce.0がインストールできない


概要

アップグレードパスに従って、GitLabのバージョンを上げていたが、14.9.5でエラーになってしまい詰まった。

sudo apt install --upgrade gitlab-ce=14.9.5-ce.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '14.9.5-ce.0' for 'gitlab-ce' was not found

環境

OS

18.04.6 LTS (Bionic Beaver)

インストール元

$ cat /etc/apt/sources.list.d/gitlab_gitlab-ce.list
# this file was generated by packages.gitlab.com for
# the repository at https://packages.gitlab.com/gitlab/gitlab-ce

deb https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/ bionic main
deb-src https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/ bionic main

調査

apt updateしてみたところ、

$ sudo apt update
...(中略)...
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu bionic InRelease: The following signatures were invalid: EXPKEYSIG 3F01618A51312F3F GitLab B.V. (package repository signing key) <packages@gitlab.com>
W: Failed to fetch https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/dists/bionic/InRelease  The following signatures were invalid: EXPKEYSIG 3F01618A51312F3F GitLab B.V. (package repository signing key) <packages@gitlab.com>
W: Some index files failed to download. They have been ignored, or old ones used instead.

鍵のエラーが出ている?

結論

curl -s https://packages.gitlab.com/gpg.key | sudo apt-key add -

参考

https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/5245

  
  • Good (0)
カテゴリー: 未分類 パーマリンク

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です