Jason Zhao wrote: > Alexander Eremin wrote: > >> On Thu, 2009-02-05 at 17:10 +0800, Jason Zhao wrote: >> >> >>> Hi, Experts, >>> >>> I want to install a package through pkg(1), but only install the single >>> package(assume the package have other packages depended), but leave the >>> these depended packages uninstalled. >>> >>> Can I do it through IPS, if yes, how? >>> >>> Great Thanks >>> Jason >>> _______________________________________________ >>> pkg-discuss mailing list >>> [email protected] >>> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss >>> >>> >> Jason, please say here why you need this, >> I collect votes for --nodeps key. >> >> > By adding this, it will be convenient for administrator. Especially, when > there is some packages were added by "pkgadd", but there is no index for > these packages in /var/pkg, and most of important the administrator know > what he needs to do and what he is doing. It will be easy to only add one > single package, otherwise, it will be time consuming to add them all. > Anyway, > it brings flexible works. >
I can see this feature would be also useful for developers. For instance, if I would like to test that package containing bug fix delivers things correctly on target system. Then I would do following in order to make sure all dependents are left untouched: # pkg uninstall --nodeps original_package # pkg install --nodeps modified_package The same could be used for testing backward compatibility, when I would like to test how new version of package delivering bug fixes will behave on the oldest system to be supported before that package is backpublished. In this case, I intentionally want to avoid installing newer versions of all dependencies involved. Jan _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
