Backout script for downloads prior to June 2

As some of you have already experienced, the Sun Update Connection Preview Release client code that was released through the download center had a problem. The correct version was posted on Thursday 6/2/05 at 5:00PM PST. If you are running a version that was downloaded prior to Thursday, 6/2/05 at 5:00PM PST, you'll need to manually remove the previous packages before installing the correct version.To make this easier, the following script should be used. This script should be run as root and you should first exit the Sun Update Manager application.

- -

#! /bin/ksh

# Generate vars that contains packages and their version numbers

this_platform=`uname -p`

if [ "$this_platform" == "sparc" ]; then

patch1=119574-01

patch2=119107-01

patch3=119788-01

rm_ppror_version=5.0,REV=2005.05.13.16.32

rm_pprou_version=5.0,REV=2005.05.13.16.32

else

patch1=119575-01

patch2=119108-01

patch3=119789-01

rm_ppror_version=5.0,REV=2005.05.13.17.01

rm_pprou_version=5.0,REV=2005.05.13.17.01

fi

showrev -p | grep $patch2 > /dev/null 2>& 1

if [ $? -eq 0 ]; thenrm -f /var/sadm/patch/$patch3/prebackout

patchrm $patch3

fi

showrev -p | grep $patch2 > /dev/null 2>& 1

if [ $? -eq 1 ]; then

echo $patch2 is not installed on your system, exiting...

exit 0

fi

/usr/sbin/cc-client-adm stop > /dev/null 2>& 1

/usr/sbin/cc-client-adm disable > /dev/null 2>& 1

rm -f /var/sadm/patch/$patch2/prebackout

patchrm $patch2

patchrm $patch1

ppror_version=`pkgparam SUNWppror VERSION`

pprou_version=`pkgparam SUNWpprou VERSION`

admin_file=/tmp/admin.quiet.$$

cat << EOF > $admin_file

mail=

instance=overwrite

partial=ask

runlevel=ask

idepend=nocheck

rdepend=nocheck

space=ask

setuid=nocheck

conflict=nocheck

action=nocheck

networktimeout=60

networkretries=3

authentication=quit

keystore=/var/sadm/security

proxy=

basedir=default

EOF

if [ "$ppror_version" == "$rm_ppror_version" ]; then

pkgrm -n -a $admin_file SUNWppror

fi

if [ "$pprou_version" == "$rm_pprou_version" ]; then

pkgrm -n -a $admin_file SUNWpprou

fi

rm $admin_file

exit 0

- -

[2428 byte] By [ForumHelp] at [2007-11-26 6:02:28]
# 1

I just downloaded the posted "Preview Release" version and unzipped in /tmp and here are the dates associated with it:

drwxr-xr-x4 rootroot 512 May 20 18:12 patches

-rwxr-xr-x1 rootroot1480 May 20 18:12 installUpdateConnection

drwxr-xr-x3 rootroot 512 May 20 18:12 .

drwxrwxrwt 10 rootsys 2560 Jun 27 17:19 ..

Is this why I'm still having problem with "Exception in web service communication" during registration?

Burmese at 2007-7-6 13:25:57 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2
When did you download the client software?
kayo_granillo at 2007-7-6 13:25:57 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3
yesterday - June 27, 2005
Burmese at 2007-7-6 13:25:57 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 4
I just today (July 6th) downloaded the Sun Update Connection Preview Release. The version that I downloaded still appears to be the earlier version. All the files are dated May 20th. How do I go about getting the newer version?Steve
scherbis at 2007-7-6 13:25:57 > top of Java-index,Administration Tools,Sun Update Connection-System...