[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#642407: apt: a-g source foo=version doesn't honour the =version part



On Thu, Sep 22, 2011 at 11:28, Thorsten Glaser <tg@mirbsd.de> wrote:
> I've got several repos, Debian and private, included.
> Now I wanted to get the source of an exact version,
[…]
> tg@zigo:~ $ apt-get source mksh=40.2
[…]
> tg@zigo:~ $ apt-cache showsrc mksh | grep -e ^Ver -e '^$'
> Version: 40.2-2
>
> Version: 40.2-2wtf1
>
> Version: 40.2-2
[…]
> Even though I specifically specified the version to not get
> the “wtf” package’s source.

I have looked now for a while at the situation (and then forgot to send
the mail), but unfortunately i don't get the problem.

Your request '40.2' is NOT an exact version for APT, it is just an
upstream version, exact would be with a debian-revision, so APT
can choose between -2 and -2wtf1.

It chooses in its fuzzy match the higher of the two as this is
more likely what the user wants, but either way is a proper
response to the request 40.2 as both versions (should have) the
same upstream tarball…


So can you get into more details what the problem is, please?


Best regards

David Kalnischkies



Reply to: