Solved

pkginfo doesn't show SUNWcsu package

Posted on 1997-04-27
1
2,807 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

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…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

832 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