Solved

pkginfo doesn't show SUNWcsu package

Posted on 1997-04-27
1
2,834 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
change HISTFILE for root user on AIX 3 106
Restore XenServer VM with only dd image of LVM snapshot 3 245
aix tls version 6 558
Unix Script: Loop over all days of a month 17 117
Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

697 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