Web lists-archives.com

Re: "apt-get source snappy" pulls Extra-Source-Only 1.1.4-1 in Debian-Stretch?

In gmane.linux.debian.devel.general Philipp Hahn <hahn@xxxxxxxxxxxxx> wrote:
> Hello APT developers,

> today I encountered the strange situation, that Debian-Stretch
> officially has 1.1.3-3, but if I do a "apt-get source snappy" I get 1.1.4-1:

> So how can I tell "apt-get source" to pull the "right" version, e.g. the
> version "libsnappy1v5" was built from?

>> $ LANG=C apt-cache policy libsnappy1v5
>> libsnappy1v5:
>>   Installed: 1.1.3-3
>>   Candidate: 1.1.3-3
>>   Version table:
>>  *** 1.1.3-3 500
>>         500 http://deb.debian.org/debian stretch/main amd64 Packages
>>         100 /var/lib/dpkg/status

> This looks like a bug in APT and did I miss something?

apt-get source does not care which version is installed.
from apt-get(8)
| APT will examine
| the available packages to decide which source package to fetch. It
| will then find and download into the current directory the newest
| available version of that source package ...

-t stretch or libsnappy1v5=1.1.3-3 will probably work.

cu Andreas

`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'