Solved

pkginfo doesn't show SUNWcsu package

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
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.

771 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now