[csw-users] blastwave package question

Dennis Clarke dclarke at blastwave.org
Tue Aug 15 18:56:46 CEST 2006


> I'm investigating the possible use of some blastwave packages. However,
> I need to discover an answer to an administrative question.

shoot !

> When an administer does a pkgadd of a Sun package, some audit trail files
> are created/updated in root file systems, so that one can query what
> versions of the package are installed, etc.

  exactly ... the SVR4 package format and associated audit files are there
 to help us even though they are a tad primitive.  An effort existed at one
 point to make this into a database backend but that seems to have fallen
 into the "backwards compatibility" hole somewhere.

> When one uses the blastwave pkg_add command, is the same true? Are files
> created in the root file system?

 precisely the same

 All the packages from Blastwave are built to the SVR4 standards for any
 currently shipping Solaris revision.  Even Solaris Express and Nevada
 will work but just don't be surprised if there are new things out there
 on the leading edge.

> The system admins are concerned that use of the blastwave pkg_add will
> create
> a situation where, when they apply Sun patches or upgrades, blastwave info
> may be overwritten and someone would then need to reinstall the packages.

  impossible

  won't happen

> If pkg_add does do this, then is there a way to install things manually so
> that such files need not be created (or at least not in root)?

  You dont have to worry.

  Consider a machien that I installed a ton of Blastwave packages into last
 night.  Thus :


Sun Microsystems Inc.   SunOS 5.8       Generic February 2000
$ uname -a
SunOS titan 5.8 Generic_117351-39 i86pc i386 i86pc
$ cat /etc/release
                       Solaris 8 2/02 s28x_u7wos_08a INTEL
           Copyright 2002 Sun Microsystems, Inc.  All Rights Reserved.
                           Assembled 18 December 2001
$ ls -ltr /var/sadm/pkg | grep CSW | grep "`date '+%b %e'`" | head
drwxr-xr-x   4 root     other        512 Aug 15 00:22 CSWliboil
drwxr-xr-x   4 root     other        512 Aug 15 00:22 CSWgstplugins
drwxr-xr-x   4 root     other        512 Aug 15 00:28 CSWseamonkey
drwxr-xr-x   4 root     other        512 Aug 15 00:33 CSWgimp
drwxr-xr-x   4 root     other        512 Aug 15 00:34 CSWgimpextras
drwxr-xr-x   4 root     other        512 Aug 15 00:34 CSWpygtk
drwxr-xr-x   4 root     other        512 Aug 15 00:35 CSWsaneback
drwxr-xr-x   4 root     other        512 Aug 15 00:36 CSWxsane
drwxr-xr-x   4 root     other        512 Aug 15 00:37 CSWopencdk
drwxr-xr-x   4 root     other        512 Aug 15 00:37 CSWgnutls


$ ls -ltr /var/sadm/pkg | grep CSW | grep "`date '+%b %e'`" | awk '{ print
$9 }' | xargs pkginfo -l  | head
   PKGINST:  CSWbzflag
      NAME:  bzflag - a free multiplayer multiplatform 3D tank battle game
(gcc3)
  CATEGORY:  application
      ARCH:  i386
   VERSION:  2.0.8
    VENDOR:  http://www.bzflag.org packaged for CSW by Ken Mays
    PSTAMP:  thor20060615223901
  INSTDATE:  Aug 15 2006 01:08
   HOTLINE:  http://www.blastwave.org/bugtrak/
     EMAIL:  kenmays at blastwave.org
$ xargs: Child killed with signal 13


