Project

General

Profile

Actions

Bug #2682

closed

python-yaml Not Listed As Ubuntu Prerequisite

Added by Kenneth Kolano about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Suricata-Update requires python-yaml, which is not covered in the current source-code Suricata or Suricata-Update install documentation, though it seems to be handled automatically if using the apt-get install.

https://suricata.readthedocs.io/en/suricata-4.1.0/install.html#advanced-installation
https://suricata-update.readthedocs.io/en/latest/quickstart.html#install-suricata-update

p@comp:~$ pip install --upgrade suricata-update
Collecting suricata-update
  Downloading https://files.pythonhosted.org/packages/e9/90/8dd8bae2616cbb7fcf3723658ae2ee945a527d48c3d908be7e520192327d/suricata-update-1.0.0.tar.gz (59kB)
    100% |████████████████████████████████| 61kB 1.8MB/s
Building wheels for collected packages: suricata-update
  Running setup.py bdist_wheel for suricata-update ... done
  Stored in directory: /home/pass/.cache/pip/wheels/31/26/47/8370248acd32c5ffb775eb3f2999c1ef8c49b5ea4facbd4eac
Successfully built suricata-update
Installing collected packages: suricata-update
Successfully installed suricata-update
You are using pip version 8.1.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
p@comp:~$ suricata-update
error: pyyaml is required

Seen under Ubuntu 16.04.5.

Actions #1

Updated by Kenneth Kolano about 6 years ago

Related to #2667

Actions #2

Updated by Kenneth Kolano about 6 years ago

Likely fixed with: https://github.com/OISF/suricata-update/pull/65, unclear on update schedule for integrated Suricata-Update.

Actions #3

Updated by Victor Julien about 6 years ago

  • Status changed from New to Assigned
  • Assignee set to Shivani Bhardwaj
  • Target version set to 4.1.1
Actions #4

Updated by Jason Ish about 6 years ago

  • Project changed from Suricata to Suricata-Update
  • Status changed from Assigned to Rejected
  • Target version changed from 4.1.1 to 1.0.1

Marking as rejected as its more of a duplicate of 2667.

Of note, Suricata's own ./configure script will now have a check for python-yaml as well.

Installs with PIP now have the proper metadata to install python-yaml.

Actions #5

Updated by Victor Julien about 6 years ago

The python-yaml dependency for Ubuntu is still not listed in the user guide here https://suricata.readthedocs.io/en/latest/install.html AFAICS, I think it would be good to add it there.

Actions #6

Updated by Jason Ish about 6 years ago

While in there, I wonder if we should put Rust in the recommended dependencies as well?

Actions #7

Updated by Victor Julien about 6 years ago

  • Project changed from Suricata-Update to Suricata
  • Status changed from Rejected to Assigned
  • Assignee changed from Shivani Bhardwaj to Victor Julien
  • Target version changed from 1.0.1 to 4.1.2
  • Affected Versions 4.1.1 added

Have a patch for the install guide update.

Actions

Also available in: Atom PDF