btw, this command is sufficient to identify the rpm version that built the 
package:
`rpm -qp --qf '%{rpm version}\n' intel-aero-repo-1.4-r0.corei7_64.rpm`

It looks the  arguments passed used in the exact_size check are incorrect (the 
"ril" and "rdl" values in the error message seem wrong).

Commenting out this code permits reading the package:
```
--- a/lib/header.c
+++ b/lib/header.c
@@ -1840,7 +1840,9 @@ static rpmRC hdrblobVerifyRegion(rpmTagVal regionTag, int 
        rasprintf(buf,
                _("region %d: tag number mismatch %d ril %d dl %d rdl %d\n"),
                regionTag, blob->il, blob->ril, blob->dl, blob->rdl);
+#ifdef HACK
        goto exit;
+#endif
     }
 
     blob->regionTag = regionTag;
```

The real fix is somewhere else, in the value passed to the exact_size boolean 
argument, but will have the same effect of not checking the index/data length 
of a signature header immutable region.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/270#issuecomment-317180902
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to