[Rpm-maint] [rpm-software-management/rpm] Handle DistTag (#594)

wladmis notifications at github.com
Thu Aug 1 19:05:39 UTC 2019

> At least in Fedora, openSUSE, and OpenMandriva, the package manager has the option to "sync" the installed package set with what is in the repos, which obviates the need for such a trick. This is probably harder to do in apt, but it's not out of the realm of possibility, especially since even yum can do it.

If I understand the point correctly, it is like I want to implement it in apt, but some has doubts that this is a big security issue, and this is fair enough.

> @wladmis What is the value of considering the build-time? That would introduce a nearly uncontrollable value that could trigger upgrades/replacements when it is undesired.

Sorry, I don't understand the question. The buildtime value is an actual value of package `RPMTAG_BUILDTIME`. Within packages of one branch (the branch name is stored in `RPMTAG_DISTTAG` with some other metainformation) ALT rpm compares buildtime of packages with the same NEVR, youngest package win. It was implemented years ago but never had used in ALT repos (branches) before `RPMTAG_DISTTAG` was used. If packages with same NEVR have different brachname values stored in `RPMTAG_DISTTAG`, rpm deside which package newer based on brachname.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190801/aa9dd8d3/attachment.html>

More information about the Rpm-maint mailing list