Hi Dave
Dave Miner wrote:
On 09/14/10 07:41 AM, Nirmal Agarwal wrote:
Hi all
I am running SNV_147 and I created a BE using beadm.
v...@vbox:~# beadm list
BE Active Mountpoint Space Policy Created
-- ------ ---------- ----- ------ -------
opensolaris NR / 4.42G static 2010-09-14 12:52
snv-146 - - 95.0K static 2010-09-14 16:40
Now when I try to install a package in newly created BE it fails.
v...@vbox:~# pkg install --be-name snv-146 tidy
pkg: '' is not a valid boot environment name.
Is this a known issue or am I missing anything ?
While the message above is probably not what you should get, you are
missing something. The '--be-name' option names any new BE created by
the operation, it does not specify an existing BE to be used as the
target. For that, you would use:
beadm mount snv-146 /mnt
pkg -R /mnt install tidy
beadm umount snv-146
When I see pkg --help, I don't see '-R' option anymore. Is it not
supported anymore ?
v...@vbox:~# pkg --help
Usage:
pkg [options] command [cmd_options] [operands]
Basic subcommands:
pkg install [-nvq] [--accept] [--licenses] [--no-index]
[--no-refresh]
[--deny-new-be | --require-new-be] [--be-name name]
pkg_fmri_pattern ...
Is there any way where I can install an older rev of a package on the
system ? Basically I want to install SNV 146 on the ABE, so I tried
installing [email protected],5.11-0.146 using "pkg -R " but it fails saying
that I have the newer version installed on the system. So is there
anyway I can go back in the revision ?
Thanks
Nirmal
Dave
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss