debian: return package version for installed packages