Christopher Kampmeier wrote: > >> Hmm...seems I spoke too soon. I tried actually completing a full AI >> install using the "mirrored" repository (pkgrecv -s >> http://pkg.opensolaris.org/dev -d http://localhost -r >> entire at 0.5.11,5.11-0.118) as the primary publisher; if appeared to >> almost complete but died near the end with a "package missing" error >> on the client. >> >> I can't seem to find a way to have the AI client (or the depot) for >> that matter display which package it thinks is "missing" (though the >> repo *should* have everything if I retirieved "entire"). I've tried >> using the "debug" flag in the AI servers grub kernel line and enabled >> all logging on the depot server itself, but no help. The depot shows >> "200" HTTP status events for all the packages being requested, but the >> AI install seems to die somewhere inside the dependencies for the >> "slim_install" package. Ideally, there would be a way to display/log >> every package that was being installed as it happened. Any ideas as to >> how to track down what is happening? > > I ran into a supposed "missing package" issue when performing an > AI-based install recently. On the install client I grep'd for "rror" > and "ailed" in the alternate root area of /a/var/pkg/history/ to > determine which package installation encountered an error. Not pretty, > but it helped me make some progress in debugging my particular issue.
Alternatively, if you can run a pkg client from somewhere, you should been able to do this assuming the image was somewhat intact: pkg -R /a history -l -- Shawn Walker