diff --git a/lib/transaction_ops.c b/lib/transaction_ops.c index 10da9dc7..81719f60 100644 --- a/lib/transaction_ops.c +++ b/lib/transaction_ops.c @@ -201,7 +201,7 @@ xbps_transaction_update_packages(void) while ((obj = prop_object_iterator_next(iter)) != NULL) { prop_dictionary_get_cstring_nocopy(obj, "pkgname", &pkgname); if ((rv = xbps_transaction_update_pkg(pkgname)) != 0) { - if (rv == ENOENT || rv == EEXIST) { + if (rv == ENOENT || rv == EEXIST || rv == ENODEV) { /* * missing pkg or installed version is * greater than or equal than pkg