Home > Net >  Citus installation failing on GCP
Citus installation failing on GCP

Time:09-30

After installing postgresql(13) on GCP, I tried installing citus using the command

curl https://install.citusdata.com/community/rpm.sh | sudo bash

However I run into the following error. Any guidance/suggestions would be helpful.

[gavin_smith_21@dev-data-primary01 tmp]$ curl https://install.citusdata.com/community/rpm.sh | sudo bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  8667  100  8667    0     0  21791      0 --:--:-- --:--:-- --:--:-- 21831
Detected operating system as centos/7.
Checking for curl...
Detected curl...
Checking for postgresql13-server...
Detected postgresql13-server...
Checking for EPEL repositories...
Detected EPEL repoitories
Downloading repository file: https://repos.citusdata.com/community/config_file.repo?os=centos&dist=7&source=script... 
curl: (7) Failed to connect to 2600:9000:20be:dc00:0:fb01:a740:93a1: Network is unreachable
Unable to run: 
    curl https://repos.citusdata.com/community/config_file.repo?os=centos&dist=7&source=script

The link curl https://repos.citusdata.com/community/config_file.repo?os=centos&dist=7&source=script works on my browser though.

CodePudding user response:

Looks like a temporary issue on repository side. I just tried it and it works:

[sergiusz@host ~]$ curl https://install.citusdata.com/community/rpm.sh | sudo bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  8667  100  8667    0     0  25686      0 --:--:-- --:--:-- --:--:-- 25718
Detected operating system as centos/7.
Checking for curl...
Detected curl...
Checking for postgresql13-server...
Installing pgdg13 repo... done.
Checking for EPEL repositories...
Detected EPEL repoitories
Downloading repository file: https://repos.citusdata.com/community/config_file.repo?os=centos&dist=7&source=script.
.. done.
Installing pygpgme to verify GPG signatures... done.
Installing yum-utils... done.
Generating yum cache for citusdata_community... done.
The repository is set up! You can now install packages.

EDIT:
This file can be also downloaded manually:
curl "https://repos.citusdata.com/community/config_file.repo?os=centos&dist=7&source=script" -o /etc/yum.repos.d/citusdata_community.repo

  • Related