[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: architecture-specific dependencies on virtual packages



David Kalnischkies wrote:

> 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

Conflicts with an architecture seem kind of like conflicts with a
version.  That would mean that that virtual packages wouldn't qualify.
Could that work well in practice?

[...]
> 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

Likewise.

Thanks for bringing it up,
Jonathan


Reply to: