1 |
On Sat, Mar 21, 2020 at 1:03 AM Alexander Tsoy <alexander@××××.me> wrote: |
2 |
|
3 |
> В Сб, 21/03/2020 в 00:53 -0700, Matt Turner пишет: |
4 |
> > On Fri, Mar 20, 2020 at 9:55 PM Kent Fredric <kentnl@g.o> |
5 |
> > wrote: |
6 |
> > > If X is "noarch" and its dependency Y is "amd64", then a user on |
7 |
> > > "sparc" |
8 |
> > > will be able to install "X", but not its dependency "Y". |
9 |
> > |
10 |
> > Thank you. This is a good explanation of the problem. |
11 |
> > |
12 |
> > How do other distributions handle this? Arch, Fedora, and Debian have |
13 |
> > "noarch" packages. Surely they've found a reasonable way to make this |
14 |
> > work. |
15 |
> |
16 |
> Binary distros usually have separate repositories for each |
17 |
> architecture. |
18 |
> |
19 |
|
20 |
Pretty much this. There is not 1 repository, there are N. This means that |
21 |
if leaf package A "noarch" depends on package B (only stable on x86) then |
22 |
in the x86 tree, A and B will be available. In the sparc tree, B is not |
23 |
available and so A is uninstallable and also not available. |
24 |
|
25 |
We had discussed doing this in the past but in practice we use a bunch of |
26 |
files to compute these boundaries on the fly and this is not particularly |
27 |
cheap in the current implementation. |