Solved

pkginfo doesn't show SUNWcsu package

Posted on 1997-04-27
1
2,815 Views
Last Modified: 2013-12-16
I have encountered a problem since trying to install the latest SUN recommended patch cluster for Solaris 2.5.1:
on pkginfo, SUNWcsu (Solaris Core, USER)... doe NOT appear in the list of installed packages!
I looked at /var/sadm/pkg/SUNWcsu/* but I'm not sure what to do... Do you have any advice for me?
0
Comment
Question by:chrisvo
1 Comment
 
LVL 2

Accepted Solution

by:
pxh earned 30 total points
ID: 1812085
It is hard to believe, but still possible that  SUNWcsu is not installed. Check by issueing the command

pkginfo | grep csu

and if the output doesn't show

system      SUNWcsu        Core Solaris, (Usr)

then there are two possibilities left.

First SUNWcsu is indeed not installed, so you go for your Solaris media CD and do a pkgadd for it.

However, I rather believe that your system lost track about the installed packages. Maybe you can remember that
something happened to the /var/sadm/pkg directory or the filesystem it is on?
Check for any anomaly there.

Here is at least a recursive listing of what you should see there:

</var/sadm/pkg/SUNWcsu# ls -altrR
.:
total 18
drwxr-xr-x   2 root         512 Nov 26 11:52 save/
-rw-r--r--   1 root         530 Nov 26 11:52 pkginfo
drwxr-xr-x   2 root         512 Nov 26 11:53 install/
drwxr-xr-x   4 root         512 Nov 26 11:53 ./
dr-xr-xr-x 261 sys         5120 Mar 11 16:02 ../

./save:
total 4
drwxr-xr-x   2 root         512 Nov 26 11:52 ./
drwxr-xr-x   4 root         512 Nov 26 11:53 ../

./install:
total 10
-rw-r--r--   1 root        2789 May  2  1996 copyright
drwxr-xr-x   4 root         512 Nov 26 11:53 ../
drwxr-xr-x   2 root         512 Nov 26 11:53 ./

As you see I was lazy, there are no patches yet. So you may see additional files on your system, (in save) if you installed any.

Anyhow, there is nothing wrong about re-installing the SUNWcsu package. Don't forget to check for patches (showref -p) you may have to re-install as well.

Good luck

Peter (pxh@mpe-garching.mpg.de)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

827 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question