Hello All,
I am facing a problem while installing a package.
Below are the details-
----------------------------------------------------------------------------------------------------------
1) I have a machine with Oracle Solaris 11 GA installed on it.
2) I have a "dny-package.p5p" having -
package :- my-package
version of my-package :- *1.0.0*
publisher :- my-publisher
3) On my machine i have set a network repository (http://host2.com:100000/)
with same publisher name (my-publisher). This repository contains-
package :- my-package
version of my-package :- *2.0.0*
publisher :- my-publisher
4) I want install *1.0.0* version of *my-package *on same machine.
a) So i fired " *pkg install -g dny-package.p5p my-package* " command.
This command does not throw any error.
It actually installs my-package of version *2.0.0*.
( but i am expecting the expecting the installed package to be of
version *1.0.0* )
b) if i use complete FMRI of my-package (
pkg://my-publisher/[email protected],5.11:20120414T054037Z ), it succeeds.
The expected version of my package gets installed.
i used " *pkg install -g dny-package.p5p
pkg://my-publisher/[email protected],5.11:20120414T054037Z* ".
-------------------------------------------------------------------------------------------------------------
*So my questions are -
**Is it like "-g" of **"pkg install" is not getting honoured properly? *
*Is the behaviour in 4-a above correct? **If yes, what is the use case for
it?
Is there any way to install older version of package without using complete
FMRI?
It would be great if any of the Experts could share thoughts on this. or
send some pointer/documents on this.*
Thanks,
-Dnyaneshwar
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss