[bug-notifications] [pkgutil 0004053]: RFE: Option to force non-cached downloads of catalog files

Mantis Bug Tracker noreply at opencsw.org
Mon Nov 23 14:07:22 CET 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=4053 
====================================================================== 
Reported By:                skayser
Assigned To:                bonivart
====================================================================== 
Project:                    pkgutil
Issue ID:                   4053
Category:                   regular use
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-11-23 13:09 CET
Last Modified:              2009-11-23 14:07 CET
====================================================================== 
Summary:                    RFE: Option to force non-cached downloads of catalog
files
Description: 
We are sitting behind a proxy which sometimes doesn't hand out the current
testing catalog (maybe it's just me triggering -U too often when i can't
wait for the testing catalog to be rebuild). Anyway, when i run into this
issue, I usually call wget --no-cache once to download the current catalog
and then continue using pkgutil.

Could an option be added to pkgutil to have _catalog_ downloads run with
--no-cache? As a comparison, Patch Check Advanced (pca) seems to have seen
a similar "stale proxy files" issue and features a --nocache command line
argument / configuration file option
(http://www.par.univie.ac.at/solaris/pca/usage.html) to force fresh
downloads of the patchdiag.xref file.
====================================================================== 

---------------------------------------------------------------------- 
 (0007028) bonivart (manager) - 2009-11-23 14:07
 http://www.opencsw.org/mantis/view.php?id=4053#c7028 
---------------------------------------------------------------------- 
I'm have looked a little at how pca does it (handle older versions of wget)
and there seems to be a way of doing it safely. I think I will just add an
option to pkgutil.conf to not cache catalog fetches, true or false, so one
doesn't have to bother with knowing the settings.

This may open up for better support for proxies as well, thanks for the
tip!




More information about the bug-notifications mailing list