Re: problem with amd64 architecture
On Sun, Aug 26, 2018 at 06:24:59PM +0200, Pierre Frenkiel wrote:
> get a amd64 deb package (franz, to name it), and converted it to i386,
> using the recommended sequence:
> dpkg-deb -x ../paquet_amd64.deb .
> dpkg -e ../paquet_amd64.deb
> in DEBIAN/control, replaced amd64 by i386
> dpkg-deb -b . ../paquet_i386.deb
So you haven't touch the contents of package itself.
> but after installing the resulting .deb. I still get a amd64 binary.
> What did I miss?
See above. No magic here, files provided by package stayed the same.
> Is there a way to convert the binary itself to i386?
If the binary was produced by compiling conventional ASM/C/C++ source -
no. Rebuild from the source is required.