rpm/rpm-5.2.1-rpmdb-yum-disable-assert.patch

12 lines
402 B
Diff
Raw Permalink Normal View History

--- rpm-5.2.1/rpmdb/rpmdb.c.orig 2017-08-26 13:28:12.065070738 +0200
+++ rpm-5.2.1/rpmdb/rpmdb.c 2017-08-26 13:17:01.920477505 +0200
@@ -2554,7 +2554,7 @@
}
else {
/* Iterating Packages database. */
- assert(mi->mi_rpmtag == RPMDBI_PACKAGES);
+// assert(mi->mi_rpmtag == RPMDBI_PACKAGES);
/* Fetch header with DB_NEXT. */
/* Instance 0 is the largest header instance in the database,