Update the repository package before you use it for Graylog installation. The new package will replace the repository URL, without which, you will only receive bugfix releases for the previously installed version of Graylog.

The update is essentially a fresh installation. For APT-based systems, run the following commands:

wget https://packages.graylog2.org/repo/packages/graylog-4.1-repository_latest.deb
sudo dpkg -i graylog-4.1-repository_latest.deb
sudo apt-get update
sudo apt-get install graylog-enterprise

For RPM-based systems, run the following commands:

sudo rpm -Uvh https://packages.graylog2.org/repo/packages/graylog-4.1-repository_latest.rpm
sudo yum clean all
sudo yum install graylog-enterprise

YUM may use a stale cache, which will prevent it from finding the latest version of the graylog-enterprise package; run yum clean all to prevent this issue.