[bug-notifications] [pkgutil 0004273]: RFE: Pull in dependencies even when installing a local file

Mantis Bug Tracker noreply at opencsw.org
Wed Feb 24 09:55:59 CET 2010


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=4273 
====================================================================== 
Reported By:                skayser
Assigned To:                bonivart
====================================================================== 
Project:                    pkgutil
Issue ID:                   4273
Category:                   regular use
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2010-02-14 19:59 CET
Last Modified:              2010-02-24 09:55 CET
====================================================================== 
Summary:                    RFE: Pull in dependencies even when installing a
local file
Description: 
I have just used pkgutil 1.9.1 to install my experimental postfix package.
I couldn't use -t as the experimental repository is currently broken, so I
downloaded it manually and invoked pkgutil with -i on the local file. This
only installs the package and doesn't seem to inspect the dependencies
contained in the package.

Could you add dependency handling for local file installs to be more
consistent with the default operation mode of pkgutil (which is to pull in
deps)? If someone doesn't want this to happen they should be able to say -N
to suppress this.

As a workaround I thought about pulling in the dependencies via "pkgutil
-i postfix -x CSWpostfix", which would work in general, but I would only
get the dependencies of the version from current/ (and the dependencies of
the experimental package have changed compared to the ones from current). I
know this wouldn't be required if experimental wasn't broken, but the
dependency handling would still be a helpful addition to pkgutil.
====================================================================== 

---------------------------------------------------------------------- 
 (0007517) bonivart (manager) - 2010-02-24 09:55
 http://www.opencsw.org/mantis/view.php?id=4273#c7517 
---------------------------------------------------------------------- 
I now remember that the local file install just triggers a pkgadd on the
file, that is it doesn't know anything about dependencies. To know that I
need to transform the package, look at the depend file and start to
download/install them, if they are at all in the catalog. Might be a new
package with all new deps.

I think in most cases deps from current will be very similar, and now
experimental works well.



More information about the bug-notifications mailing list