Redmine #7421: Fix incorrect version detection in promise string.
Redmine #7421: Fix incorrect version detection in promise string.

Debian packages use "pkg_1.0.deb" format, not "pkg-1.0.deb", to encode
version. This made it impossible to install packages that had version
numbers in their name, such as virtualbox-5.0.

Changelog: Package promise: Fix inability to install certain packages
with numbers.

phnakarin/masterfiles,frap/masterfiles-1,phnakarin/masterfiles,maciejmrowiec/masterfiles,phnakarin/masterfiles,martingehrke/masterfiles,maciejmrowiec/masterfiles,martingehrke/masterfiles,frap/masterfiles-1,frap/masterfiles-1,maciejmrowiec/masterfiles,martingehrke/masterfiles