Incorrect "noarch" designation and no 32-bit executable
eliezerlp opened this issue · comments
In the RPM repo there is only one version of the agent with a .noarch
designation (which seems wrong based on this). More importantly the version packaged in the RPM is 64-bit x86_64
and not 32-bit i686
.
On a 32 bit machine:
$ uname -a
Linux XXXXX 3.19.8-100.fc20.i686+PAE #1 SMP Tue May 12 17:27:49 UTC 2015 i686 i686 i386 GNU/Linux
$ file /bin/amonagent
/bin/amonagent: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
$ amonagent --version
-bash: /usr/bin/amonagent: cannot execute binary file
Available in the repo:
$ yum --showduplicates list amonagent
Loaded plugins: langpacks, refresh-packagekit
Installed Packages
amonagent.noarch 1:0.7-1 @amonagent
Available Packages
amonagent.noarch 1:0.2-1 amonagent
amonagent.noarch 1:0.2.1-1 amonagent
amonagent.noarch 1:0.2.2-1 amonagent
amonagent.noarch 1:0.2.3-1 amonagent
amonagent.noarch 1:0.2.4-1 amonagent
amonagent.noarch 1:0.2.5-1 amonagent
amonagent.noarch 1:0.2.6-1 amonagent
amonagent.noarch 1:0.2.7-1 amonagent
amonagent.noarch 1:0.2.8-1 amonagent
amonagent.noarch 1:0.2.8.1-1 amonagent
amonagent.noarch 1:0.2.8.2-1 amonagent
amonagent.noarch 1:0.2.8.3-1 amonagent
amonagent.noarch 1:0.2.8.4-1 amonagent
amonagent.noarch 1:0.2.9-1 amonagent
amonagent.noarch 1:0.3-1 amonagent
amonagent.noarch 1:0.4-1 amonagent
amonagent.noarch 1:0.4.1-1 amonagent
amonagent.noarch 1:0.4.2-1 amonagent
amonagent.noarch 1:0.4.3-1 amonagent
amonagent.noarch 1:0.4.4-1 amonagent
amonagent.noarch 1:0.4.5-1 amonagent
amonagent.noarch 1:0.4.6-1 amonagent
amonagent.noarch 1:0.4.7-1 amonagent
amonagent.noarch 1:0.4.8-1 amonagent
amonagent.noarch 1:0.4.9-1 amonagent
amonagent.noarch 1:0.6-1 amonagent
amonagent.noarch 1:0.6.1-1 amonagent
amonagent.noarch 1:0.6.2-1 amonagent
amonagent.noarch 1:0.6.3-1 amonagent
amonagent.noarch 1:0.6.4-1 amonagent
amonagent.noarch 1:0.6.5-1 amonagent
amonagent.noarch 1:0.7-1 amonagent
Can you try with this binary:
amonagent32.zip
The 32bit binary is available in the latest deb/rpm package. On 32 bit machines, you can symlink it like this: ln -s /usr/bin/amonagent32 /usr/bin/amonagent
The 32-bit binary you attached is working on 32-bit machines.
What did you mean that binary is included? I don't see it in 0.7-1...
$ yum list amonagent
Loaded plugins: langpacks, refresh-packagekit
Installed Packages
amonagent.noarch 1:0.7-1 @amonagent
$ cd /usr/bin/
$ ls amon*
amonagent
That is still the old version. 0.71 is amonagent-0.7.1-1.noarch.rpm
Seems the new version is not in the RPM but is in the DEB repo...
RPM:
$ uname -a
Linux XXXXXXXX 3.19.8-100.fc20.i686+PAE #1 SMP Tue May 12 17:27:49 UTC 2015 i686 i686 i386 GNU/Linux
$ yum --showduplicates list amonagent
Loaded plugins: langpacks, refresh-packagekit
Available Packages
amonagent.noarch 1:0.2-1 amonagent
[...]
amonagent.noarch 1:0.7-1 amonagent
[eliezerlp@direct012se bin]$
DEB:
$ uname -a
Linux XXXXXXX 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
$ apt-cache policy amonagent
amonagent:
Installed: 1:0.7.1
Candidate: 1:0.7.1
Version table:
*** 1:0.7.1 0
500 http://packages.amon.cx/repo/ amon/contrib amd64 Packages
100 /var/lib/dpkg/status
@eliezerlp Should be fixed