does not report incompatibility between deb and host architectures (32vs64)
Bug #460173 reported by
Sandeep
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdebi |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Linux menzoberranzan 2.6.31-11-generic #36-Ubuntu SMP Fri Sep 25 06:37:23 UTC 2009 x86_64 GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu 9.10
Release: 9.10
Codename: karmic
gdebi 0.5.9
take a i386 .deb package and double click on it in an AMD64 host.
The error reported is :
Could not open <something>
The package might be corrupted or you are not allowed to open the file. Check the permissions of the file.
while "sudo dpkg -i" gives :
dpkg: error processing <something>.deb (--install):
package architecture (i386) does not match system (amd64)
the error message from gdebi is highly misleading and incorrect.
To post a comment you must log in.
I have some more information on this - the deb I had gotten was corrupted. However, the fact still remains that cmdline "dpkg" was able to tell me incorrect architecture and gdebi was not.
The issue can be duplicated by taking a good i386 .deb and corrupting it (by opening it in an editor and changing some values). dpkg will still report incompatibility between architectures, while gdebi thinks it's a permissions related issue.
Ideally, I would appreciate some corruption detection - however at the very least to be identical to dpkg's error reporting.