OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004053 [pkg_get] regular use feature N/A 2009-11-23 13:09 2010-03-12 15:57
Reporter skayser View Status public  
Assigned To bonivart
Priority normal Resolution fixed  
Status closed  
Summary 0004053: 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.
Additional Information # pkgutil -v
1.9b2
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0007025)
bonivart (developer)
2009-11-23 13:52

It's been on my todo list for a while since I tend to do the same as you do and it's annoying since I do want caching of the packages. Maybe your --param feature request would have helped here? ;-)

Would it hurt in any way if I forced --no-cache on all catalog fetches? I think the option has changed over time in wget, maybe it used to be -N or something if I remember correctly. Safest may be to put in an option in pkgutil.conf for separate wget options for catalog fetches.
(0007028)
bonivart (developer)
2009-11-23 14:07
edited on: 2009-11-23 14:07

I 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!

(0007094)
bonivart (developer)
2009-12-16 17:54

r190 should disable the cache for catalog and descriptions downloads by default. You need to set catalog_not_cached != true to get caching.
(0007507)
bonivart (developer)
2010-02-23 16:37

See previous notes.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker