Package: smartmontools
Version: 6.3+svn4002-1
Severity: serious

On a system running unstable I did "apt-get install smartmontools"
and this is what happened:

Selecting previously unselected package smartmontools.
(Reading database ... 96709 files and directories currently installed.)
Preparing to unpack .../smartmontools_6.3+svn4002-1_amd64.deb ...
dpkg: error: --compare-versions takes three arguments: <version> <relation> 
<version>

The preinst says this

dpkg-maintscript-helper rm_conffile \
        /etc/init.d/smartd 6.1+svn3812-1~ smartmontools -- "$@"

which apparently makes dpkg to be called in this way:

dpkg --compare-versions -- le-nl 6.3+svn4002-1~

causing the error.

I don't know exact dpkg-maintscript-helper syntax but it seems this
should be easy to fix. Using "serious" here to prevent propagation to
testing.

Thanks.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to