Damien Carbery wrote:
> I don't understand why the script removes these packages as they
> are not listed in the script. Are they listed as removed in the
> install log?

Yes:

JDS Installation Log opened at Sun Apr 20 08:35:40 EDT 2008
Uninstalling SUNWcupsr
running pfexec /usr/sbin/pkgrm -a /tmp/.pkg.7398.admin -n SUNWcupsr.*
*** command output follows ***

Removal of <SUNWcupsr> was successful.
*** command output ends ***
Uninstalling SUNWcupsu
running pfexec /usr/sbin/pkgrm -a /tmp/.pkg.7398.admin -n SUNWcupsu.*
*** command output follows ***

Removal of <SUNWcupsu> was successful.
*** command output ends ***
Uninstalling SUNWhal
running pfexec /usr/sbin/pkgrm -a /tmp/.pkg.7398.admin -n SUNWhal.*
*** command output follows ***

Removal of <SUNWhal> was successful.
*** command output ends ***
Uninstalling SUNWhalr
running pfexec /usr/sbin/pkgrm -a /tmp/.pkg.7398.admin -n SUNWhalr.*
*** command output follows ***

Removal of <SUNWhalr> was successful.
*** command output ends ***
Starting installation of jds at Sun Apr 20 08:36:14 EDT 2008
running mkdir -p /tmp/install_jds_7398.dir
*** command output follows ***
*** command output ends ***

> WRT the duplicate packages from the jds dir, is there a
> jds/.remove-always file? It should just contain one line: SUNW*

Yep:
$ cat jds/.remove-always
SUNW*

In the log, for example:

Installing package SUNWjds-registration
running pfexec /usr/sbin/pkgadd -a /tmp/.pkg.7398.admin -n -d 
/tmp/install_jds_7
398.dir SUNWjds-registration
*** command output follows ***

This appears to be an attempt to install the same architecture and
version of a package which is already installed.  This installation
will attempt to overwrite this package.

Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.

Installation of <SUNWjds-registration.2> was successful.
*** command output ends ***

It doesn't bother to try and remove the previous package.  I now have the 
following ".2" packages on my system:

SUNWmysql-python.2
SUNWpysqlite.2
SUNWpython-imaging.2
SUNWpython-setuptools.2
SUNWpython-twisted.2
SUNWpython-xdg.2
SUNWpython-zope-interface.2
SUNWrdesktop.2
SUNWrrdtool.2
SUNWsexy-python.2
SUNWvirt-manager-root.2
SUNWvirt-manager.2
SUNWxdg-utils.2

-Seb

Reply via email to