所以这看起来很简单,但我已经搜索了好几天了。
gitlab的安装出错了,因此我试图清除它以重新安装,但是我得到了以下信息:
dpkg: error processing package gitlab-ce (--remove):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
然而,试图安装它使它挂在6%,这是它最初的问题。我不再需要gitlab了(我在另一台机器上使用gitea ),但是这个问题阻止了我在任何时候安装任何东西,我使用
我们目前使用Reprepro提供各种专有包(例如安全代理)的内部发布,供应商只为直接消费提供.deb下载,而不是上游存储库。
我们可以很好地发布包,但是只有最新版本可以通过apt-cache madison somepackage检索。
我们本质上希望做GitLab能够做的事情,并使多个版本可用,如本例所示:
apt-cache madison gitlab-ce | head
gitlab-ce | 14.4.2-ce.0 | https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu bionic/main amd64 Packages
gi
我的Vagrantfile被设置为运行一个码头映像,我们称之为gitlab/gitlab-ce
Vagrant.configure("2") do |config|
config.vm.box = "centos/7"
config.vm.provision "docker" do |d|
d.run "gitlab/gitlab-ce"
end
end
运行vagrant provision会给我提供如下信息:
无法在本地找到图像“gitlab/gitlab-ce”
为什么它不能在本地找到我的git
这是我的系统(全新安装):
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
我已经安装了OpenSSH和Postfix,并添加了GitLab存储库,但是当我尝试安装GitLab时,我得到的结果是:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be
我不小心删除了gitlab-ce的git用户主目录(即/ home /git),但无论如何也找不到恢复它的方法。通常使用的mkhomedir_helper显然不适合这里,因为gitlab的用户主目录有一个特殊的结构,并且不从/etc/skel复制文件,所以谁能告诉我如何恢复该目录?这对gitlab-ce的运行非常重要。
我正在尝试将gitlab-ce 8.5源代码库迁移到gitlab-ce 8.15 omnibus。我们使用的是MySQL in source base but now we have to use thepsql和gitlab杂货。当我试图得到一个备份,所以它是失败的,因为一些空回购。
问题:是否有任何替代方式将源基移动到具有完全备份的总括?
现在,我正试图在虚拟机上为ubuntu安装gitlab。它的版本是15.10,它是64位.我试着按照这个安装它。但我犯了个错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gitlab-ce
/etc/apt/sources.list.d/gitlab_gitlab-ce.list的内容如下:
# this file was generated by packages.gitlab.com