Hello, thank you very much for answer.
On Sat, Nov 15, 2008 at 4:30 PM, Danek Duvall <danek.duvall at sun.com> wrote: > I'm not sure what's going on here, but it has nothing to do with the > checksum -- the import code doesn't ever look at the checksum. > Good to know. Thanks for explanation. > The code determines what classes are in the archive by looking at the > "faspac" property in the pkginfo file. If there are files it expects to > find in the archive but aren't there, it'll go looking in the reloc > directory. > > It seems that for some reason, it didn't find these files in the archive, > and it didn't then find them in the reloc directory. Do make sure they're > in the archive, and do make sure that the archive is compressed either with > bzip2 or 7z, or the code won't find it. The archive also has a slightly > funny file format, but I'm not sure if that really matters here. My guess > is that you're not re-compressing, since you don't mention doing so in your > email. > Yes, I didn't re-compress 'none' because I tried to publish whole directory 'archive' into my localhost. What I did but manifest looks pretty different than original manifest of SUNWslim-utils package. Now I tried to re-compress 'none' back into 'none.bz2' find archive -print |cpio -o |bzip2 >none.bz2 and published SUNWslim-utils package but without success: sh-3.2# eval `pkgsend open SUNWslim-utils at 0.5.11,5.11-0.101` sh-3.2# pkgsend import SUNWslim-utils Traceback (most recent call last): File "/usr/bin/pkgsend", line 350, in ? ret = main_func() File "/usr/bin/pkgsend", line 325, in main_func trans_import(pcfg, pargs) File "/usr/bin/pkgsend", line 263, in trans_import for action in bundle: File "/usr/lib/python2.4/vendor-packages/pkg/bundle/SolarisPackageDirBundle.py", line 66, in __iter__ yield self.action(pkgmap[j(ci.name)], KeyError: 'archive' sh-3.2# I am thinking about option with application 'mc' It allows me to edit compressed archive directly. So I don't have to decompress/compress archive. But as soon as I edit archive, I can't publish this package any more. sh-3.2# eval `pkgsend open SUNWslim-utils at 0.5.11,5.11-0.101` sh-3.2# pkgsend import SUNWslim-utils Traceback (most recent call last): File "/usr/bin/pkgsend", line 350, in ? ret = main_func() File "/usr/bin/pkgsend", line 325, in main_func trans_import(pcfg, pargs) File "/usr/bin/pkgsend", line 276, in trans_import action) File "/usr/lib/python2.4/vendor-packages/pkg/publish/transaction.py", line 101, in add datastream = action.data() File "/usr/lib/python2.4/vendor-packages/pkg/actions/generic.py", line 118, in file_opener return open(data, "rb") IOError: [Errno 2] No such file or directory: 'SUNWslim-utils/reloc/jack/Desktop/getting_started.desktop' sh-3.2# > Danek > Regards, -- Jan Hlodan Prague, Czech Republic jan.hlodan at gmail.com +420776263175