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

No Release file for Ubuntu 24.04 LTS #5077

Open
aklehm opened this issue Jun 5, 2024 · 5 comments
Open

No Release file for Ubuntu 24.04 LTS #5077

aklehm opened this issue Jun 5, 2024 · 5 comments

Comments

@aklehm
Copy link

aklehm commented Jun 5, 2024

Description

I want to install CouchDB on a Ubuntu Server 24.04 LTS and followed the offical docs here: CouchDB docs

But when update the repositores with sudo apt update, I get the following error messages.

Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease
Ign:5 https://apache.jfrog.io/artifactory/couchdb-deb noble InRelease
Err:6 https://apache.jfrog.io/artifactory/couchdb-deb noble Release
  404   [IP: 44.226.59.123 443]
Reading package lists... Done
E: The repository 'https://apache.jfrog.io/artifactory/couchdb-deb 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.

Steps to Reproduce

Fresh installation of Ubuntu Server 24.04 LTS

sudo apt update
sudo apt upgrade

Enabling the Apache CouchDB package repository

sudo apt install -y curl apt-transport-https gnupg
curl https://couchdb.apache.org/repo/keys.asc | gpg --dearmor | sudo tee /usr/share/keyrings/couchdb-archive-keyring.gpg >/dev/null 2>&1
source /etc/os-release
echo "deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ ${VERSION_CODENAME} main" | sudo tee /etc/apt/sources.list.d/couchdb.list >/dev/null
sudo apt update

Expected Behaviour

Update repositories und install CouchDB after enabling the Apache CouchDB package repository

Your Environment

Hardware: Raspberry Pi 3B
OS: Ubuntu Server 24.04 LTS

  • CouchDB version used: latest
  • Browser name and version: -
  • Operating system and version: Ubuntu Server 24.04 LTS
@big-r81
Copy link
Contributor

big-r81 commented Jun 5, 2024

Hi,

Ubuntu 24.04 LTS isn't listed under the convenience binary packages section in our docs, so you get the error message you encountered. I think and hope that this will be done in the near future.

In the meantime you could use the Snap package or build CouchDB on your Raspi by yourself.

@goobemaster
Copy link

goobemaster commented Jul 6, 2024

@aklehm Docs does not explicitly explain that you have to either set this env variable or replace ${VERSION_CODENAME} to a OS version code name, in my case it was "bookworm" for Debian.

Try running "lsb_release -cs". If you get a correct code name you could do:

echo "deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ ${lsb_release -cs} main" | sudo tee /etc/apt/sources.list.d/couchdb.list >/dev/null

But if you've run the command already fix the issue by manually editing /etc/apt/sources.list.d/couchdb.list

Hmm. Official page does not list the code name for Ubuntu 24.04 🤷
https://wiki.ubuntu.com/DevelopmentCodeNames

So, while this is not a bug, the docs could be improved imho.

@alleycat58uk
Copy link

Is there an ETA for adding a convenience package for Ubuntu 24.04 LTS?

@DarrenCook
Copy link

Is the "not-a-bug" tag what is stopping this getting sorted?

We want to use the official package on Ubuntu24.04 LTS, but can't.

We tried using the "jammy" version with:
echo "deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ jammy main" | sudo tee /etc/apt/sources.list.d/couchdb.list >/dev/null

But that gives:

The following packages have unmet dependencies:
 couchdb : Depends: libmozjs-78-0 (>= 78.15.0) but it is not installable
      Depends: libicu70 (>= 70.1-1~) but it is not installable

@big-r81
Copy link
Contributor

big-r81 commented Dec 14, 2024

Is the "not-a-bug" tag what is stopping this getting sorted?

The show-stopper here was the missing support for SpiderMonkey versions >91. With commit 2cfb0c3 we added support for those versions and with commit a79a290 we added package support for Noble.

In the meantime, you could test pre-build binaries from the main branch, e.g. https://ci-couchdb.apache.org/job/jenkins-cm1/job/FullPlatformMatrix/job/main/lastSuccessfulBuild/artifact/pkgs/ until we make an official release for Noble.

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

No branches or pull requests

5 participants