richardlehane / siegfried

signature-based file format identification
http://www.itforarchivists.com/siegfried
Apache License 2.0
217 stars 30 forks source link

Ubuntu/Debian installation procedure not working #163

Closed hmiguim closed 2 years ago

hmiguim commented 3 years ago

The repository for siegfried on bintray is not reachable anymore. It gives me a forbidden message.

Err:5 http://dl.bintray.com/siegfried/debian wheezy/main amd64 Packages
  403  Forbidden [IP: X.X.X.X]
Ign:7 http://dl.bintray.com/siegfried/debian wheezy/main all Packages
Reading package lists...
W: The repository 'http://dl.bintray.com/siegfried/debian wheezy Release' does not have a Release file.
E: Failed to fetch http://dl.bintray.com/siegfried/debian/dists/wheezy/main/binary-amd64/Packages  403  Forbidden [IP: X.X.X.X]
szymon3 commented 3 years ago

I realized that bintray randomly returns 403 error. Right now, installation is working fine, but yesterday afternoon I couldn't complete it due to above error.

asabellico commented 3 years ago

could it be due to the warning shown on top here https://bintray.com/ ?

Thanks for supporting Bintray! This service has now been sunset, and to assist with migration to the JFrog Platform, paid accounts can login until July 4th.

richardlehane commented 3 years ago

as @asabellico notes, this is due to the bintray end-of-life.

Apologies: I've been working on an alternate host for the debian package, but have not yet finished that work.

If you've already got siegfried installed and are up-to-date, then I'd recommend removing the bintray repository from your apt sources list. I will provide an alternate debian option prior to the next release.

To do this: open "/etc/apt/sources.list" and delete the line "deb http://dl.bintray.com/siegfried/debian wheezy main"

If you are trying to do a new siegfried install, please either wait for the next release (it is due shortly) or use on of the other install methods: compile from source or use the brew package with linux brew.

dnarc commented 3 years ago

I was going to stand up a docker image exposing the network port as an alternative but I couldn't find any documentation on how to use the web API. Is there some documentation on how to use it somewhere?

On Wed, May 12, 2021 at 1:03 AM Richard Lehane @.***> wrote:

as @asabellico https://github.com/asabellico notes, this is due to the bintray end-of-life.

Apologies: I've been working on an alternate host for the debian package, but have not yet finished that work.

If you've already got siegfried installed and are up-to-date, then I'd recommend removing the bintray repository from your apt sources list. I will provide an alternate debian option prior to the next release.

To do this: open "/etc/apt/sources.list" and delete the line "deb http://dl.bintray.com/siegfried/debian wheezy main"

If you are trying to do a new siegfried install, please either wait for the next release (it is due shortly) or use on of the other install methods: compile from source or use the brew package with linux brew.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/richardlehane/siegfried/issues/163#issuecomment-839518810, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABC63LED7RAVJDHRWOBKP5LTNIR5LANCNFSM44QVYHPQ .

richardlehane commented 3 years ago

Hi @dnarc There's a page on the wiki. When you start the server (e.g. with sf -serve :5050) you can also visit whatever host:port you gave in a browser (e.g. http://localhost:5050) and you'll see documentation there too.

richardlehane commented 3 years ago

I'm now self-hosting the ubuntu/deb repository, in place of the old bintray repository.

To remove the old repository, open "/etc/apt/sources.list" and delete the line "deb http://dl.bintray.com/siegfried/debian wheezy main".

To install the new repository, do the following:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 20F802FE798E6857
sudo add-apt-repository "deb https://www.itforarchivists.com/ buster main"
sudo apt-get update && sudo apt-get install siegfried

Please comment on this ticket if you encounter any issues.

hmiguim commented 3 years ago

Thanks @richardlehane, it is working as expected