There is a .deb package in a repository which is declared to be 32bit, but installs 64bit binaries. This is the case for both installing through apt-get
from the repository as well as with downloading the .deb file and running dpkg -i
.
If I install the file to try, it upgrades/overwrites my existing application in 32bit, and I can't run it any more (on 15.04 32bit Ubuntu). When this happened first, I searched the installed executable with which
and checked it's type with file
, that proved it to be a 64bit ELF binary:
$ file qtox
qtox: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, stripped
So while I wait for the maintainers to fix the issue, how can I determine which architecture a package (from repository or .deb file) contains?
I tried both apt-cache show
and apt-cache policy
for the repository version and dpkg -I
for the .deb file, but all of them report 32bit, which is wrong.
Is there any chance to find the real architecture the contained executables are made for out, except by accessing the package's meta information (I think this is what the commands I tried did?) which does obviously not fit.