I have added foreign architecture to my amd64
system, e.g. arm64
.
Let's suppose I want to install libproj9:arm64
. I get the following error:
libproj9:arm64 : Depends: proj-data:arm64 but it is not installable
Now looking at proj-data
package (here), you can see that architecture support is all
. So in theory installing proj-data
as apt-get install proj-data
should provide support for all architectures, i.e. is architecture independent.
However... the package manager is looking for proj-data:arm64
and naturally cannot find it and is failing.
- Is there a known way to overcome this? In case it matters, I am under Xenial (Ubuntu 16.04).
- Or should I manually edit the
.deb
file as hinted here and try to trick dpkg?
proj-data
:apt-get download proj-data
fpm
to change thecontrol
file of the.deb
:fpm -e -s deb -t deb ../proj-data_4.9.2-2_all.deb
Architecture: all
toArchitecture: arm64
.deb
:dpkg -i <deb_file>
And now
– Tanasis Jan 18 '18 at 10:48libproj9:arm64
is not complaining any more.