7 | | I think it might be good if we had explicit conflicts/replaces markers for some packages. If a package conflicts with an installed package, it will not be installed unless forced. If a package ''replaces'' another package, the package it replaces is explicitly uninstalled first. In effect this already happens implicitly. If I install pari_seadata_small, and then install database_pari, the latter will override the former. But I think it would be better to do this explicitly. |
8 | | |
9 | | 2. `share/info/dir`--this is a file shared by many packages. It is written/updated by the `install-info` program. Of course, when installing into a temp root, there will be no existing `share/info/dir` file, and `install-info` will create it. But then each package that installs it overrides each other. |
10 | | |
11 | | Debian handles this file by stripping it from the installation, then calling `install-info` from a post-install (and pre-uninstall) script. This is the sort of thing for which I anticipated possibly needing post-install/uninstall hooks. That said, this is the only example like this I've encountered so far in Sage-the-dist. So I might just make a special case for it for now, directly in `sage-spkg`, rather than placing the onus on each package that updates this file to do it correctly. |
| 7 | 2. `share/info/dir`--this is a file shared by many packages. It is written/updated by the `install-info` program. Of course, when installing into a temp root, there will be no existing `share/info/dir` file, and `install-info` will create it. But then each package that installs it overrides each other. [[BR]][[BR]] Debian handles this file by stripping it from the installation, then calling `install-info` from a post-install (and pre-uninstall) script. This is the sort of thing for which I anticipated possibly needing post-install/uninstall hooks. That said, this is the only example like this I've encountered so far in Sage-the-dist. So I might just make a special case for it for now, directly in `sage-spkg`, rather than placing the onus on each package that updates this file to do it correctly. |