[bug-notifications] [pkgutil 0003904]: pkgutil 1.7: --transform doesn't work when package is already installed

Mantis Bug Tracker noreply at opencsw.org
Fri Oct 9 18:36:34 CEST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=3904 
====================================================================== 
Reported By:                skayser
Assigned To:                bonivart
====================================================================== 
Project:                    pkgutil
Issue ID:                   3904
Category:                   regular use
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-09-17 16:39 CEST
Last Modified:              2009-10-09 18:36 CEST
====================================================================== 
Summary:                    pkgutil 1.7: --transform doesn't work when package
is already installed
Description: 
Me again. In contrary to the -s/--stream option, --transform seems to check
the requested package against the ones that are already installed and
doesn't proceed if the package is already installed.

skayser @ ray42 ~$ pkgutil --transform wget
You're not root and didn't set -W, using current dir.
Parsing catalog, may take a while...
Current packages: CSWcacertificates-20090108,REV=2009.01.08
CSWcommon-1.4.6,REV=2008.04.28 CSWcswclassutils-1.18,REV=2009.08.10
CSWosslrt-0.9.8,REV=2009.03.27_rev=k CSWwget-1.11.4,REV=2009.04.15
$

The primary usage of --transform for me is to cross-check ongoing
packaging work with other packages. Whether a requested package is already
installed doesn't really matter to me, i just want to have a look at the
full package structure.

IIRC i was in favor of --transform to work as a switch to -d and to have
-d download a package independently of whether it is already installed.
Similar to "aptitude download <pkgname>" on Debian. Did we talk about that?
====================================================================== 

---------------------------------------------------------------------- 
 (0006823) bonivart (manager) - 2009-10-09 18:36
 http://www.opencsw.org/mantis/view.php?id=3904#c6823 
---------------------------------------------------------------------- 
I like your (2nd) suggestion a lot. It makes sense that you don't care
about installed packages when not installing/upgrading. I'm changing the
behavior for --download and --transform.

r123 now contains part of your suggestion:

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

Download and transform now fetches all needed packages regardless of
what's installed. You can add --nodeps or --exclude if you want less.




More information about the bug-notifications mailing list