Hi, in packagemanager you can see version of package and also time stamp (date when selected package was built). Actually, now I have more then 4 versions of packages: SUNWddu, SUNWddu-l10n abd SUNWiiimf on my local repository. First I tried to publish package with different version (@17.17.17 e.t.) and then I let the same version (@0.5.11) - only time stamp was different. IPS should be able to recognize a newer version of packages, but it doesn't work. I always get image from old packages.
Sorry that I chose 2 different versions for an example in my previous mail. Regards, J.H. On Thu, Oct 30, 2008 at 5:53 PM, Danek Duvall <[EMAIL PROTECTED]> wrote: > On Thu, Oct 30, 2008 at 08:23:42AM -0700, Jan Hlodan wrote: > >> well, >> >> #mkdir /tmp/a >> #pkg image-create -F -a opensolaris.org=http://localhost:10000 /tmp/a >> #pkg -R /tmp/a install SUNWddu >> #pkg -R /tmp/a list -v SUNWddu >> it says: >> pkg:/[EMAIL PROTECTED],5.11:20081029T154739Z installed >> ---- >> it looks OK, but it's not. >> >> I tried 2 different ways: >> >> 1) using: pkgsend import >> >> #eval `pkgsend -s http://localhost:10000 open [EMAIL PROTECTED] >> #pkgsend -s http://localhost:10000 import >> path=/export/home/tester/test_packages/SUNWddu.tar.gz > > That pkgsend command shouldn't succeed. The "path=" is extraneous. > >> #pkgsend -s http://localhost:10000 close >> >> then I had 2 packages with the same version but with different time stamp: >> pkg:/[EMAIL PROTECTED],5.11-0.100:20080220T154933Z >> pkg:/[EMAIL PROTECTED],5.11:20081030T121759Z > > Where did the 17.17.17 version come from, if these are the only two > packages in the catalog? > >> 2) using: pkgsend add >> >> #eval `pkgsend -s http://localhost:10000 open [EMAIL PROTECTED] >> #pkgsend -s http://localhost:10000 add file mode=0555 owner=root >> group=bin path=/export/home/tester/test_packages/SUNWddu.tar.gz > > Is this pkgsend command what you meant above? That should be fine, then. > >> #pkgsend -s http://localhost:10000 close >> >> with the same effect: Image is always created with older time stamp. > > What do you mean that the image is created with an older timestamp? Images > don't have timestamps. > >> I tried to publish package with different (higher/newer) version, but >> it didn't help. >> >> sh-3.2# pkg list -a SUNWddu >> NAME (AUTHORITY) VERSION STATE UFIX >> SUNWddu (localtest) 0.5.11-0.100 installed ---- >> SUNWddu 0.5.11-0.99 known u--- > > Here you don't have either the 18.18.18 version or the 17.17.17 version. > Did you remember to do a refresh after you published the new packages? > >> I guess, IPS ignores a newer version or time stamp, maybe it's a bug... > > If it did, it would be, but I'm pretty sure you're doing something wrong. > > Danek > _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
