Christian Lohmaier wrote:
[...]
So to sum up again (please add your pros/cons to that list esp. to the
patch-rpm method since I don't know that myself):

Symlink-method:
Cons:
* leaves the old files on the harddisk (could be removed by the patch
  and the original package could specify "missingok")
* needs a postinstall-script to update the symlink

nope, the symlinks and the files they point to are provided in different rpms. The symlinks-1.0.rpm is upgraded with somethink like a
    rpm -U symlinks-1.1.rpm
whereas the file is provided in a completely_different-1.0.rpm

* may need some work in OOo to make it work with symlinked components

you probably don't want to have all files symlinked as this clutters your installation.

Pros:
* no command-line parameter to force the installation necessary
* can tell whether a patch is installed by doing a ls /path/to/OOo
* package can be uninstalled w/o problems (when original file is not
  removed)

when removing the package you need to reinstall the old symlink package.

"just-replace-the-file"-method:
Cons:

* this is not much better than installing just the file by any random installation mechanism

* needs command-line parameter to install (overwrites file from othe
  package)
* possibility to verify the package is limited/custom verify scripts
  (that tells the user that he shoud check whether a patch-rpm contains
  the file that fails verification) should be created
* need to query the rpm-database to check whether a patch is installed
* when uninstalling you need to reinstall the files replaced by the
  patch
Pros:
* no change to the components (make them work with symlinks) necessary
* no old files lying around

Patch-rpm-method:
Cons:
* currently only available for SuSE
* even when adapted to "official" RPM packages still would not be
  compatible with older versions of RPM
Pros:
* "non-hack" solution (expect from the hack to RPM itself :-)

ciao
Christian

- Christof

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to