Was `pkg_delete` copied from the openbsd package provider? To my knowledge that's not available on rpm based systems.