[pca] pca: Failed (unknown file type)

Martin Paul martin at par.univie.ac.at
Tue Sep 23 09:33:50 CEST 2008


Hi,

> Downloading 119254-58 (1/274)
> Trying http://sunsolve.sun.com/ (1/1)
> substr outside of string at /path/to/pca/pca.pl line 740.
> Use of uninitialized value in string eq at /path/to/pca/pca.pl line 740.
> Failed (unknown file type)

This tells me that pca received a file from sunsolve which is too short 
to actually be a patch. Can you check whether you got 119254-42.* in the 
current directory, and if so, what it contains?

Next step would be to re-run pca like this:

   ./pca.pl --user=... --passwd=... --debug --download 119254-58

This gives debug output from wget as well, which could be helpful.

> I've verified that the username and password are both correct, as I
> can log into sunsolve.com with no problems.

That would have been my first idea as well. BTW, is this a free Sun 
Online Account or is it connected to a support contract (not that it 
matters for 119254, which is a free security patch)?

> The pca script itself is stored on the network, and not on the local 
> machine...should that matter?

No, that doesn't matter at all.

> I can post the verbose output of the above command tomorrow if it is desired.

Please do so.

The perl warning messages shown by pca in your example are a bug in pca 
with handling files that are too short to actually be patches. I've 
fixed that in the development release now.

Martin.



More information about the pca mailing list