When I query the repositories on the repo-server I see:
root@repo-server:~# pkg publisher
PUBLISHER TYPE STATUS URI solaris origin online http://192.168.2.100/ dev origin online http://192.168.2.100:81/
root@repo-server:~# pkgrepo info -s http://192.168.2.100/
PUBLISHER PACKAGES STATUS UPDATED solaris 4292 online 2012-10-16T10:10:13.790896Z
root@repo-server:~# pkgrepo info -s http://192.168.2.100:81/
PUBLISHER PACKAGES STATUS UPDATED solaris 4292 online 2012-10-17T10:16:06.384247Z dev 0 online 2012-10-17T10:20:14.969619Z
The same on the the other servers prod-server and dev-server even with Firefox.
When I query the repository http://192.168.2.100:81/ with Firefox I only see the dev
repository with 0 packages.
What's not clear to me is, when I query my 2nd repository http://192.168.2.100:81/
I see a solaris publisher ( but not the same as in http://192.168.2.100/ ) with 4292 packages
and a dev repository with 0 packages!! Perhaps I have to move the packages from solaris ( at http://192.168.2.100:81/ ) to dev
and after that I have to delete the solaris publisher ( at http://192.168.2.100:81/ )??
I don't know, I'm puzzled!!
Here is what the directory of the dev repository looks like:
root@repo-server:/DEVpool/repo/publisher# ls -l
drwxr-xr-x 5 root root 5 Oct 17 12:22 dev
drwxr-xr-x 8 root root 8 Oct 17 12:22 solaris
The browser user interface for the package repository doesn't currently support showing packages for multiple publishers at the same time and it won't show you the names of all the publishers that have packages.
If you want to see the packages for a specific publisher, you need to specify the name of the publisher in the URL like this:
If you want to change the default publisher for the repository (the one that is shown when you visit http://192.168.2.100:81) then you can do so with pkgrepo like this:
pkgrpeo -s /path/to/repository set publisher/prefix=dev
pkgrpeo -s /path/to/repository set publisher/prefix=solaris
The pkg(5) utilities all automatically deal with this (such as pkg(1)). When you specify a repository that contains multiple publishers it will add all of them automatically or prompt you to select one. The web interface does not yet do this.