[Rpm-maint] [rpm-software-management/rpm] Also test architecture in "refresh" test when not colored. (#253)

Michael Schroeder notifications at github.com
Thu Jul 13 12:11:47 UTC 2017


mlschroe commented on this pull request.



> @@ -511,13 +511,14 @@ void rpmpsmNotify(rpmpsm psm, int what, rpm_loff_t amount)
  */
 static void markReplacedInstance(rpmts ts, rpmte te)
 {
+    /* this must match rpmNameVersionCompare in depends.c */

No, rpm currently does not use the sha sig to test if this is a "reinstall" or an update/downgrade. The weird update/reinstall difference is a mess but it seems that it has to stay for compatibility reasons. This is about the addSelfErasures code.

When you have foo-1-1.i586 installed and you do 'rpm -U foo-1-1.i686', rpm will not add an erase element for the i586 package.

-- 
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/pull/253#discussion_r127199181
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170713/681fb30a/attachment.html>


More information about the Rpm-maint mailing list