[bug-notifications] [subversion 0004156]: Not all files in the .pkg datastream get installed??
Mantis Bug Tracker
noreply at opencsw.org
Fri Jan 15 03:51:33 CET 2010
The following issue requires your FEEDBACK.
======================================================================
http://www.opencsw.org/bugtrack/view.php?id=4156
======================================================================
Reported By: jcflack
Assigned To:
======================================================================
Project: subversion
Issue ID: 4156
Category: packaging
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
======================================================================
Date Submitted: 2010-01-14 22:35 CET
Last Modified: 2010-01-15 03:51 CET
======================================================================
Summary: Not all files in the .pkg datastream get installed??
Description:
This is an odd one. I'm on Solaris 10 5/09. I installed the
subversion-1.6.6,REV=2009.11.14-SunOS5.8-i386-CSW.pkg.gz package
and the file
share/doc/subversion/tools/client-side/change-svn-wc-format.py
did not get installed. No error message was produced. Its name
was not in the list of filenames output during installation. Its
name IS IN the pkgmap. But pkgchk completes successfully and never
complains about the file being missing.
The file IS PRESENT in the second cpio archive making up the
.pkg file. In fact, I have installed it by hand now, just by
uncompressing the .pkg.gz file, splitting apart the two cpio
archives with dd, and using cpio to extract the file. Nothing
wrong with the file.
Could something obscure be making the Solaris pkg tools just fail
to process that particular file? this is shaking my faith in the
packaging system.
======================================================================
----------------------------------------------------------------------
(0007240) skayser (administrator) - 2010-01-15 03:51
http://www.opencsw.org/bugtrack/view.php?id=4156#c7240
----------------------------------------------------------------------
Hi jcflack, thanks for the bug report. Your faith in the SVR4 packaging
tools need not to be shaken. There seems to be a simple bug in the
package.
The file in question is tagged with the class "cswpycompile" (see pkgmap
field http://www.opencsw.org/bugtrack/view.php?id=3) which means it is supposed
to be handled by one of our central
class actions script (namely /usr/sadm/install/scripts/i.cswpycompile) on
installation. These class action scripts all come with the cswclassutils
package, but the current subversion package fails to define a dependency on
cswclassutil.
So I suppose you are simply missing the cswclassutils package currently.
At least I can't spot a "Verifying class <cswpycompile>" line in your
svpkglg output. Would be helpful if pkgadd would at least warn about the
situation, but obviously it doesn't.
Could you please check whether you have the cswclassutils package
installed? If not, please install it (needs to be installed in the global
zone) and re-install the subversion package. If I was right in my analysis
the missing file should then be installed properly.
# pkginfo CSWcswclassutils
# pkgrm CSWsvn
# pkg-get -i CSWcsw
# pkg-get -i CSWsvn
Btw., in case you don't know it already, you can also use pkgtrans instead
of cpio to extract a .pkg datastream.
# gunzip subversion-XYZ.gz
# pkgtrans subversion-XYZ .
Or even better, use pkgutil to have it all done for you in one go. ;)
# pkg-get -i pkgutil
# pkgutil -Nd --extract subversion
More information about the bug-notifications
mailing list