[Rpm-maint] [rpm-software-management/rpm] Fix "--restore --all" regression when the rpmdb contains gpg-pubkey h… (PR #3914)

Panu Matilainen notifications at github.com
Tue Sep 2 08:34:33 UTC 2025


@pmatilai commented on this pull request.



> +RPMTEST_CHECK([
+runroot rpm -Va --nodeps ${VERIFYOPTS}
+],
+[0],
+[],
+[])
+
+RPMTEST_CHECK([
+# same as above but with more content in the rpmdb, in particular gpg-pubkey's
+echo "%_keyring rpmdb" >> "${RPMTEST}"/"${RPMSYSCONFDIR}"/macros.testenv
+runroot rpmkeys --import /data/keys/rpm.org-rsa-2048-test.pub
+runroot rpm -U --nodeps --noscripts --ignorearch --ignoreos --nosignature \
+	/data/RPMS/hlinktest-1.0-1.noarch.rpm
+runroot touch /usr/share/doc/hello-2.0/FAQ
+runroot chmod a-x /usr/bin/hello
+runroot chmod a-x /usr/bin/hello

Oh. That'd be just an accident I think, I fiddled with these things way more than I should've :laughing: 
Dropped now.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3914#discussion_r2315341696
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3914/review/3175466666 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250902/ba749c7a/attachment.htm>


More information about the Rpm-maint mailing list