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 *
echo “============================================"
echo $i :
pkginfo -i $i
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.


在下方填入你的資料或按右方圖示以社群網站登入: 標誌

您的留言將使用 帳號。 登出 /  變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 /  變更 )


您的留言將使用 Facebook 帳號。 登出 /  變更 )

連結到 %s

%d 位部落客按了讚: