[bug-notifications] [pkgutil 0003994]: pkgutil 1.8: -u leaves lock file around when hitting a cyclic dependency

Mantis Bug Tracker noreply at opencsw.org
Tue Nov 3 10:33:07 CET 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=3994 
====================================================================== 
Reported By:                skayser
Assigned To:                bonivart
====================================================================== 
Project:                    pkgutil
Issue ID:                   3994
Category:                   regular use
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-11-03 09:44 CET
Last Modified:              2009-11-03 10:33 CET
====================================================================== 
Summary:                    pkgutil 1.8: -u leaves lock file around when hitting
a cyclic dependency
Description: 
Me again, just filing everything i stumble upon currently - even minor
quirks. Filing it as tweak.

# pkgutil -u
Looking for packages that can be upgraded...
Parsing catalog, may take a while...
Loop protection limit (25000) hit. There's probably a cyclic dependency
in the catalog.

# ls /var/opt/csw/pkgutil/admin.run
/var/opt/csw/pkgutil/admin.run

# pkgutil -u
Stale lock file (/var/opt/csw/pkgutil/admin.run) removed
...
====================================================================== 

---------------------------------------------------------------------- 
 (0006943) bonivart (manager) - 2009-11-03 10:33
 http://www.opencsw.org/mantis/view.php?id=3994#c6943 
---------------------------------------------------------------------- 
There's some die-calls that cause this, I have replaced many by an exit-sub
that cleans this up. I will keep doing that by as you see this is fixed at
the next invocation of pkgutil.




More information about the bug-notifications mailing list