percona-nagios-plugins fails to install on Debian Squeeze when debsums is installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Monitoring Plugins |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Hi all,
I just stumbled over this problem. Here the problem in detail:
root@host ~# LANG=C apt-get install percona-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
percona-
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/20.3 kB of archives.
After this operation, 0 B of additional disk space will be used.
Selecting previously deselected package percona-
(Reading database ... 48356 files and directories currently installed.)
Unpacking percona-
Setting up percona-
Plugins are installed to /usr/lib64/
debsums: package percona-
E: Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/
E: Sub-process returned an error code
After some digging I found out that in the following line the first version number has a space at the end:
debsums: package percona-
So it is in real '1.0.3-1 ' != '1.0.3-1' and debsums stumbles over this. After some further digging my guess is that the space comes from the control file in deb package:
root@host:/tmp# cat -vte control
[...]
Package: percona-
Version: 1.0.3-1 $
Architecture: all $
[...]
I haven't tried anything else, like does upgrading the package work e.g.
Cheers, Shorty
tags: |
added: packaging removed: package |
Changed in percona-monitoring-plugins: | |
status: | Confirmed → Fix Committed |
Changed in percona-monitoring-plugins: | |
milestone: | none → 1.0.4 |
Changed in percona-monitoring-plugins: | |
status: | Fix Committed → Fix Released |
Hi,
Thanks for the report.
However, I was unable to reproduce the problem with debsum. But there is the space in control file so I think it was the reason of your problem. It will be fixed in the next release.