Bug#634337: s3ql: uninstallable on kfreebsd-i386 or kfreebsd-amd64
On 09/30/2011 02:43 PM, Robert Millan wrote:
> Hi Nikolaus,
>
> 2011/9/28 Nikolaus Rath <Nikolaus@rath.org>:
>> On 07/18/2011 10:12 AM, Robert Millan wrote:
>>> Depends: fuse [linux-any] | fuse4bsd [kfreebsd-any]
>>
>> There's a little problem with that, because with this change:
>>
>> dpkg-gencontrol: error: the Depends field contains an arch-specific
>> dependency but the package is architecture all
>>
>> Does this mean that the package has to become Arch: any now? That seems
>> wrong to me...
>
> Not necessarily, you can instead use:
>
> Depends: fuse | fuse4bsd
S3QL depends on fuse when running on Linux, and on FUSE4BSD when running
on FreeBSD. It is, however, not able to use fuse when running on
FreeBSD, or bsdfuse when running on Linux, which the above dependency
allows as well.
Now, in this case this probably isn't a problem because (I assume) the
fuse4bsd package doesn't exist for Linux, and the fuse package doesn't
exist for kFreeBSD.
However, this is not necessarily true for other packages, so shouldn't
there be a proper way to declare arch-dependent dependencies for arch:
all packages?
I'm CC'ing debian-dpkg, maybe they have some wise words of advice.
Best,
-Nikolaus
--
»Time flies like an arrow, fruit flies like a Banana.«
--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4E8BA08F.1040504@rath.org">http://lists.debian.org/4E8BA08F.1040504@rath.org
10-05-2011, 05:11 AM
Robert Millan
Bug#634337: s3ql: uninstallable on kfreebsd-i386 or kfreebsd-amd64
2011/10/5 Nikolaus Rath <Nikolaus@rath.org>:
> Now, in this case this probably isn't a problem because (I assume) the
> fuse4bsd package doesn't exist for Linux, and the fuse package doesn't
> exist for kFreeBSD.
Right.
> However, this is not necessarily true for other packages, so shouldn't
> there be a proper way to declare arch-dependent dependencies for arch:
> all packages?
You can turn it into an Architecture: any package (actually,
Architecture: linux-any kfreebsd-any).
--
Robert Millan
--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAOfDtXMMU0vu-iRdei_s00YgXeoi3E1JekeYgHeq=S=8rN=pfQ@mail.gmail.c om">http://lists.debian.org/CAOfDtXMMU0vu-iRdei_s00YgXeoi3E1JekeYgHeq=S=8rN=pfQ@mail.gmail.c om