New OpenNMS Repositories Beta

While the current mirrors will continue to run for some time, we are in the process of moving to Cloudsmith for our RPM and Debian repositories soon. Current CircleCI builds have been pushing to them for a few months now, and everything seems to be working.

I would love to get some testers to try it out and make sure everything works as expected.

Doing so is pretty simple.

RPM-based Distributions

Just uninstall the old opennms-repo-<repo>-<distro> package if you have it installed, and then install the appropriate repo RPM from here instead. (This is obviously a temporary location, when we go live there will be official links for this.) This should transparently work the same as it did before, just with a different site as the source for packages.

For example, if you want to install the OpenNMS Stable repository on CentOS 7, you would run:

yum -y install https://www.opennms.com/~ranger/repofiles/opennms-repo-stable-1.0.0-1.el7.noarch.rpm

Debian-based Distributions

Comment out or rename any existing /etc/apt/sources.list.d/opennms*.list files, and then run one of these sets of commands depending on which repo you want to point to:

Stable

wget 'https://packages.opennms.com/public/common/cfg/gpg/gpg.57801F6F5B9EFD43.key' | apt-key add -
cat <<END >/etc/apt/sources.list.d/opennms.list
deb https://packages.opennms.com/public/common/deb/debian jessie main
# deb-src https://packages.opennms.com/public/common/deb/debian jessie main
deb https://packages.opennms.com/public/stable/deb/debian jessie main
# deb-src https://packages.opennms.com/public/stable/deb/debian jessie main
END

Testing (26.x Snapshots)

wget 'https://packages.opennms.com/public/common/cfg/gpg/gpg.57801F6F5B9EFD43.key' | apt-key add -
cat <<END >/etc/apt/sources.list.d/opennms.list
deb https://packages.opennms.com/public/common/deb/debian jessie main
# deb-src https://packages.opennms.com/public/common/deb/debian jessie main
deb https://packages.opennms.com/public/testing/deb/debian jessie main
# deb-src https://packages.opennms.com/public/testing/deb/debian jessie main
END

Develop (Future 27.x Snapshots)

wget 'https://packages.opennms.com/public/common/cfg/gpg/gpg.57801F6F5B9EFD43.key' | apt-key add -
cat <<END >/etc/apt/sources.list.d/opennms.list
deb https://packages.opennms.com/public/common/deb/debian jessie main
# deb-src https://packages.opennms.com/public/common/deb/debian jessie main
deb https://packages.opennms.com/public/develop/deb/debian jessie main
# deb-src https://packages.opennms.com/public/develop/deb/debian jessie main
END

Completing Your Installation

One you’ve set up your repository access, continue following the normal installation guide.

If you run into any problems, please let me know here.

Thanks!

2 Likes