$ ls -ltr /var/sadm/pkg | grep CSW | grep "`date '+%b %e'`" | awk '{ print
$9 }' | xargs pkginfo -l  | egrep "PKGINST|VERSION|INSTDATE"
   PKGINST:  CSWbzflag
   VERSION:  2.0.8
  INSTDATE:  Aug 15 2006 01:08
   PKGINST:  CSWevolution
   VERSION:  2.2.2,REV=2005.04.13
  INSTDATE:  Aug 15 2006 00:56
   PKGINST:  CSWevolution-ds
   VERSION:  1.2.2,REV=2005.04.13
  INSTDATE:  Aug 15 2006 00:50
   PKGINST:  CSWevolutionwebcal
   VERSION:  2.6.0
  INSTDATE:  Aug 15 2006 00:52
   PKGINST:  CSWfileroller
   VERSION:  2.14.4
  INSTDATE:  Aug 15 2006 01:09
   PKGINST:  CSWfreeglut
   VERSION:  2.2.0,REV=2004.11.05
  INSTDATE:  Aug 15 2006 01:09
   PKGINST:  CSWgaim
   VERSION:  1.5.0
  INSTDATE:  Aug 15 2006 00:59
   PKGINST:  CSWgal2
   VERSION:  2.4.2,REV=2005.04.13
  INSTDATE:  Aug 15 2006 00:53
   PKGINST:  CSWgimp
   VERSION:  2.2.12,REV=2006.08.10
  INSTDATE:  Aug 15 2006 00:32
   PKGINST:  CSWgimpextras
   VERSION:  2.0.1
  INSTDATE:  Aug 15 2006 00:34
   PKGINST:  CSWgimphelp
   VERSION:  2.0.9
  INSTDATE:  Aug 15 2006 01:02
   PKGINST:  CSWgnome
   VERSION:  2.14.3,REV=2006.08.12
  INSTDATE:  Aug 15 2006 01:11
   PKGINST:  CSWgnomespell
   VERSION:  1.0.5,REV=2004.03.15
  INSTDATE:  Aug 15 2006 00:53
   PKGINST:  CSWgnutls
   VERSION:  1.0.23,REV=2004.12.29
  INSTDATE:  Aug 15 2006 00:37
   PKGINST:  CSWgstplugins
   VERSION:  0.10.7
  INSTDATE:  Aug 15 2006 00:22
   PKGINST:  CSWgtkhtml31
   VERSION:  3.11.90.1
  INSTDATE:  Aug 15 2006 00:54
   PKGINST:  CSWgtkspell
   VERSION:  2.0.6
  INSTDATE:  Aug 15 2006 00:58
   PKGINST:  CSWlibao
   VERSION:  0.8.6
  INSTDATE:  Aug 15 2006 00:58
   PKGINST:  CSWliboil
   VERSION:  0.3.9
  INSTDATE:  Aug 15 2006 00:22
   PKGINST:  CSWlibsoup2
   VERSION:  2.2.96
  INSTDATE:  Aug 15 2006 00:37
   PKGINST:  CSWlibtool
   VERSION:  1.5.22,REV=2006.06.27
  INSTDATE:  Aug 15 2006 00:38
   PKGINST:  CSWmesademos
   VERSION:  6.5
  INSTDATE:  Aug 15 2006 01:09
   PKGINST:  CSWmplayer
   VERSION:  1.0pre7,REV=2006.06.11
  INSTDATE:  Aug 15 2006 01:07
   PKGINST:  CSWnas
   VERSION:  1.8
  INSTDATE:  Aug 15 2006 01:06
   PKGINST:  CSWoldap
   VERSION:  2.3.24,REV=2006.06.11
  INSTDATE:  Aug 15 2006 00:49
   PKGINST:  CSWoldapclient
   VERSION:  2.3.24,REV=2006.06.11
  INSTDATE:  Aug 15 2006 00:37
   PKGINST:  CSWopencdk
   VERSION:  0.5.7,REV=2005.08.23
  INSTDATE:  Aug 15 2006 00:37
   PKGINST:  CSWpygtk
   VERSION:  2.8.2
  INSTDATE:  Aug 15 2006 00:34
   PKGINST:  CSWrhythmbox
   VERSION:  0.8.4
  INSTDATE:  Aug 15 2006 01:07
   PKGINST:  CSWsaneback
   VERSION:  1.0.17
  INSTDATE:  Aug 15 2006 00:35
   PKGINST:  CSWsdlimage
   VERSION:  1.2.4,REV=2006.05.03
  INSTDATE:  Aug 15 2006 01:08
   PKGINST:  CSWseamonkey
   VERSION:  1.0.2
  INSTDATE:  Aug 15 2006 00:25
   PKGINST:  CSWtk
   VERSION:  8.4.10
  INSTDATE:  Aug 15 2006 00:58
   PKGINST:  CSWungif
   VERSION:  4.1.0
  INSTDATE:  Aug 15 2006 01:07
   PKGINST:  CSWunixodbc
   VERSION:  2.2.11
  INSTDATE:  Aug 15 2006 00:48
   PKGINST:  CSWxsane
   VERSION:  0.991
  INSTDATE:  Aug 15 2006 00:36
   PKGINST:  CSWzenity
   VERSION:  2.15.2
  INSTDATE:  Aug 15 2006 01:05
$


There.  Is that beautiful or what ?!?!   :-)

Dennis Clarke




More information about the users mailing list