Re: [pca] Understanding --fromfiles
Mauricio, Now if I could make it tell me whether I am not allowed to download a patch (as opposite of it not being available) instead of just saying ... Failed (patch not found) Usually, a patch not being available is the same as not being allowed to download it. The only exception might be when you specify a non-existant patchID (e.g. "99-99"). Two things: The information about which patch is available without a contract is not included in the patchdiag.xref file, so pca cannot determine that without actually trying to download the patch. The "missings" is a patch group which contains all security patches, and therefore most of those which are available freely. A description of the free patches is at: http://sunsolve.sun.com/search/document.do?assetkey=1-61-203648-1 Of course it would make a lot of sense if Sun included a flag "FREE" in the xref file, as it is included for Recommended and Security patches already; pca could use this flag with a new patch group like "missingf". As you noticed, pca only shows a very generic error ("patch not found") when it can't download a patch for whatever reason. Theoretically, it could use the HTTP error code from SunSolve to determine the cause of the failing download, but I decided against it. With all the temporary problems of the SunSolve server and the long history of unanncounced changes to Sun's patch download service, I don't think it would make sense trying to rely on a certain behaviour. Still, I have that on my ToDo list and it might be included later. Hope that answers your question, Martin.
Re: [pca] Understanding --fromfiles
Hi Fred, It's not only patches containing a security fix that Sun currently makes freely available. We also make patches that match the following criteria freely available: - Any patch required for the Solaris Patch Utilities or Patch Tools to function correctly - Any patch required for Live Upgrade to function correctly - Any patch required for Sun Hardware Support - Any patch required for Java to function correctly - Any patch fixing an issue that is likely to seriously impact a wide number of customers (i.e. a "CNN moment" - eg. Some Daylight Savings Time patches released last year were freely available ) - Any patch required by any of the above If you want to have access to all Solaris patches, then you need to buy a Solaris Subscription (which starts at $324 for system - see http://www.sun.com/service/subscriptions/index.jsp). If you do not want to purchase a Solaris Subscription, but still want access to bug fixes/features released in patches, the alternative is to wait until Sun release a Solaris Update and upgrade your system. Please bear in mind that Sun's primary objective is to make money, not give patches away for free. We will not be investing time & money in any effort to advertise which patches are free vs. which patches require a support contract. That said we have recently added new lock symbol functionality to the PatchFinder Tool (http://sunsolve.sun.com/patchfinder/) to indicate which patches are public, which patches your support contract entitles you to and which you are not entitled to. Best, -Don Fred Chagnon wrote: Am I wrong in my understanding that Sun will let you download only security patches without a service contract? If this is correct, then you can get those with a: pca -i --fromfiles /path missings On 11/11/09, Mauricio Tavares wrote: On Wed, Nov 11, 2009 at 5:15 PM, Bliss, Kevin L wrote: Try it without the "*". That worked indeed. Thanks! Now if I could make it tell me whether I am not allowed to download a patch (as opposite of it not being available) instead of just saying Trying https://sunsolve.sun.com/ (1/1) Failed Failed (patch not found) I would be golden. -Original Message- From: pca-boun...@lists.univie.ac.at [mailto:pca-boun...@lists.univie.ac.at] On Behalf Of Mauricio Tavares Sent: Wednesday, November 11, 2009 2:13 PM To: pca@lists.univie.ac.at Subject: [pca] Understanding --fromfiles I am having a bit of an issue with --fromfiles. After installing pca, I ran uname -a, showrev -p, and pkginfo -x and save output in a directory called solaris8: bash-3.00# ls /export/pub/sol8/patches/solaris8 pkginfo.out showrev.out uname.out bash-3.00# When I ask pca to download the patches, I get the following message: bash-3.00# ~/pca --fromfiles=/export/pub/sol8/patches/solaris8/* -d missing ERROR: Can't find pkginfo/showrev/uname output with prefix /export/pub/sol8/patches/solaris8/* bash-3.00# Anything I did wrong?
[pca] Interesting thing about Xref
*$ -->* diff patchdiag.xref.Nov.04.09 patchdiag.xref.Nov.05.09 1c1 < ## PATCHDIAG TOOL CROSS-REFERENCE FILE AS OF Nov/04/09 ## --- > ## PATCHDIAG TOOL CROSS-REFERENCE FILE AS OF Nov/05/09 ## *$ -->* diff patchdiag.xref.Nov.06.09 patchdiag.xref.Nov.09.09 1c1 < ## PATCHDIAG TOOL CROSS-REFERENCE FILE AS OF Nov/06/09 ## --- > ## PATCHDIAG TOOL CROSS-REFERENCE FILE AS OF Nov/09/09 ## -GGR -- Rajiv G Gunja Blog: http://ossrocks.blogspot.com
Re: [pca] Interesting thing about Xref
Rajiv Gunja wrote: $ --> diff patchdiag.xref.Nov.04.09 patchdiag.xref.Nov.05.09 1c1 < ## PATCHDIAG TOOL CROSS-REFERENCE FILE AS OF Nov/04/09 ## --- > ## PATCHDIAG TOOL CROSS-REFERENCE FILE AS OF Nov/05/09 ## Not sure about this one... $ --> diff patchdiag.xref.Nov.06.09 patchdiag.xref.Nov.09.09 1c1 < ## PATCHDIAG TOOL CROSS-REFERENCE FILE AS OF Nov/06/09 ## --- > ## PATCHDIAG TOOL CROSS-REFERENCE FILE AS OF Nov/09/09 ## I know that the Engineer responsible for releasing patches was ill on Monday and that as a result no patches were released between 6th November & 10th November (taking the w/e into account). This is primarily due to recent layoffs in Sun and the need to find a new backup person to take on Patch Release. The patchdiag.xref is generated by a cron job (or at least when it works it is) at the end of the day Us Pacific Time. No patches released means no updates to patchdiag (apart from the date), which is what you are seeing. If you do a diff between the patchdiag from the 9th and yesterday's/today's one you should see some changes as the backlog is cleared. Best, -Don -GGR -- Rajiv G Gunja Blog: http://ossrocks.blogspot.com
Re: [pca] Understanding --fromfiles
I believe that is correct for Solaris 8 since it is end of life. -Original Message- From: pca-boun...@lists.univie.ac.at [mailto:pca-boun...@lists.univie.ac.at] On Behalf Of Fred Chagnon Sent: Wednesday, November 11, 2009 7:14 PM To: PCA (Patch Check Advanced) Discussion Subject: Re: [pca] Understanding --fromfiles Am I wrong in my understanding that Sun will let you download only security patches without a service contract? If this is correct, then you can get those with a: pca -i --fromfiles /path missings On 11/11/09, Mauricio Tavares wrote: > On Wed, Nov 11, 2009 at 5:15 PM, Bliss, Kevin L > wrote: >> Try it without the "*". >> > > That worked indeed. Thanks! > > Now if I could make it tell me whether I am not allowed to download a > patch (as opposite of it not being available) instead of just saying > > Trying https://sunsolve.sun.com/ (1/1) > Failed > Failed (patch not found) > > I would be golden. > >> -Original Message- >> From: pca-boun...@lists.univie.ac.at >> [mailto:pca-boun...@lists.univie.ac.at] On Behalf Of Mauricio Tavares >> Sent: Wednesday, November 11, 2009 2:13 PM >> To: pca@lists.univie.ac.at >> Subject: [pca] Understanding --fromfiles >> >> I am having a bit of an issue with --fromfiles. After installing pca, >> I ran uname -a, showrev -p, and pkginfo -x and save output in a >> directory called solaris8: >> >> bash-3.00# ls /export/pub/sol8/patches/solaris8 >> pkginfo.out showrev.out uname.out >> bash-3.00# >> >> When I ask pca to download the patches, I get the following message: >> >> bash-3.00# ~/pca --fromfiles=/export/pub/sol8/patches/solaris8/* -d >> missing >> >> ERROR: Can't find pkginfo/showrev/uname output with prefix >> /export/pub/sol8/patches/solaris8/* >> bash-3.00# >> >> Anything I did wrong? >> >> >> > > -- Fred Chagnon fchag...@gmail.com
Re: [pca] Interesting thing about Xref
Don, It just perked my interest when 2 files without content differences occurred on 4th/5th and 6th/9th. Yes I did see a few patches on other days. Thanks -GGR -- Rajiv G Gunja Blog: http://ossrocks.blogspot.com 2009/11/12 Don O'Malley > > > Rajiv Gunja wrote: > > *$ -->* diff patchdiag.xref.Nov.04.09 patchdiag.xref.Nov.05.09 > 1c1 > < ## PATCHDIAG TOOL CROSS-REFERENCE FILE AS OF Nov/04/09 ## > --- > > ## PATCHDIAG TOOL CROSS-REFERENCE FILE AS OF Nov/05/09 ## > > Not sure about this one... > > > > *$ -->* diff patchdiag.xref.Nov.06.09 patchdiag.xref.Nov.09.09 > 1c1 > < ## PATCHDIAG TOOL CROSS-REFERENCE FILE AS OF Nov/06/09 ## > --- > > ## PATCHDIAG TOOL CROSS-REFERENCE FILE AS OF Nov/09/09 ## > > I know that the Engineer responsible for releasing patches was ill on > Monday and that as a result no patches were released between 6th November & > 10th November (taking the w/e into account). > This is primarily due to recent layoffs in Sun and the need to find a new > backup person to take on Patch Release. > > The patchdiag.xref is generated by a cron job (or at least when it works it > is) at the end of the day Us Pacific Time. > > No patches released means no updates to patchdiag (apart from the date), > which is what you are seeing. > > If you do a diff between the patchdiag from the 9th and yesterday's/today's > one you should see some changes as the backlog is cleared. > > Best, > -Don > > > -GGR > > -- > Rajiv G Gunja > Blog: http://ossrocks.blogspot.com > >