Skip to content

Issue Pulling DB update #3586

Description

What happened:

✔ Vulnerability DB [hydrating]
[0049] ERROR unable to update vulnerability database: unable to activate new vulnerability database: failed to hydrate database: failed to open db: unable to migrate: constraint failed: UNIQUE constraint failed: operating_systems.name, operating_systems.release_id, operating_systems.major_version, operating_systems.minor_version, operating_systems.label_version (2067)

What you expected to happen:
Database to update

How to reproduce it (as minimally and precisely as possible):
grype db update

default config

Anything else we need to know?:

Environment:

  • Output of grype version: grype version is .91
  • OS (e.g: cat /etc/os-release or similar): Ubuntu 24

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions