FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian dpkg

 
 
LinkBack Thread Tools
 
Old 10-05-2011, 12:10 AM
Nikolaus Rath
 
Default 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.«

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


--
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
 
Old 10-05-2011, 05:11 AM
Robert Millan
 
Default 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
 

Thread Tools




All times are GMT. The time now is 01:00 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org