Graylog showing None for Installed Version - Unable to update to 5.1

**1. Describe your incident: **

Attempting to Upgrade to 5.1

Graylog Server showing None for Installed Version and Candidate:

graylog:
Installed: (none)
Candidate: (none)
Version table:

apt install graylog-server
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
graylog-server is already the newest version (5.0.7-1).

2. Describe your environment:
Ubuntu 22.04.2
Opensearch

3. What steps have you already taken to try and solve the problem?

apt-get clean

inspected sources list: source
deb h t t p s://packages.graylog2.org/repo/debian/ stable 5.1

sudo apt-get update && sudo apt-get install graylog-server
Hit:1 h t t p://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 h t t p://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 h t t p://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 h t t p://us.archive.ubuntu.com/ubuntu jammy-security InRelease
Ign:5 h t t p s://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 InRelease
Hit:6 h t t p s://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 Release
Reading package lists… Done
0Building dependency tree… Done
Reading state information… Done
graylog-server is already the newest version (5.0.7-1).

Ubuntu Install Instructions
wget h t t p s://packages.graylog2.org/repo/packages/graylog-5.1-repository_latest.deb
sudo dpkg -i graylog-5.1-repository_latest.deb
sudo apt-get update && sudo apt-get install graylog-server
graylog-server is already the newest version (5.0.7-1).

sudo apt list --installed | grep ‘mongo|elasticsearch|opensearch|graylog’

graylog-5.1-repository/now 1-2 all [installed,local]
graylog-server/now 5.0.7-1 amd64 [installed,local]
mongodb-database-tools/jammy,now 100.7.2 amd64 [installed,automatic]
mongodb-mongosh/jammy,now 1.9.1 amd64 [installed,automatic]
mongodb-org-database-tools-extra/jammy,now 6.0.6 amd64 [installed,automatic]
mongodb-org-database/jammy,now 6.0.6 amd64 [installed,automatic]
mongodb-org-mongos/jammy,now 6.0.6 amd64 [installed,automatic]
mongodb-org-server/jammy,now 6.0.6 amd64 [installed,automatic]
mongodb-org-shell/jammy,now 6.0.6 amd64 [installed,automatic]
mongodb-org-tools/jammy,now 6.0.6 amd64 [installed,automatic]
mongodb-org/jammy,now 6.0.6 amd64 [installed]

sudo apt-get install graylog-server
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
graylog-server is already the newest version (5.0.7-1).

Hey @ndeit

I think this is your local repo.

Check repo list for Graylog.

root # sudo grep -rhE ^deb /etc/apt/sources.list*

This completely depends on what you want to achieve, they are separate for a reason.

  • apt/apt-get clean → cleans the packages and install script in /var/cache/apt/archives/
  • apt/apt-get autoclean → cleans obsolete deb-packages, less than clean
  • apt/apt-get autoremove → removes orphaned packages which are not longer needed from the system, but not purges them, use the --purge option together with the command for that.

Downlopad new package

wget https://packages.graylog2.org/repo/packages/graylog-5.1-repository_latest.deb

Install

sudo dpkg -i graylog-5.1-repository_latest.deb

Run

sudo apt update && apt upgrade

Thank you, appreciated.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.