Open ericonr opened 3 years ago
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.
strerror
The error returned by check_pkg_integrity is 0 or 1, but it's printed by strerror(), which doesn't make sense. So just need to decide on the best way of showing this.
check_pkg_integrity
strerror()
I haven't investigated exactly why this happens, but:
The last part of the message seems to be passing a bad value to
strerror
.