使用新添加的 repo 的“apt-get update”可以工作,但尝试安装时找不到软件包

使用新添加的 repo 的“apt-get update”可以工作,但尝试安装时找不到软件包

我正在尝试在运行 Debian Jessie 的虚拟机上安装 GitLab。

我已通过运行以下命令添加了 GitLab 存储库: curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash

到目前为止一切都运行良好。Evenapt-get update运行良好。现在这个新 repo 中有条目/var/lib/apt/lists。但运行时找不到包apt-get install gitlab-ee。Evenapt-cache search gitlab什么也找不到。

/etc/apt/sources.list有以下内容:

#deb cdrom:[Debian GNU/Linux 8.3.0 _Jessie_ - Official i386 NETINST Binary-1 20160123-18:00]/ jessie main
deb http://ftp.de.debian.org/debian/ jessie main
deb-src http://ftp.de.debian.org/debian/ jessie main
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

# jessie-updates, previously known as 'volatile'
deb http://ftp.de.debian.org/debian/ jessie-updates main
deb-src http://ftp.de.debian.org/debian/ jessie-updates main

新的 repo 列表如下/etc/apt/sources.list.d/gitlab_gitlab-ee.list

# this file was generated by packages.gitlab.com for
# the repository at https://packages.gitlab.com/gitlab/gitlab-ee

deb https://packages.gitlab.com/gitlab/gitlab-ee/debian/ jessie main
deb-src https://packages.gitlab.com/gitlab/gitlab-ee/debian/ jessie main

有任何想法吗?


apt-get update输出(抱歉 - 这是德语:Holen = Get)

root@host:~# apt-get update
OK   https://deb.nodesource.com jessie InRelease
OK   http://security.debian.org jessie/updates InRelease
OK   https://deb.nodesource.com jessie/main Sources
OK   https://deb.nodesource.com jessie/main i386 Packages
Holen: 1 https://deb.nodesource.com jessie/main Translation-de_DE [162 B]
Holen: 2 https://deb.nodesource.com jessie/main Translation-de [162 B]
OK   https://packages.gitlab.com jessie InRelease
Holen: 3 https://deb.nodesource.com jessie/main Translation-en [162 B]
Holen: 4 https://deb.nodesource.com jessie/main Translation-de_DE [162 B]
OK   https://packages.gitlab.com jessie/main Sources
Holen: 5 https://deb.nodesource.com jessie/main Translation-de [162 B]
OK   https://packages.gitlab.com jessie/main i386 Packages
Holen: 6 https://deb.nodesource.com jessie/main Translation-en [162 B]
Holen: 7 https://packages.gitlab.com jessie/main Translation-de_DE [162 B]
Holen: 8 https://deb.nodesource.com jessie/main Translation-de_DE [162 B]
Holen: 9 https://packages.gitlab.com jessie/main Translation-de [162 B]
Holen: 10 https://deb.nodesource.com jessie/main Translation-de [162 B]
Holen: 11 https://packages.gitlab.com jessie/main Translation-en [162 B]
Holen: 12 https://deb.nodesource.com jessie/main Translation-en [162 B]
Holen: 13 https://packages.gitlab.com jessie/main Translation-de_DE [162 B]
Holen: 14 https://deb.nodesource.com jessie/main Translation-de_DE [162 B]
Holen: 15 https://packages.gitlab.com jessie/main Translation-de [162 B]
Holen: 16 https://deb.nodesource.com jessie/main Translation-de [162 B]
Holen: 17 https://packages.gitlab.com jessie/main Translation-en [162 B]
Holen: 18 https://deb.nodesource.com jessie/main Translation-en [162 B]
Holen: 19 https://packages.gitlab.com jessie/main Translation-de_DE [162 B]
Holen: 20 https://deb.nodesource.com jessie/main Translation-de_DE [162 B]
Ign https://deb.nodesource.com jessie/main Translation-de_DE
Holen: 21 https://packages.gitlab.com jessie/main Translation-de [162 B]
Holen: 22 https://packages.gitlab.com jessie/main Translation-en [162 B]
Holen: 23 https://deb.nodesource.com jessie/main Translation-de [162 B]
Ign https://deb.nodesource.com jessie/main Translation-de
Holen: 24 https://packages.gitlab.com jessie/main Translation-de_DE [162 B]
Holen: 25 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Holen: 26 https://packages.gitlab.com jessie/main Translation-de [162 B]
Holen: 27 https://packages.gitlab.com jessie/main Translation-en [162 B]
Holen: 28 https://packages.gitlab.com jessie/main Translation-de_DE [162 B]
Ign https://packages.gitlab.com jessie/main Translation-de_DE
Holen: 29 https://packages.gitlab.com jessie/main Translation-de [162 B]
Ign https://packages.gitlab.com jessie/main Translation-de
Holen: 30 https://packages.gitlab.com jessie/main Translation-en [162 B]
Ign https://packages.gitlab.com jessie/main Translation-en
Ign http://ftp.de.debian.org jessie InRelease
OK   http://ftp.de.debian.org jessie-updates InRelease
OK   http://ftp.de.debian.org jessie Release.gpg
OK   http://ftp.de.debian.org jessie Release
OK   http://ftp.de.debian.org jessie-updates/main Sources
Holen: 31 http://ftp.de.debian.org jessie-updates/main i386 Packages/DiffIndex [11,8 kB]
Holen: 32 http://ftp.de.debian.org jessie-updates/main Translation-en/DiffIndex [3.688 B]
OK   http://ftp.de.debian.org jessie/main Sources
OK   http://ftp.de.debian.org jessie/main i386 Packages
OK   http://ftp.de.debian.org jessie/main Translation-de_DE
OK   http://ftp.de.debian.org jessie/main Translation-de
OK   http://ftp.de.debian.org jessie/main Translation-en
OK   http://security.debian.org jessie/updates/main Sources
OK   http://security.debian.org jessie/updates/main i386 Packages
OK   http://security.debian.org jessie/updates/main Translation-en
Es wurden 15,5 kB in 10 s geholt (1.505 B/s).
Paketlisten werden gelesen... Fertig

答案1

#deb cdrom:[Debian GNU/Linux 8.3.0 _Jessie_ - Official i386 NETINST Binary-1 20160123-18:00]/ jessie main

我认为这是因为你运行的是 32 位 Debian,没有适用于 32 位 Debian 的软件包https://packages.gitlab.com/gitlab/gitlab-ee

您可能需要从源代码安装并为 32 位编译它或将系统升级到 64 位。

相关内容