我尝试按照网站。首先我使用 32 位的 Ubuntu server 14.04,因为我有 2 GB 的 RAM。
当我按照下面给出的说明操作时:
sudo apt-get install curl openssh-server ca-certificates postfix
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
sudo apt-get install gitlab-ce
我得到了以下输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gitlab-ce
我检查了我的存储库中没有任何包 gitlab-ce:
$ apt-cache search gitlab
ruby-grack - Git Smart HTTP Server Rack implementation in Ruby/Rack
ruby-grit - Ruby Git bindings
ruby-omniauth-ldap - LDAP strategy for Ruby OmniAuth library
我搜索过包云并且我找不到适用于 Ubuntu 14.04 trusty 的 gitlab x86 包。
我考虑过替代安装方法。但在这种情况下我没有找到办法做到这一点。
我考虑过下载源代码并针对 32 位进行编译。
这是最好的方法吗,还是还有其他方法?
编辑
apt-get update 的输出:
Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Ign http://archive.canonical.com trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease
Ign http://es.archive.ubuntu.com trusty InRelease
Get:2 http://archive.canonical.com trusty Release.gpg [933 B]
Get:3 http://extras.ubuntu.com trusty Release.gpg [72 B]
Get:4 http://es.archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:5 http://archive.canonical.com trusty Release [9359 B]
Hit http://extras.ubuntu.com trusty Release
Ign http://extras.ubuntu.com trusty Release
Get:6 http://security.ubuntu.com trusty-security/main i386 Packages [528 kB]
Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Ign http://archive.canonical.com trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease
Ign http://es.archive.ubuntu.com trusty InRelease
Get:2 http://archive.canonical.com trusty Release.gpg [933 B]
Get:3 http://extras.ubuntu.com trusty Release.gpg [72 B]
Get:4 http://es.archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Hit http://extras.ubuntu.com trusty Release
Ign http://extras.ubuntu.com trusty Release
Get:5 http://archive.canonical.com trusty Release [9359 B]
Ign http://extras.ubuntu.com trusty/main i386 Packages/DiffIndex
Hit http://archive.canonical.com trusty/partner i386 Packages
Get:6 http://security.ubuntu.com trusty-security/main i386 Packages [528 kB]
Hit http://es.archive.ubuntu.com trusty-backports InRelease
Get:7 http://archive.canonical.com trusty/partner Translation-en [4593 B]
Get:8 http://es.archive.ubuntu.com trusty Release.gpg [933 B]
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://es.archive.ubuntu.com trusty-updates/main i386 Packages
Get:9 http://es.archive.ubuntu.com trusty-updates/restricted i386 Packages [16.2 kB]
Hit https://packages.gitlab.com trusty InRelease
Hit http://es.archive.ubuntu.com trusty-updates/universe i386 Packages
Hit https://packages.gitlab.com trusty/main Sources
Get:10 http://es.archive.ubuntu.com trusty-updates/multiverse i386 Packages [14.5 kB]
Get:11 http://es.archive.ubuntu.com trusty-updates/main Translation-en [457 kB]
Hit https://packages.gitlab.com trusty/main i386 Packages
Ign http://extras.ubuntu.com trusty/main Translation-en
Get:12 https://packages.gitlab.com trusty/main Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-es
Ign https://packages.gitlab.com trusty/main Translation-en
Ign https://packages.gitlab.com trusty/main Translation-es
Get:13 http://security.ubuntu.com trusty-security/restricted i386 Packages [13.1 kB]
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Get:14 http://security.ubuntu.com trusty-security/multiverse i386 Packages [4301 B]
Hit http://security.ubuntu.com trusty-security/main Translation-en
Get:15 http://security.ubuntu.com trusty-security/multiverse Translation-en [2201 B]
Get:16 http://security.ubuntu.com trusty-security/restricted Translation-en [3349 B]
Get:17 http://es.archive.ubuntu.com trusty-updates/multiverse Translation-en [7340 B]
Get:18 http://security.ubuntu.com trusty-security/universe Translation-en [86.6 kB]
Get:19 http://es.archive.ubuntu.com trusty-updates/restricted Translation-en [3842 B]
Get:20 http://es.archive.ubuntu.com trusty-updates/universe Translation-en [207 kB]
Get:21 http://es.archive.ubuntu.com trusty-backports/main i386 Packages [13.3 kB]
Hit http://es.archive.ubuntu.com trusty-backports/restricted i386 Packages
Get:22 http://es.archive.ubuntu.com trusty-backports/universe i386 Packages [43.2 kB]
Hit http://es.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Get:23 http://es.archive.ubuntu.com trusty-backports/main Translation-en [7493 B]
Get:24 http://es.archive.ubuntu.com trusty-backports/multiverse Translation-en [1215 B]
Get:25 http://es.archive.ubuntu.com trusty-backports/restricted Translation-en [28 B]
Get:26 http://es.archive.ubuntu.com trusty-backports/universe Translation-en [36.8 kB]
Hit http://es.archive.ubuntu.com trusty Release
Hit http://es.archive.ubuntu.com trusty/main i386 Packages
Hit http://es.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://es.archive.ubuntu.com trusty/universe i386 Packages
Hit http://es.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://es.archive.ubuntu.com trusty/main Translation-en
Hit http://es.archive.ubuntu.com trusty/main Translation-es
Hit http://es.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://es.archive.ubuntu.com trusty/multiverse Translation-es
Hit http://es.archive.ubuntu.com trusty/restricted Translation-en
Hit http://es.archive.ubuntu.com trusty/restricted Translation-es
Hit http://es.archive.ubuntu.com trusty/universe Translation-en
Hit http://es.archive.ubuntu.com trusty/universe Translation-es
Fetched 1593 kB in 39s (40.3 kB/s)
Reading package lists...