[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#657530: libreoffice-sdbc-postgresql: dpkg warning on installation: "version 'LibO3.4.4-2' has bad syntax: version number does not start with digit"



Package: libreoffice-sdbc-postgresql
Version: 1:0.8.1+LibO3.4.5-2
Severity: minor

On installing this package, dpkg moans:

dpkg: warning: version 'LibO3.4.4-2' has bad syntax: version number
does not start with digit
dpkg: warning: version 'OOo3.3.0~' has bad syntax: version number does
not start with digit

This is because of the test in the preinst:

   if dpkg --compare-versions `echo $2 | cut -d+ -f2` lt OOo3.3.0~; then

I guess that you could possibly replace this with something like:

case `echo $2 | cut -d+ -f2` in
  OOo*) # do the legacy stuff
esac

   Julian



Reply to: