[Python-apps-team] Bug#634337: s3ql: uninstallable on kfreebsd-i386 or kfreebsd-amd64

Nikolaus Rath Nikolaus at rath.org
Wed Oct 5 00:10:55 UTC 2011


On 09/30/2011 02:43 PM, Robert Millan wrote:
> Hi Nikolaus,
> 
> 2011/9/28 Nikolaus Rath <Nikolaus at 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.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C





More information about the Python-apps-team mailing list