On Thu, Apr 02, 2009 at 06:15:02PM -0400, Dave Miner wrote: > Shawn Walker wrote: >> Dave Miner wrote: >>> I think I would direct the effort towards filing bugs to get Package >>> Manager to be aware of its environment and behave appropriately. We >>> do have legitimate cases of installing packages in the live CD >>> environment, and would certainly like users to be able to at least >>> search and browse the package repositories from that environment in >>> order to be able to ascertain that OpenSolaris has the software they >>> want and get to know the Package Manager a bit. >> >> These problems will apply to the cli client as well as the gui. >> >> I can easily see adding an option to disable local search indexing to >> help here. >> > > "pkg install" and uninstall already have --no-index. We need to > instruct people to use it when installing things on the CD environment, > of course.
Perhaps I'm out of the loop already, but I thought we discussed a solution to this problem at yesterday's pkg iteam meeting. The consensus that I thought we reached was that local search indices won't be built by default. When the user performs a local search, we'll print a message stating that local search performance is degraded. If better performance is desired, the user can create a local search index by invoking the proper command. Once local indices exist, pkg(5) will continue to update them. In this case, users wouldn't need the --no-index option, since the default behavior doesn't create a local index. The only catch is that the folks who create the install CD must make sure that no local index is present on the disc, otherwise pkg will try to rebuild it. -j _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
