artifactoryubuntu-24.04

Problem installing JFrog Artifactory OSS on Ubuntu 24.04


I'm trying to install JFrog Artifactory OSS on Ubuntu 24.04. The JFrog Artifactory OSS Download page gives the following commands for downloading (installing) on Debian systems:

# To determine your distribution, run lsb_release -c or cat /etc/os-release
# Example:echo "deb https://releases.jfrog.io/artifactory/artifactory-pro-debs xenial main" | sudo tee -a /etc/apt/sources.list;
wget -qO - https://releases.jfrog.io/artifactory/api/gpg/key/public | sudo apt-key add -;
echo "deb https://releases.jfrog.io/artifactory/artifactory-debs {distribution} main" | sudo tee -a /etc/apt/sources.list;
sudo apt-get update && sudo apt-get install jfrog-artifactory-oss

The distribution (codename) for Ubuntu 24.04 is noble. When I run

sudo apt-get update && sudo apt-get install jfrog-artifactory-oss

I get

root@geoff-test4:/etc/apt# sudo apt-get update && sudo apt-get install jfrog-artifactory-oss
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:6 https://download.docker.com/linux/ubuntu focal InRelease
Hit:7 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:8 https://deb.nodesource.com/node_16.x nodistro InRelease
Hit:9 https://packages.microsoft.com/repos/code stable InRelease
Ign:10 https://releases.jfrog.io/artifactory/artifactory-debs noble InRelease
Hit:5 https://prod-cdn.packages.k8s.io/repositories/isv:/kubernetes:/core:/stable:/v1.31/deb  InRelease
Hit:11 https://releases.jfrog.io/artifactory/jfrog-debs focal InRelease
Err:12 https://releases.jfrog.io/artifactory/artifactory-debs noble Release
  404   [IP: 54.221.82.220 443]
Hit:13 https://packagecloud.io/github/git-lfs/ubuntu focal InRelease
Reading package lists... Done
E: The repository 'https://releases.jfrog.io/artifactory/artifactory-debs 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.

I believe problem is that https://releases.jfrog.io/artifactory/artifactory-debs/dists/ doesn't contain a noble subdirectory.

Other JFrog Artifactory OSS installation instructions for Ubuntu 24.04, such as HOW TO INSTALL JFROG ARTIFACTORY ON UBUNTU 22.O4 and How To Install JFrog Artifactory on Ubuntu 24.04 LTS, say to install from https://releases.jfrog.io/artifactory/artifactory-debs with a noble distribution.

So how do I install JFrog Artifactory OSS on Ubuntu 24.04 when https://releases.jfrog.io/artifactory/artifactory-debs/dists/ doesn't contain a noble subdirectory?


Solution

  • This issue is expected to be fixed with the next artifactory release. In the meantime, you can download the latest oss deb package from here and perform a direct install using the below command as mentioned in the official documentation

    wget https://releases.jfrog.io/artifactory/artifactory-debs/pool/jfrog-artifactory-oss/jfrog-artifactory-oss-7.104.12.deb
    
    sudo dpkg -i jfrog-artifactory-oss-7.104.10.deb