On Thu, Jul 24, 2008 at 09:31:59PM -0700, Danek Duvall wrote: > On Thu, Jul 24, 2008 at 09:02:43PM -0700, Edward Pilatowicz wrote: > > > i'm not entirely sure how to interpret the UFIX flags above, but looking at > > the info output, i thought there was so i decided to update SUNWipkg > > by running "pkg install SUNWipkg". that command ran fine, but after > > that command, any other pkg operation i tried would fail with a python > > exception: > > All commands including other modifying commands (install, uninstall, > image-update)? Those should all populate the state/installed directory if > they find it missing. And pkg shouldn't have gotten to that point unless > that directory were present. Which it shouldn't have been. > > If you remove the directory entirely, do all the commands (including > non-modifying ones) continue to work? >
i moved aside /var/pkg/state/installed, and the pkg cmd works. > Are there other links in that directory? > there were tons of links (one for each package as far as i can tell) in that directory. > I'm curious how you got that original broken link there, dated July 15, > since the bits that deal with that directory weren't pushed to the gate > until July 15, and weren't in official bits until build 94. > ah. i think i can explain this one. the way i installed the bits was non-standard. while running nevada i downloaded a copy of the ipkg gate on the 15th, compiled it, and used "pkg image-create" (pointed at the opensolaris.org repo) to install a copy of opensolaris into a zpool, which i then booted. so when i did the install, i was runing ips bits from july 15th. then when i rebooted, i was running the ips bits delivered in build 93. so perhaps the problem was that when i installed, the cache was generated, but then after rebooting, it was not maintained by the b93 pkg bits on the system, so today when i upgraded to the latest ips bits, they tried to access the cache and found it out of date... ed _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
