--- ./lib/psm.c.orig 2014-08-04 12:51:13.219051031 +0000 +++ ./lib/psm.c 2014-08-04 12:57:38.294335406 +0000 @@ -673,8 +673,15 @@ static rpmRC rpmpsmUnpack(rpmpsm psm) if (!(rpmtsFlags(psm->ts) & RPMTRANS_FLAG_JUSTDB)) { if (rpmfilesFC(psm->files) > 0) { + rpmtransFlags oldtsflags = rpmtsFlags(psm->ts); + Header h = rpmteHeader(psm->te); + if (h && headerIsEntry(h, RPMTAG_REMOVETID)) + (void) rpmtsSetFlags(psm->ts, oldtsflags | RPMTRANS_FLAG_NOMD5); fsmrc = rpmPackageFilesInstall(psm->ts, psm->te, psm->files, psm, &failedFile); + if (h && headerIsEntry(h, RPMTAG_REMOVETID)) + (void) rpmtsSetFlags(psm->ts, oldtsflags); + headerFree(h); saved_errno = errno; } }