Friday, November 24, 2006

Solaris: fix problem with "pkginfo"

pkginfo 出現 pkginfo file is corrupt or missing

please try the following (to get the info which pkginfo-file is corrupt) in
ksh or sh (login as root):
cd /var/sadm/pkg
for i in *
do
echo "============================================"
echo $i :
pkginfo -i $i
done
Examine the output for the wrong or missing pkginfo-file (located in the
directory /var/sadm/PKGNAME/pkginfo).
Then you have different ways to solve the problem.
- you can copy a working version of pkginfo-file from another machine to
your machine
- you can try to edit the wrong file
- you can try to install a newer patch to get a working pkginfo-file.

No comments:

Post a Comment