Fail to upgrade v4.2 to v4.3

~# dpkg -i graylog-4.3-repository_latest.deb
(Reading database ... 89684 files and directories currently installed.)
Preparing to unpack graylog-4.3-repository_latest.deb ...
Unpacking graylog-4.3-repository (1-6) over (1-6) ...
**Setting up graylog-4.3-repository (1-6)** ...

~# apt install graylog-server -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
**graylog-server is already the newest version (4.2.13-1).**
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

OS Information: Ubuntu 22.04.1 LTS

check /etc/apt/sources.list.d/graylog.list if there is still 4.2 in it.

Hi, thank you for answering my question. This is the contents (commented out):

#deb stable 4.2 # disabled on upgrade to jammy

cat graylog.list.distUpgrade
deb stable 4.2

cat graylog.list.dpkg-dist
deb stable 4.3

Please use his litte icon to make your code readable:
It is above the textfield.
If you have two files there, one with 4.2 and one with 4.3, clean that up to only one with 4.3

Thanks, cleaned it up, changed it to 4.3, still no luck unfortunately.

(Formatted my previous messages :innocent:)

did you try to delete your file graylog.list.distUpgrade and rename the file graylog.list.dpkg-dist to graylog.list?


Adding on to @ihe suggestion

Try this
Look for Graylog’s repo.

root# sudo  ls -al /etc/apt/sources.list.d/

Once you have found the name of Graylog repo , remove it.

## Example
root # sudo rm  ls -al /etc/apt/sources.list.d/graylog.list

## The clean the cache
root # sudo apt autoclean 

## grab the new package
root # wget

root # sudo dpkg -i graylog-5.0-repository_latest.deb
root # sudo apt-get update && sudo apt-get install graylog-server 
1 Like

Thanks Ihe, that did the trick!

Thanks for thinking along!

1 Like

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