SUMMARY: pkginfo is incorrect.

From: Christopher L. Barnard <cbar44_at_tsg.cbot.com>
Date: Fri Nov 10 2006 - 16:00:06 EST
I asked

> This is a wierd one.  Notice the version info and the OpenSSL information
> in the name.  They are wrong:
>
> [ mmmtst4!/var/sadm/pkg/OpenSsh ] >> pkginfo -l OpenSsh
>    PKGINST:  OpenSsh
>       NAME:  OpenSSH Portable for Solaris 5.10, built with OpenSSL 0.9.7l 28 Sep 2006
>   CATEGORY:  Security,application
>       ARCH:  sparc
>    VERSION:  OpenSSH_4.4p1
>    BASEDIR:  /
>     VENDOR:  OpenSSH Portable Team - http://www.openssh.com/portable.html
>       DESC:  Secure Shell remote access utility; replaces telnet and rlogin/rsh.
>     PSTAMP:  C. Barnard, Solaris 5.10 sparc 02Oct2006 15:26
>   INSTDATE:  Oct 02 2006 15:42
>     STATUS:  completely installed
>      FILES:       50 installed pathnames
>                   12 shared pathnames
>                   20 directories
>                   11 executables
>                    1 setuid/setgid executables
>                14939 blocks used (approx)
>
> [ mmmtst4!/var/sadm/pkg/OpenSsh ] >>
>
> however, the version installed is 4.5 and the openSSL version is 0.9.8d:
> [ mmmtst4!/var/sadm/pkg/OpenSsh ] >> ssh -V
> OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006
>
> The pkginfo for the package is correct, though:
> [ mmmtst4!/var/sadm/pkg/OpenSsh ] >> more /var/sadm/pkg/OpenSsh/pkginfo
> CLASSES=none
> BASEDIR=/
> TZ=US/Central
> PATH=/sbin:/usr/sbin:/usr/bin:/usr/sadm/install/bin
> OAMBASE=/usr/sadm/sysadm
> PKG=OpenSsh
> NAME=OpenSSH Portable for Solaris 5.10, built with OpenSSL 0.9.8d 28 Sep 2006
> DESC=Secure Shell remote access utility; replaces telnet and rlogin/rsh.
> VENDOR=OpenSSH Portable Team - http://www.openssh.com/portable.html
> ARCH=sparc
> VERSION=OpenSSH_4.5p1
> CATEGORY=Security,application
> PSTAMP=C. Barnard, Solaris 5.10 sparc 10Nov2006 12:08
> PKGINST=OpenSsh
> PKGSAV=/var/sadm/pkg/OpenSsh/save
> POST_INS_RESTART=yes
> INSTDATE=Nov 10 2006 13:01
> [ mmmtst4!/var/sadm/pkg/OpenSsh ] >>
>
> I don't have multiple versions installed or anything like that:
> [ mmmtst4!/var/sadm/pkg/OpenSsh ] >> pkginfo | grep -i ssh
> Security    OpenSsh                          OpenSSH Portable for Solaris 5.10, built with OpenSSL 0.9.7l 28 Sep 2006
> [ mmmtst4!/var/sadm/pkg/OpenSsh ] >>
>
> So why is the pkginfo on this package incorrect?

The answer:

As several people suggested, pkginfo is clearly getting the information from
somewhere else.  Christ Clark hit the nail on the head: there was a
/var/sadm/pkg/.save.OpenSSH directory and that was overriding the info
in the /var/sadm/pkg/OpenSsh file.  I deleted the directory, and all is well.

Thanks to:

Susan.Thielen@wellsfargo.com
Steve Harris <sharris@myra.com>
gabriel rosenkoetter <gr@eclipsed.net>
Crist Clark <Crist.Clark@globalstar.com>

+-----------------------------------------------------------------------+
| Christopher L. Barnard         O     When I was a boy I was told that |
| cbarnard@tsg.cbot.com         / \    anybody could become president.  |
| (312) 347-4901               O---O   Now I'm beginning to believe it. |
| http://www.cs.uchicago.edu/~cbarnard                --Clarence Darrow |
+----------PGP public key available via finger or PGP keyserver---------+
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Nov 10 16:00:44 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:02 EST