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 #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 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 #pkgsend -s http://localhost:10000 close with the same effect: Image is always created with older time stamp. 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--- I guess, IPS ignores a newer version or time stamp, maybe it's a bug... Regards, Jan Hlodan On Thu, Oct 30, 2008 at 2:12 PM, Danek Duvall <[EMAIL PROTECTED]> wrote: > On Thu, Oct 30, 2008 at 10:14:51AM +0100, Jan Hlodan wrote: > >> Hi Danek, >> >> thank you for reply! >> I did what you wrote me but without success. >> Now I have on my localhost these packages: >> >> pkg:/[EMAIL PROTECTED],5.11-0.100:20080220T154931Z >> pkg:/[EMAIL PROTECTED],5.11:20081029T154836Z >> >> version 0.5.11 is old package which I want to replace with version >> 17.17.17. The time stamp is newer. >> Unfortunately, the image was created with old version 0.5.11 >> What am I doing wrong? > > When you type "pkg install SUNWddu-l10n", what happens? What about "pkg > list -a SUNWddu-l10n"? > > Danek > _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
