技术小黑屋

树莓派 Gitlab问题整理

E: Unable to locate package gitlab-ce

  • 不要使用sudo curl -sS https://packages.gitlab.com/install/repositories/gitlab/raspberry-pi2/script.deb.sh | sudo bash
  • 替换使用这个sudo curl -sS https://packages.gitlab.com/install/repositories/gitlab/raspberry-pi2/script.deb.sh | sudo os=raspbian dist=jessie bash
  • 然后执行sudo apt install gitlab-ce

E: The package gitlab-ce needs to be reinstalled, but I can’t find an archive for it.

  • 执行sudo dpkg --remove --force-all gitlab-ce

References