Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install Citus in Ubuntu 24.04 #7692

Open
iopanda opened this issue Sep 29, 2024 · 5 comments
Open

Cannot install Citus in Ubuntu 24.04 #7692

iopanda opened this issue Sep 29, 2024 · 5 comments

Comments

@iopanda
Copy link

iopanda commented Sep 29, 2024

Hi team,

I got problem when I going to install Citus in Ubuntu 24.04. Here's the error:

$ curl https://install.citusdata.com/community/deb.sh | sudo bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  9887  100  9887    0     0  14487      0 --:--:-- --:--:-- --:--:-- 14497
Detected operating system as Ubuntu/noble.
Running apt-get update... done.
Checking for curl...
Detected curl...
Checking for gpg...
Detected gpg...
Checking for postgresql-16...
Detected postgresql-16...
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/citusdata_community.list... done.
Importing Citus Data Community gpg key... done.
Running apt-get update... done.

The repository is set up! You can now install packages.

$ sudo apt update
Hit:1 http://jp.archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://security.ubuntu.com/ubuntu noble-security InRelease
Ign:3 https://repos.citusdata.com/community/ubuntu noble InRelease
Hit:4 http://jp.archive.ubuntu.com/ubuntu noble-updates InRelease
Err:5 https://repos.citusdata.com/community/ubuntu noble Release
  404  Not Found [IP: 3.166.228.122 443]
Hit:6 http://jp.archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists... Done
E: The repository 'https://repos.citusdata.com/community/ubuntu noble Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

$ sudo apt-get -y install postgresql-16-citus-12.1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package postgresql-16-citus-12.1
E: Couldn't find any package by glob 'postgresql-16-citus-12.1'
E: Couldn't find any package by regex 'postgresql-16-citus-12.1'

Does Ubuntu 24.04 not be supported yet?

@wissam-khair
Copy link

it is the same issue here #4263

I couldn't open it again ... please we need support and help regarding this

@wissam-khair
Copy link

NOTE: not related only for ubuntu 24

@aggroot
Copy link

aggroot commented Sep 30, 2024

Please take care of this

@FellGleaming
Copy link

FellGleaming commented Oct 10, 2024

I too have this same issue ... looking at your package list, it appears you have Postgre16 packages for jammy and bionic, but not yet noble. Is this correct.?

@iopanda
Copy link
Author

iopanda commented Oct 11, 2024

@FellGleaming

I think what you said is the root cause. They didn't upload packages for noble.
So as the solution, I edited the source file in /etc/apt/sources.list.d/citusdata_community.list, replace the noble with jammy. Then do execute apt update then install, then everything looks fine.

# this file was generated by packagecloud.io for
# the repository at https://repos.citusdata.com/community

#deb [signed-by=/etc/apt/keyrings/citusdata_community-archive-keyring.gpg] https://repos.citusdata.com/community/ubuntu/ noble main
deb [signed-by=/etc/apt/keyrings/citusdata_community-archive-keyring.gpg] https://repos.citusdata.com/community/ubuntu/ jammy main
#deb-src [signed-by=/etc/apt/keyrings/citusdata_community-archive-keyring.gpg] https://repos.citusdata.com/community/ubuntu/ noble main
deb-src [signed-by=/etc/apt/keyrings/citusdata_community-archive-keyring.gpg] https://repos.citusdata.com/community/ubuntu/ jammy main

I'm not sure whether this is recommended by official or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants