Solaris 10: On which CD is that XYZ package ?

August 16th, 2007 by Stephane Kattoor

If you want to know on which CD is a package, without :

  1. Mounting CD
  2. Searching
  3. Unmounting
  4. Swear and
  5. Go back to 1

Then you can :

  1. Mount CD #1 (mount -F hsfs /dev/dsk/<CDROM DEVICE> /mnt or, if you have automount cd /cdrom/cdrom0 or something like that)
  2. Go in the Solaris_10/Product directory of the CD
  3. Do grep -l <PACKAGE NAME> .virtual_packagetoc_*
  4. which will output the .virtual_packagetoc_N where N is the number of the CD holding that package.

Exemple :

1
2
3
4
5
# pwd
/mnt/Solaris_10/Product
# grep -l SUNWzsh .virtual_packagetoc_*
.virtual_packagetoc_5
#

So SUNWzsh, the package for ZSH shell, is on CD #5 of Solaris 10 distribution (damn, I don’t have it !)

This tip is courtesy of BlaF (thanks dude !)

Tagged with:

Related Post

2 Responses to “Solaris 10: On which CD is that XYZ package ?”

  1. Solaris 10: easily deal with removable media - Tech@Sakana Says:

    [...] tool is provided by the SUNWvolr and SUNWvolu packages. Once you have found those packages and installed them, accessing to your removable medias becomes a bliss : All you have to do is [...]

  2. Solaris 10 : installing … and starting SSHD - Tech@Sakana Says:

    [...] of, you’ll have to locate and install the following packages [...]

Leave a Reply