I have my own GitLab-Instance set up and wanted to install GitLab-Runner on my Instance.
I followed the docs (https://docs.gitlab.com/runner/install/linux-manually.html) but I am stuck after downloading the package with curl -LJO "https://gitlab-runner-downloads.s3.amazonaws.com/latest/deb/gitlab-runner_x84_64.deb"
.
Because after the curl, dpkg -i gitlab-runner_x84_64.deb
is throwing an error which says, that gitlab-runner_x84_64 is not an archive in Debian-Format, and that the dpkg-deb –control subprocess is returning errorcode 2.
How do I fix this?
My VM runs Debian 10.
Thanks in advance!
3
Answers
Okey, so it turns out that apparently the
curl -LJO "https://gitlab-runner-downloads.s3.amazonaws.com/latest/deb/gitlab-runner_x84_64.deb"
download was defect.I have now used a different URL (from https://gitlab-runner-downloads.s3.amazonaws.com/latest/index.html) and the installation worked.
You have a similar error in this thread
In your case, since you are using debian 10 "buster", you might need to adjust the repo accordingly, as in here, knowing that Debian Buster is not be supported until GitLab 12.2.
You should use the following command described on the website :
Dowloading the
.deb
packagegitlab-ce_13.8.1-ce.0_amd64.deb
for debian 10 (Buster).