The package seems to work correctly. Note however that I had to confirm to downgrade when installing the package on cosmic. Turns out something is wrong with the version numbers in the changelog file:
$ dpkg --compare-versions 5.2.18-dfsg-2~ubuntu18.04.1 lt 5.2.18-dfsg-2~ubuntu18.04.2 && echo OK || echo NOK
OK
$ dpkg --compare-versions 5.2.18-dfsg-2 lt 5.2.18-dfsg-2~ubuntu18.04.1 && echo OK || echo NOK
NOK
$ dpkg --compare-versions 5.2.18-dfsg-2 lt 5.2.18-dfsg-2~ubuntu18.04.2 && echo OK || echo NOK
NOK
Seems like this mistake crept into the previous version. We probably can't fix the previous version number anymore but I would suggest to use 5.2.18-dfsg-3~ubuntu18.14.1 for this release to ensure the package actually gets installed on our user's machines.
The package seems to work correctly. Note however that I had to confirm to downgrade when installing the package on cosmic. Turns out something is wrong with the version numbers in the changelog file:
$ zgrep virtualbox /usr/share/ doc/virtualbox/ changelog. Debian. gz | head -3 dfsg-2~ ubuntu18. 04.2) bionic-security; urgency=medium dfsg-2~ ubuntu18. 04.1) bionic; urgency=medium
virtualbox (5.2.18-
virtualbox (5.2.18-
virtualbox (5.2.18-dfsg-2) unstable; urgency=medium
$ dpkg --compare-versions 5.2.18- dfsg-2~ ubuntu18. 04.1 lt 5.2.18- dfsg-2~ ubuntu18. 04.2 && echo OK || echo NOK dfsg-2~ ubuntu18. 04.1 && echo OK || echo NOK dfsg-2~ ubuntu18. 04.2 && echo OK || echo NOK
OK
$ dpkg --compare-versions 5.2.18-dfsg-2 lt 5.2.18-
NOK
$ dpkg --compare-versions 5.2.18-dfsg-2 lt 5.2.18-
NOK
Seems like this mistake crept into the previous version. We probably can't fix the previous version number anymore but I would suggest to use 5.2.18- dfsg-3~ ubuntu18. 14.1 for this release to ensure the package actually gets installed on our user's machines.