Laszlo (Laca) Peter wrote: > Wouldn't it be possible to implement a "pkgupgrade" command > using pkgadd (instance=overwrite) and removef? > Even taking care of moving files from one pkg to another > would be possible if all affected pkgs were passed to > pkgupgrade together. >
We had some discussion of essentially this topic about a month ago, see http://www.opensolaris.org/jive/thread.jspa?threadID=23807&tstart=45 Dave > Laca > > On Wed, 2007-03-21 at 10:51 -0400, James Carlson wrote: >> Dennis Clarke writes: >>> Do you feel or even think that we can come up with a way to maintain the >>> contents database file as well as perhaps design a better way to roll out >>> software packages? >> Yes. >> >> I think it'd be helpful to have a "check pkgmap diffs" mode for >> pkgadd, so that can remove stray files after performing an >> "instance=overwrite" type of install. One of the benefits is that we >> could eliminate one of the possible failure modes: at the end of a >> pkgadd, you'd either have the new package installed, or the old one >> would remain. It wouldn't be possible to remove the old one and fail >> to install the new. >> > > _______________________________________________ > install-discuss mailing list > install-discuss at opensolaris.org > http://opensolaris.org/mailman/listinfo/install-discuss
