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 07-09-2012, 12:00 PM
David Kalnischkies
Default architecture-specific dependencies on virtual packages


while playing around with the APT code regarding architecture-specific
dependencies I stumbled over the handling of Provides in that context:

Package: pkga
Status: install ok installed
Architecture: i386
Provides: foo

Package pkgb
Architecture: amd64
Conflicts: foo:amd64

The result with dpkg (1.16.7):
dpkg: regarding .../pool/pkgb_1_amd64.deb containing pkgb:
pkgb conflicts with foo:amd64
pkga provides foo and is present and installed.

Even more interesting, if I change this conflict to a depends dpkg happily
installs the package and dpkg --audit gives no indication that a dependency
is unsatisfied (same problem with depends if no architecture is specified).

Shouldn't provides be limited by the architecture their provider can work on?
Or did I miss something here?

Best regards

David Kalnischkies

To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAAZ6_fAhVc2S9msH90WOR322bYL9weTXqL7pm90Th9SJsN4Oh g@mail.gmail.com">http://lists.debian.org/CAAZ6_fAhVc2S9msH90WOR322bYL9weTXqL7pm90Th9SJsN4Oh g@mail.gmail.com

Thread Tools

All times are GMT. The time now is 09:29 PM.

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