Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to load vulnerability db: unable to get namespaces from store: database disk image is malformed #1150

Closed
LOLCATATONIA opened this issue Mar 2, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@LOLCATATONIA
Copy link

Grype DIRECTORY
results in "failed to load vulnerability db: unable to get namespaces from store: database disk image is malformed"

grype version
grype version
Application: grype
Version: 0.57.1
Syft Version: v0.72.0
BuildDate: 2023-02-16T20:09:55Z
GitCommit: 50a5c33
GitDescription: v0.57.1
Platform: linux/amd64
GoVersion: go1.19.5
Compiler: gc
Supported DB Schema: 5

cat /etc/os-release
PRETTY_NAME="SparkyLinux 6.6 (Po-Tolo)"
NAME="SparkyLinux"
VERSION_ID="6.6"
VERSION="6.6 (Po-Tolo)"
ID=sparky
ID_LIKE=debian
HOME_URL="https://sparkylinux.org/"
SUPPORT_URL="https://sparkylinux.org/forum/"
BUG_REPORT_URL="https://sourceforge.net/p/sparkylinux/tickets"

@LOLCATATONIA LOLCATATONIA added the bug Something isn't working label Mar 2, 2023
@tgerla
Copy link
Contributor

tgerla commented Mar 2, 2023

Hi there, can you try running:

grype db status

And:

grype db update

And send us the results? We'll be happy to take a look. Thanks.

@LOLCATATONIA
Copy link
Author

The problem seems to have somehow resolved itself and I am not currently able to replicate it.

@tgerla
Copy link
Contributor

tgerla commented Mar 3, 2023

OK, thank you for the update and please let us know if you have any more trouble!

@tgerla tgerla closed this as not planned Won't fix, can't repro, duplicate, stale Mar 3, 2023
@prbakhsh
Copy link

prbakhsh commented Jul 18, 2023

I had same issue. when DB update is running if process canceled by user this issue appear.
To solve issue at first delete db and then update db.
$-> grype db delete
$-> grype db update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants