OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004611 [gnucashcommon] other block always 2010-11-19 14:59 2011-01-20 11:20
Reporter james View Status public  
Assigned To pfelecan
Priority high Resolution unable to reproduce  
Status closed  
Summary 0004611: Cannot remove package, post install fails
Description Cannot remove package because post install fails.
Additional Information ## Executing preremove script.
info: updating the schemas:
Resolved address "xml:readwrite:/opt/csw/etc/gconf/gconf.xml.defaults" to a writable configuration source at position 0
Segmentation Fault - core dumped
postinstall: anomaly : schemas installation failed!
pkgrm: ERROR: preremove script did not complete successfully

Removal of <CSWgnucashcommon> failed.




Running manually on one causes core dump:

$ /opt/csw/bin/gconftool-2 --makefile-uninstall-rule /opt/csw/etc/gconf/schemas/apps_gnucash_dialog_business_common.schemas
Resolved address "xml:readwrite:/opt/csw/etc/gconf/gconf.xml.defaults" to a writable configuration source at position 0
Segmentation Fault(coredump)



Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0008465)
pfelecan (manager)
2010-11-19 15:27

Cannot reproduce:

# uname -a
SunOS host 5.10 Generic_137138-09 i86pc i386 i86pc Solaris

# cat /etc/release
                       Solaris 10 10/08 s10x_u6wos_07b X86
           Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 27 October 2008


# pkg-get install gnucashcommon
.
.
.
Installed schema `/schemas/apps/gnucash/window/pages/register/width' for locale `hu'

Installation of <CSWgnucashcommon> was successful.

# pkg-get remove gnucashcommon
.
.
.
Uninstalled schema `/schemas/apps/gnucash/window/pages/register/width' from locale `hu'
## Removing pathnames in class <none>
/opt/csw/share/xml/gnucash/xsl/vcard-gnccustomer.pl
.
.
.
/opt/csw/bin <shared pathname not removed>
## Updating system information.

Removal of <CSWgnucashcommon> was successful.
(0008466)
james (reporter)
2010-11-19 15:32

Can't not reproduce.

# cat /etc/release
                        Solaris 9 9/05 s9s_u8wos_05 SPARC
           Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 04 August 2005


Workaround, edit post install file /var/sadm/pkg/CSWgnucashcommon/install/preremove and remove the "|| Error ..."
(0008467)
james (reporter)
2010-11-19 15:42

The fault one or more of:

+ with CSWgconf2 - file a complimentary issue, it shouldn't core dump whatever.

+ /opt/csw/etc/gconf/schemas/apps_gnucash_dialog_business_common.schemas

+ The post install that doesn't tolerate failure of gconf2, note also gconf2 is not a depend and should be.
(0008468)
pfelecan (manager)
2010-11-19 15:44

this means that gconftool-2 has a bug: exits with non zero value on success !?
Alright for the workaround but the bug relates to the package containing gconftool-2, isn't it?
(0008469)
james (reporter)
2010-11-19 15:47

It dumps core and exits non zero.
(0008717)
james (reporter)
2011-01-20 11:09

This is assigned to me but it's not my project.
(0008718)
pfelecan (manager)
2011-01-20 11:14

Besides, with the current GTK stack that OpenCSW offers I cannot provide a newer version.
(0008719)
james (reporter)
2011-01-20 11:20

The problem is that I can't remove gnucash when the sub program crashes, not that it crashes (that's a bug but not this one), this is fixable within gnucash.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker