技术小黑屋

树莓派 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

  • https://gitlab.com/gitlab-org/omnibus-gitlab/issues/2767#note_54628738
  • https://askubuntu.com/questions/868064/e-the-package-ubuntu-mono-needs-to-be-reinstalled-but-i-cant-find-an-archive/868227#868227




快来解锁最新版 Typora,新用户券后仅需 84 元!
如何便宜的购买 office 365 ?
新版赤友 NTFS 助手来袭,正版超低价