[bug-notifications] [pkgutil 0003683]: Add a pkgadd/pkgrm debug option

Mantis Bug Tracker noreply at opencsw.org
Mon May 25 10:07:36 CEST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=3683 
====================================================================== 
Reported By:                yann
Assigned To:                bonivart
====================================================================== 
Project:                    pkgutil
Issue ID:                   3683
Category:                   regular use
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-05-22 23:07 CEST
Last Modified:              2009-05-25 10:07 CEST
====================================================================== 
Summary:                    Add a pkgadd/pkgrm debug option
Description: 

pkgutil already has a debug option, but it is only used to debug pkgutil
itself.
It would be useful to add a pkgadd debug option which would add the -v
option in pkgadd/pkgrm calls.

It would help to debug user problem with postinstall/preremove/... code
without having to tell me to manually download/uncompress/pkgadd the
package.



====================================================================== 

---------------------------------------------------------------------- 
 (0006175) bonivart (manager) - 2009-05-23 00:37
 http://www.opencsw.org/mantis/view.php?id=3683#c6175 
---------------------------------------------------------------------- 
Would it be ok if it was an option in pkgutil.conf? I'm trying to be
conservative about the number of command line options. 

---------------------------------------------------------------------- 
 (0006186) yann (reporter) - 2009-05-23 14:25
 http://www.opencsw.org/mantis/view.php?id=3683#c6186 
---------------------------------------------------------------------- 
You already have the pkgaddopts option in pkgutil.conf, don't you ?

My idea is to just tell a user to do pkgutil --trace --install packagename
(for example) when they got a postinstall/preremove/... so then they can
very easily send me the debug output.

I would prefer this option to be a command line option because I think it
will be easier for the user, but that's your call. 

---------------------------------------------------------------------- 
 (0006189) bonivart (manager) - 2009-05-25 10:07
 http://www.opencsw.org/mantis/view.php?id=3683#c6189 
---------------------------------------------------------------------- 
You're absolutely right. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-22 23:07 yann           New Issue                                    
2009-05-23 00:37 bonivart       Note Added: 0006175                          
2009-05-23 00:37 bonivart       Status                   new => assigned     
2009-05-23 00:37 bonivart       Assigned To               => bonivart        
2009-05-23 14:25 yann           Note Added: 0006186                          
2009-05-25 10:07 bonivart       Note Added: 0006189                          
======================================================================




More information about the bug-notifications mailing list