In article <[EMAIL PROTECTED]> you wrote:
> We are considering using OpenPKG where I work. > We currently use depot to keep track of changes to /usr/local > so that we can easily undo an install if it did not work. > > Let's say I upgrade Perl and my users complain that they would like the old > package back. How do you handle this? You just keep the binary RPMs under <prefix>/RPM/PKG/ and if a version does not work, you perform an "rpm -Uvh --oldpackage <prefix>/RPM/PKG/..." with the old version. > [...] > If I want two simultaneously installed versions of Perl, how do I handle > that? For this you require a second OpenPKG instance, because RPM allows only a package to be installed once per instance. But this is no problem, I've production machines with 6 non-testing OpenPKG instances. OTOH, keep in mind that <prefix>/local/ and the <prefix>/sbin/lsync tool provide a similar mechanism to "depot". With this you can install multiple Perl versions under <prefix>/local/PKG/ and easily switch between them. Read the manual page lsync.8 which is included in the OpenPKG bootstrap or which you can download from http://www.openpkg.org/cvsweb/cvsweb.cgi/~checkout~/openpkg-src/openpkg/lsync.8?rev=1.2&content-type=text/plain Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
