How can we add arch specific conflicts tag when building .deb package?
Posted
by
Sphopale
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Sphopale
Published on 2014-06-06T15:13:46Z
Indexed on
2014/06/06
15:41 UTC
Read the original article
Hit count: 142
We are trying to build multi-arch supported i386 .deb package. There are two .deb packages build on i386 X1 & X2 (X2 is a subset of X1 binaries). X1 <-> X2 conflict each other when installing . Only one .deb package can be installed at any instance.
We similarly have binaries on xa64 arch. Again on xa64, there are two .deb packages X1 & X2 (X2 is a subset of X1 binaries). X1 <-> X2 conflict each other when installing . Only one .deb package can be installed at any instance.
In case of multi-arch i386 .deb package,i386 .deb packages (X1 & X2) can be installed on xa64 along side with 64bit (X1 & X2)
However I see that when installing X1:i386 & X1:amd64 can co-exist However, it throws conflict error when trying to install X1:i386 & X2:amd64
In short, Can we mark package to conflict based on arch Conflict: X2:i386
X1:i386 package should only conflict with X2:i386 & allow other packages to co-exist X1:amd64 package should only conflict with X2:amd64 & allow other packages to co-exist
X1:i386 can co-exist with X1:amd64 OR X2:amd64 X2:i386 can co-exist with X1:amd64 OR X2:amd64
Thanks for your reply
© Ask Ubuntu or respective owner