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

Michal Domonkos notifications at github.com
Mon Sep 1 15:35:31 UTC 2025


@dmnks 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

Now I wonder if this duplicate line wasn't meant to be elsewhere at first? Or is it just duplicated by accident? :smile: 

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

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


More information about the Rpm-maint mailing list