I have followed the instructions from https://docs.couchdb.org/en/stable/install/unix.html#enabling-the-apache-couchdb-package-repository to install CouchDB in my Ubuntu vps. I have ran the following commands:
sudo apt update && 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/ focal main" \
| sudo tee /etc/apt/sources.list.d/couchdb.list >/dev/null
However, I am getting an error after running sudo apt update that says the following:
E: Failed to fetch https://apache.jfrog.io/artifactory/couchdb-deb/dists/focal/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'https://apache.jfrog.io/artifactory/couchdb-deb focal InRelease' is not signed.
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.
How to fix this issue?