Bug#910877: apt: Inconsistent behavior for a package version with an epoch
Package: apt
Version: 1.4.8
$ apt-get source mongodb-dev=2:1.1.2-5
Fetched
$ apt-get source mongodb-dev=1.1.2-5
Fetched
$ apt-get download mongodb-dev=2:1.1.2-5
Fetched
$ apt-get download mongodb-dev=1.1.2-5
E: Version '1.1.2-5' for 'mongodb-dev' was not found
$ apt-get changelog mongodb-dev=2:1.1.2-5
Fetched
$ apt-get changelog mongodb-dev=1.1.2-5
E: Version '1.1.2-5' for 'mongodb-dev' was not found
It would be nice, if all commands select package of version with the
highest epoch automatically.
Reply to: