Cannot add Graylog package

1. Describe your incident:
Cannot run command “sudo dpkg -i graylog-4.3repository_latest.deb”

2. Describe your environment:

  • OS Information: Ubuntu 20.04

  • Package Version:

  • Service logs, configurations, and environment variables:

No Logs yet, still trying to get it installed.

Error:

dpkg-deb: error: 'graylog-4.3-repository_latest.deb' is not a debian format archive

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

Researched error. verified I can download the deb file from site.

4. How can the community help?
I think Graylog need to update the repository

Hello && Welcome

That command is incorrect. It needs to be like this.

sudo dpkg -i graylog-4.3-repository_latest.deb

Sorry That was my typo.

I do have

sudo dpkg -i graylog-4.3-repository_latest.deb

hey,
I just tested the documentation here out to ensure it was working. Using Ubuntu 20.0.4

I executed both of these.

root # wget https://packages.graylog2.org/repo/packages/graylog-4.3-repository_latest.deb
root # sudo dpkg -i graylog-4.3-repository_latest.deb

results:

I would double check your commands, perhaps some log files may help.

Where is the log during the install.

Otherwise ill grab screenshots wheni get home and follow up tomorrow

hey,

Linux I would look in /var/log directory. Probably in dpkg file.

As for this error…

error: 'graylog-4.3-repository_latest.deb' is not a debian format archive

I would clean my repo up and try to download it again.

EDIT: did some googling and 90% of the error “is not a debian format archive” either has to do with the network and the package got corrupt OR the naming convention of the package.
Like I menetion above try clean your repo and re-download the package again OR rename the package without using "-"
Example:

root # cp graylog-4.3-repository_latest.deb  graylog_4.3_repository_latest.deb

As for Graylog repo I don’t see anything wrong.

well I don’t see what is different today, but it all appears to be working. Thank you for the assistance!

1 Like

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