OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002173 [pkg_get] regular use major always 2007-03-18 16:41 2012-06-24 07:24
Reporter imp View Status public  
Assigned To
Priority normal Resolution fixed  
Status closed  
Summary 0002173: when -G flag is enabled in pkg-get.conf it is applied only to pkgadd, but not to pkgrm
Description when -G is in use via pkg-get.conf, pkg-get script does not add this flag to pkgrm invocation, but only to pkgadd. Thus when upgrading the CSW packages on global zone it effectively removes the package in hand from other zones as well, while installs the new version only in global zone.
Additional Information Wrecking havoc would be a strong wording, however judging by the look on the face of my associate who witnessed this it might quite well be true.
Tags No tags attached.
Attached Files

- Relationships

SYSTEM WARNING: Creating default object from empty value

has duplicate 0002272closed pkg-get upgrade on solaris 10 global zone with -G flag remove packages on non-global zones 
related to 0002944closedphil latest version of pkg-get added bad flag to pkgrm 

-  Notes
(0004657)
jand (reporter)
2007-07-06 04:35

an ugly possible workaround, as this is SUN\'s \"bug\" (feature?) in pkgrm, that doesn\'t have the \"-G\" option:
rename /etc/zones/index while pkgrm is running ...

Yes, I know, that could interfere with lots of other applications like zlogin zoneadm or other.

But I think there are few things that can be more bad than \"PKGADDFLAGS=-G; pkg-get -u pkg_get\" for example ...
(0005094)
jand (reporter)
2008-01-15 06:56

as the maintainer of pkg-get seems to be overwhelmed by the number of wishes and more or less big errors (or too busy at his _real_ business, as he gets no money for this), you may want to patch pkg-get yourself.
I developed some patches for pkg-get (including the fix mentioned in my previous notice), which you may want to try:
http://homepages.upb.de/dreyerja/pkg-get.htm [^]
(0005385)
philadmin (viewer)
2008-11-13 20:29

sorry that this bug escaped my notice.
(emails from the old blastwave.org bugtracker,were not working, for a long while)

I have fixed this in pkg-get 3.9.1 I think.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker