1 |
>>>>> On Thu, 04 Oct 2018, Michał Górny wrote: |
2 |
|
3 |
> Remove the guarantee of RDEPEND being satisfied in pkg_{pre,post}rm. |
4 |
> The package manager implementations did not really guarantee this, |
5 |
> and packages need to be uninstallable even if their dependencies were |
6 |
> removed or broken already (either due to misordered removal or due to |
7 |
> manual user action). |
8 |
|
9 |
> Signed-off-by: Michał Górny <mgorny@g.o> |
10 |
> --- |
11 |
> dependencies.tex | 5 ++++- |
12 |
> 1 file changed, 4 insertions(+), 1 deletion(-) |
13 |
|
14 |
> diff --git a/dependencies.tex b/dependencies.tex |
15 |
> index 3c5d297..69dd656 100644 |
16 |
> --- a/dependencies.tex |
17 |
> +++ b/dependencies.tex |
18 |
> @@ -20,9 +20,12 @@ |
19 |
> \t{src_unpack}, \t{src_prepare}, \t{src_configure}, \t{src_compile}, \t{src_test}, |
20 |
> \t{src_install} & \t{DEPEND}, \t{BDEPEND} \\ |
21 |
> \addlinespace |
22 |
> - \t{pkg_preinst}, \t{pkg_postinst}, \t{pkg_prerm}, \t{pkg_postrm} & |
23 |
> + \t{pkg_preinst}, \t{pkg_postinst} & |
24 |
> \t{RDEPEND} \\ |
25 |
> \addlinespace |
26 |
> + \t{pkg_prerm}, \t{pkg_postrm} & |
27 |
> + None (ebuilds should account for dependencies being unmerged prior to them) \\ |
28 |
> + \addlinespace |
29 |
> \t{pkg_config} & \t{RDEPEND}, \t{PDEPEND} \\ |
30 |
> \bottomrule |
31 |
> \end{tabular} |
32 |
> -- |
33 |
> 2.19.0 |
34 |
|
35 |
As discussed on IRC, I'd suggest to postpone this until we have a |
36 |
clearer idea how (and if) we will introduce install dependencies. |
37 |
|
38 |
Ulrich |