Les Mikesell writes:
Sam Varshavchik wrote:You have to break the built-in assumption that the newer version of a package always carries a later version number. The whole reason for the epoch is the automatic assumption regarding version and release numbers.Wouldn't that mean you'd have to keep and parse all the metatdata for all versions of packages in a repository which can contain many updates of every package instead of only considering the highest version package name when a version number is not specified in the command?
Precisely. You need to download and cache the remote repository information already. So you already have this information.
Recall that, right now, yum already looks at Obsoletes: headers of packages to find out what other packages you need to upgrade, so yum already needs to download every package's metadata, not just the latest versions'.
Attachment:
pgp84S4rYUN51.pgp
Description: PGP signature
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list