[pca] List: Missing

Martin Paul martin at par.univie.ac.at
Tue Feb 24 09:19:52 CET 2009


Hi,

> However I ran the commands and here is the output:
> 
> # uname -a
> SunOS Enterprise 5.10 Generic_118833-36 sun4u sparc SUNW,Ultra-80 
> 
> # showrev -p
> No patches are installed
> 
> # pkginfo -x
> ...

That's what I was suspecting - the list of installed patches and 
packages is incomplete. Your pkginfo output doesn't show a single SUNW* 
package. So for Solaris' package system (and pca) it looks as if none of 
the packages that make up the Solaris OS are installed.

Do you see any SUNW* directories in /var/sadm/pkg/, and if so, how many 
(ls -d /var/sadm/pkg/SUNW* | wc -l)?

You probably lost the contents of /var/sadm/pkg/ on this machine at some 
time in the past, maybe when copying/moving it around. This could happen 
when moving the pkg directory to a different file system for space 
reasons and replacing it with a symbolic link - this doesn't work. If 
you have the original pkg/ directory somewhere, you problaby could 
combine it with what is there now and getting to a usable state again. 
Without the necessary package metadata, you will not be able to ever 
install patches on this machine again unless you reinstall the OS.

Martin.



More information about the pca mailing list