[bug-notifications] [pkgutil 0003702]: pkgutil should upgrade cswclassutils before installing other packages

Mantis Bug Tracker noreply at opencsw.org
Thu Jun 4 17:41:10 CEST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=3702 
====================================================================== 
Reported By:                skayser
Assigned To:                bonivart
====================================================================== 
Project:                    pkgutil
Issue ID:                   3702
Category:                   regular use
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-06-01 18:17 CEST
Last Modified:              2009-06-04 17:41 CEST
====================================================================== 
Summary:                    pkgutil should upgrade cswclassutils before
installing other packages
Description: 
I just tried to install CSWstunnel from testing, which has a dependency on
CSWcswclassutils. CSWcswclassutils was already installed on the system, but
not the most recent one, so pkgutil offered to install stunnel and upgrade
cswclassutils.

Instead of upgrading cswclassutils first (which i would have expected as
it is a dependency of stunnel) it went on to install stunnel first. Is this
a multi-repository issue? It would be good to have pkgutil install all
dependencies first before installing dependent packages no matter what.
Especially cswclassutils as dependent packages might make use of recent
cswclassutils features.

# pkgutil -t http://mirror.opencsw.org/opencsw/testing -i stunnel
...
Parsing catalog, may take a while...
New packages: CSWstunnel-4.27,REV=2009.06.01
Updated packages: CSWcswclassutils-1.14,REV=2009.05.29
Current packages: CSWcommon-1.4.6,REV=2008.04.28
CSWcacertificates-20090108,REV=
2009.01.08 CSWtcpwrap-7.6,REV=2006.03.30.ipv6.4
CSWosslrt-0.9.8,REV=2009.03.27_r
ev=k CSWzlib-1.2.3,REV=2009.04.05
Total size: 118.5 KB
2 packages to fetch. Do you want to continue? [Y,n]
...
Installing CSWstunnel-4.27,REV=2009.06.01

Processing package instance <CSWstunnel> from
</var/opt/csw/pkgutil/packages/stunnel-4.27,REV=2009.06.01-SunOS5.8-sparc-CSW.pkg>

...
The following package is currently installed:
   CSWcswclassutils      cswclassutils - CSW class action utilities
                         (all) 1.4,REV=2009.02.18

Do you want to remove this package? [y,n,?,q] q
...

Let me know if you need any further information. The machine is still in
an unchanged state, so i can easily do testing.
====================================================================== 

---------------------------------------------------------------------- 
 (0006243) bonivart (manager) - 2009-06-02 17:49
 http://www.opencsw.org/mantis/view.php?id=3702#c6243 
---------------------------------------------------------------------- 
If I made a dime on pkgutil I would have to start paying you for beta
testing! :-)

I see what you mean, if stunnel made use of any new features compared to
the one you had installed it would have failed. Even more interesting is to
know for sure it would have installed cswclassutils first if you didn't
have it at all..?!

I'll do some testing of my own and maybe come up with a special case for
cswclassutils. 

---------------------------------------------------------------------- 
 (0006266) bonivart (manager) - 2009-06-04 17:41
 http://www.opencsw.org/mantis/view.php?id=3702#c6266 
---------------------------------------------------------------------- 
I have taken a look at this and made a small change to how the packages to
be downloaded/installed/upgraded are ordered. As far as I can see no
special case for cswclassutils is needed now. Please try r56:

http://pkgutil.svn.sourceforge.net/viewvc/pkgutil/trunk/pkgutil?revision=56

It also contains a fix for http://www.opencsw.org/mantis/view.php?id=3701 (r55).


Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-01 18:17 skayser        New Issue                                    
2009-06-02 16:54 bonivart       Status                   new => assigned     
2009-06-02 16:54 bonivart       Assigned To               => bonivart        
2009-06-02 17:49 bonivart       Note Added: 0006243                          
2009-06-04 17:41 bonivart       Note Added: 0006266                          
======================================================================



More information about the bug-notifications mailing list