Skip to content

xbps-pkgdb prints weird error message when checking a package #351

Description

@ericonr

I haven't investigated exactly why this happens, but:

# doas cp /bin/ls /bin/7z
# xbps-pkgdb p7zip
ERROR: p7zip: hash mismatch for /usr/bin/7z.
ERROR: p7zip: files check FAILED.
Failed to check `p7zip': Operation not permitted

The last part of the message seems to be passing a bad value to strerror.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions