To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=49969
Issue #:|49969
Summary:|pkgrm openofficeorg-pyuno fails to remove symbolic
|links
Component:|Installation
Version:|680m104
Platform:|All
URL:|
OS/Version:|Solaris
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|code
Assigned to:|of
Reported by:|tora
------- Additional comments from [EMAIL PROTECTED] Fri May 27 11:41:47 -0700
2005 -------
Phenomenon:
A directory of installation set remains after uninstallation.
ls -l /opt/openoffice.org1.9.79/program
lrwxrwxrwx 1 root other 9 Mar 15 17:36 python -> python.sh
lrwxrwxrwx 1 root other 17 Mar 15 17:36 python-core -> python-core-2.3.4
Notes:
- The similar issue for Linux has been reported in the issue 46314.
- No difference of the shell scripts between 680m79 (2.0bc) and
680m104 can be found.
Reproduction:
1. Download an installer file for Solaris at
http://ftp.stardiv.de/pub/OpenOffice.org/developer/680_m104/
2. Download a file named admin at
http://ftp.stardiv.de/pub/OpenOffice.org/developer/install_scripts/
3. Extract the installer file.
4. Install packages without use of a shell script named install_solaris.sh.
# bash
# cd packages
# /usr/sbin/pkgadd -a ../admin -d . *core* *[^0-9]
5. Check the installation directory
# ls /opt/openoffice.org1.9.104
5. Remove the packages without use of uninstall_solaris.sh.
# pkgrm -a ../admin *[^0-9] *core*
6. Confirm if the directory of the installation set is successfully removed.
Expectation:
# ls /opt/openoffice.org1.9.104
/opt/openoffice.org1.9.104: No such file or directory
Reality:
# ls /opt/openoffice.org1.9.104
program
That means something remains after uninstallation.
Quick Look:
A package openofficeorg-pyuno has four shell scripts:
openofficeorg-pyuno/install/preinstall
openofficeorg-pyuno/install/postinstall
openofficeorg-pyuno/install/preremove
openofficeorg-pyuno/install/postremove
The file postinstall has lines to create symbolic links described above
while another file postremove has no line to remove the symbolic links.
Possible Options:
1. Use function of the package managing system. The system can install
and uninstall symbolic links by itself without use of shell scripts.
Please refer to descriptions on "ftype l" in the document at
http://docs.sun.com/app/docs/doc/806-7008/6jftmsc1n?a=view#ch2buildpkg-19
2. Add some lines in the shell script postremove to remove the symbolic links.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]