There were 3 additional packages installed on my broken system which I did not 
install, but which may have been installed to fulfill some dependency. 

> system SUNWlxmlr The XML library (Root)
> system SUNWsqlite3 SQLite3
> system SUNWzlibr 

All those show up in the OpenSolaris source browser, but SUNWlxmlr and 
SUNWzlibr do not appear in the repository. The package catalog on the broken 
system seems rather confused about whether those packages exist or not.

walter at freshinstall2:~# pkginfo | grep lxm
system      SUNWlxml                         The XML library
system      SUNWlxml-devel                   The XML library - developer files
system      SUNWlxml-python                  The XML library - Python bindings

walter at broken:~# pkginfo |grep lxm
system      SUNWlxml                         The XML library
system      SUNWlxml-devel                   The XML library - developer files
system      SUNWlxml-python                  The XML library - Python bindings
system      SUNWlxmlr                        The XML library (Root)

walter at broken:~# pkg uninstall SUNWlxmlr
pkg: 'SUNWlxmlr' not even in catalog! 

But as it happens I *did* do something else to the broken system, which I 
hadn't remembered. (Shame, BAD virtual system administrator, bad!) I installed 
the OSS sound drivers which I saw referenced on a blog posting, found that 
sound worked but quality was poor, and turned sound off again in VirtualBox.

http://blogs.sun.com/ashwin/entry/opensolaris_faq

So finally I'm left with the possibilities that OSS broke my compiler, that 
mixing pkg and pkgadd somehow corrupted the catalog, that the repository was 
temporarily corrupted, or that my virtual machine's network connection was 
temporarily corrupted. But my curiosity has run out: the fix is easy. Just 
throw away the bad (virtual) machine and replace it with the new one. And 
remember to keep a better log and keep more frequent virtual machine snapshots 
to fall back to. I suppose if I were running OpenSolaris on the bare machine 
I'd use VFS snapshots for the same purpose.
--
This message posted from opensolaris.org

Reply via email to