I am trying to run "pkg image-update" from a repository that I created for the NWAM project, and image-update is report "No updates available for this image".

The repository is running in the same machine (build 118) that I am trying to update. I run the pkg server as:

   anu...@dell-xps:~# /usr/lib/pkg.depotd -d nwam-full-repo

   anu...@dell-xps:~# uname -a
   SunOS dell-xps 5.11 snv_118 i86pc i386 i86pc Solaris

I've added files to the repository my running "make -e" from the src/util/distro-import directory of the ips gate. TEST_PKGS in the Makefile point to the packages generated by the nightly build of the nwam gate.

I can browse to http://localhost/ and see that there are 667 packages.

I've set my preferred publisher to my repository

   anu...@dell-xps:~# pkg publisher
   PUBLISHER                             TYPE     STATUS   URI
localhost (preferred) origin online http://localhost/ opensolaris.org origin online http://pkg.opensolaris.org:80/

Running "pkg list -u" I see that about 657 packages have newer versions available.

   anu...@dell-xps:~# pkg list -u
NAME (PUBLISHER) VERSION STATE UFIX BRCMbnx (opensolaris.org-dev) 0.5.11-0.118 installed u--- FSWxorg-fonts-core (opensolaris.org-dev) 0.5.11-0.118 installed u---
   NVDAgraphics (opensolaris.org-dev)            0.185.18.14-0.118
   installed  u---
   [.....]

However, running "pkg image-update" says "No updates are available for this image".

   anu...@dell-xps:~# pkg image-update -v
Creating Plan / Before evaluation: UNEVALUATED:

   After evaluation:
   Actuators:

   None
   No updates available for this image.

I also tried to update using Update Manager (/usr/bin/pm-updatemanager). The initial list has the packages with newer versions available. The packages list 0.5.11-0.118 as the Installed Version and 0.5.11-0.119 as the Latest Version. Again, doing "Update All" fails with the following message:

   Preparing...
   Ensuring Update Manager is up to date...
   Gathering package information, please wait...

   Error:
   Your system has already been updated.

What am I doing wrong? Is it because my repository is running in the same machine that I am trying to update?

Thanks in advance for the help,
Anurag


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

Reply via email to