OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003683 [pkg_get] regular use feature always 2009-05-22 23:07 2009-05-29 18:40
Reporter yann View Status public  
Assigned To bonivart
Priority normal Resolution fixed  
Status closed  
Summary 0003683: 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.


Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006175)
bonivart (developer)
2009-05-23 00:37

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 (developer)
2009-05-23 14:25

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 (developer)
2009-05-25 10:07

You're absolutely right.
(0006190)
bonivart (developer)
2009-05-25 16:22

You now have a --trace option that sets -v for pkgadd/pkgrm operations. You can download the updated pkgutil script from:

http://pkgutil.svn.sourceforge.net/viewvc/pkgutil/trunk/pkgutil?revision=46 [^]

Let me know if it's what you want.
(0006192)
bonivart (developer)
2009-05-25 18:30

There's also packages in testing now:

http://mirror.opencsw.org/testing/pkgutil-1.6b1,REV=2009.05.25-SunOS5.8-i386-CSW.pkg.gz [^]
http://mirror.opencsw.org/testing/pkgutil-1.6b1,REV=2009.05.25-SunOS5.8-sparc-CSW.pkg.gz [^]
(0006217)
bonivart (developer)
2009-05-28 15:26

Will be in 1.6.
(0006230)
bonivart (developer)
2009-05-29 18:40

1.6 released.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker