[csw-users] tcsh 6.14 postremove bug.

Chris Reece car at blastwave.org
Fri Jul 20 22:10:43 CEST 2007


Sorry, folks, but there's a bug in the postremove script supplied in  
the current unstable CSWtcsh package (tcsh-6.14.00,REV=2007.03.19).   
Some users (possibly restricted to Solaris 8 users) may fail to  
remove or upgrade this package.  Failure results in the following  
output:

## Executing postremove script.
/var/sadm/pkg/CSWtcsh/install/postremove: test: argument expected
pkgrm: ERROR: postremove script did not complete successfully

Removal of <CSWtcsh> failed.


A fixed package is ready to be released.  Prior to upgrade, however,  
users who experience this failure will need to perform two tasks:

1) Removal of the postremove script, like so:

rm /var/sadm/pkg/CSWtcsh/install/postremove

and, if the fixed package is not to be applied immediately;

2) Correction of /etc/shells, to remove the line that reads:

/opt/csw/bin/tcsh       # Added by CSWtcsh

An alternative to these steps would be to fix the bug manually by  
editing /var/sadm/pkg/CSWtcsh/install/postremove and placing quotes  
around ${BASEDIR} on line 7.

After these steps have been completed, affected users should then be  
able to upgrade or remove CSWtcsh without issue.

-- 
Chris Reece
http://www.crank.org.uk/





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/users/attachments/20070721/d5fb1f40/attachment-0001.html>


More information about the users mailing list