use only major.minor version part for debian, closes #1917