Back Again

Sam Varshavchik mrsam at courier-mta.com
Wed Aug 1 22:22:05 UTC 2007


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'.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20070801/b8159b98/attachment-0002.bin 


More information about the users mailing list