[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

pkginfo doesn't show SUNWcsu package

Posted on 1997-04-27
1
Medium Priority
?
2,896 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 90 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…
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…
Suggested Courses

656 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