[bug-notifications] [pkgutil 0004001]: temp site is not really used as a primary site

Mantis Bug Tracker noreply at opencsw.org
Wed Feb 24 17:31:19 CET 2010


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=4001 
====================================================================== 
Reported By:                yann
Assigned To:                bonivart
====================================================================== 
Project:                    pkgutil
Issue ID:                   4001
Category:                   regular use
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-11-07 00:34 CET
Last Modified:              2010-02-24 17:31 CET
====================================================================== 
Summary:                    temp site is not really used as a primary site
Description: 

If the same package (with the same version) is present in the temp site
and in the default mirror, it's the package from the default mirror which
is downloaded and not the one from the temp site as we could expect.

Not a very important bug as the case should not happen very often.


====================================================================== 

---------------------------------------------------------------------- 
 (0007518) bonivart (manager) - 2010-02-24 17:31
 http://www.opencsw.org/mantis/view.php?id=4001#c7518 
---------------------------------------------------------------------- 
I'm looking at this again. :-) The temp mirror was never meant to be
"primary", it was just to add to the mirrors you already have, usually
current/unstable. More than one mirror is allowed in pkgutil.conf, also
more than one -t option can be specified on the command line. They don't
really have any priority over each other, what decide what's selected is
the version compare only. In your case you had the exact same package in
both repos so it probably fetched the first match.

I haven't looked at the code but I don't think pkgutil is aware of which
repo is which, they are all combined into one.



More information about the bug-notifications mailing list