Search code examples
curlgitlabdebiandpkgdebian-buster

How do I fix a Gitlab Runner install error?


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!


Solution

  • 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.