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 · 3 comments
Open

No Release file for Ubuntu 24.04 LTS #5077

aklehm opened this issue Jun 5, 2024 · 3 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?

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

4 participants