[pkg-discuss] Problems with testing fixes for bugs #956 and #1225.
Rich Burridge
Rich.Burridge at Sun.COM
Wed Oct 29 08:45:55 PDT 2008
Danek Duvall wrote:
> On Wed, Oct 29, 2008 at 07:31:05AM -0700, Rich Burridge wrote:
>
>> $ pfexec beadm create opensolaris-8
>> $ mkdir /tmp/mnt
>> $ pfexec beadm mount opensolaris-8 /tmp/mnt
>> $ pfexec pkg set-authority -P -O http://stard.sfbay.sun.com:21225 bug-1225
>> $ pfexec pkg set-authority -O http://ipkg.sfbay.sun.com:29047 ipkg
>> $ pfexec pkg refresh
>> $ pfexec pkg -R /tmp/mnt install SUNWcs
>> $ pfexec pkg -R /tmp/mnt install SUNWj6rt
>> $ pfexec pkg set-authority -P opensolaris.org
>> $ pfexec pkg unset-authority bug-1225
>> $ pfexec pkg unset-authority ipkg
>> $ pfexec beadm unmount opensolaris-8
>
> You're installing SUNWcs and SUNWj6rt into your new BE, but none of the
> other commands apply to that new BE -- you're doing all the authority
> modifications to your current BE. I don't know if correcting that will
> solve all of your problems, but it might be a start.
It seems to.
For the record, here's what I did.
richb at stard:~/pkg/bugs/1225/gate$ pfexec beadm mount opensolaris-8 /tmp/mnt
richb at stard:~/pkg/bugs/1225/gate$ pfexec pkg -R /tmp/mnt set-authority
-P -O http://stard.sfbay.sun.com:21225 bug-1225
richb at stard:~/pkg/bugs/1225/gate$ pfexec pkg -R /tmp/mnt set-authority
-O http://ipkg.sfbay.sun.com:29047 ipkg
richb at stard:~/pkg/bugs/1225/gate$
richb at stard:~/pkg/bugs/1225/gate$ pfexec pkg -R /tmp/mnt refresh
richb at stard:~/pkg/bugs/1225/gate$ pfexec pkg -R /tmp/mnt install SUNWcs
DOWNLOAD PKGS FILES XFER (MB)
Completed 1/1 9/9 0.03/0.03
PHASE ACTIONS
Removal Phase 1/1
Install Phase 2/2
Update Phase 8/8
PHASE ITEMS
Reading Existing Index 9/9
Indexing Packages 1/1
richb at stard:~/pkg/bugs/1225/gate$ pfexec pkg -R /tmp/mnt install SUNWj6rt
DOWNLOAD PKGS FILES XFER (MB)
Completed 1/1 1/1 0.00/0.00
PHASE ACTIONS
Removal Phase 1/1
Install Phase 3/3
Update Phase 2/2
PHASE ITEMS
Reading Existing Index 9/9
Indexing Packages 1/1
richb at stard:~/pkg/bugs/1225/gate$ pfexec pkg -R /tmp/mnt set-authority
-P opensolaris.org
richb at stard:~/pkg/bugs/1225/gate$ pfexec pkg -R /tmp/mnt unset-authority
bug-1225
richb at stard:~/pkg/bugs/1225/gate$ pfexec pkg -R /tmp/mnt unset-authority
ipkg
richb at stard:~/pkg/bugs/1225/gate$ pfexec beadm unmount opensolaris-8
richb at stard:~/pkg/bugs/1225/gate$
I'll now reboot and try it out.
Thanks!
More information about the pkg-discuss
mailing list