Martin Englund wrote:
I botched my mirror of pkg.opensolaris.org today, and while I'm waiting for the rsync to complete I removed the mirror from the provider but it looks like it didn't really work:

---8<---
r...@ise166:/net/lab-bld# pkg set-publisher -M http://xvm-bld.sfbay.sun.com/ opensolaris.org

r...@ise166:/net/lab-bld# pkg authority
PUBLISHER                             TYPE     STATUS   URI
opensolaris.org (preferred) origin online http://pkg.opensolaris.org/release/


r...@ise166:/net/lab-bld# pkg -R /mnt install xvm-gui
DOWNLOAD                                    PKGS       FILES     XFER (MB)
SUNWxvm                                      2/8       4/637     0.03/8.94
pkg: An unexpected error happened while preparing for install:
pkg: An error was encountered while attempting to retrieve package or file data for the requested operation.
pkg: Could not retrieve filelist from 'http://xvm-bld.sfbay.sun.com'
HTTPError code: 503 - Service Temporarily Unavailable
---8<---

Any hints on how to correct this? :)

Note that you're using -R /mnt, which means that pkg is going to use the configuration on /mnt, not the information on /.

So, you need to call set-publisher for the /mnt image:

pkg -R /mnt set-publisher -M http://xvm-bld.sfbay.sun.com/opensolaris.org

Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to