On Tue, Aug 29, 2017 at 01:24:27AM +0200, Vincent Lefevre wrote:
> > dpkg-maintscript-helper: error: dpkg: error: version '"1:5.15-1~"' has bad 
> > syntax: epoch in version is empty

Looks like regression in dpkg-maintscript-helper: quotation marks were passed 
to dpkg --validate-version.

C.f.
# dpkg --validate-version -- "1:5.15-1"
# dpkg --validate-version -- "1:5.15-1~"
vs
# dpkg --validate-version -- '"1:5.15-1~"'
dpkg: error: version '"1:5.15-1~"' has bad syntax: epoch in version is empty

Probably, this could be solved on the monit side by changing
mv_conffile /etc/monit/monitrc.d/acpid /etc/monit/conf-available/acpid 
"1:5.15-1~"
to
mv_conffile /etc/monit/monitrc.d/acpid /etc/monit/conf-available/acpid 1:5.15-1~

Reply via email to