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

Bug#695546: apt: can't download source package when same-name binary pkg from different-name src pkg exists



On 10 December 2012 10:00, Thorsten Glaser <tg@mirbsd.de> wrote:
> Daniel Hartwig dixit:
>
>>However, can you try this command:
>>$ apt-get -d source --only-source konsole=4:4.8.4-2
>
> Okay, that one works, although it’s pretty long to type
> and not too easy to remember…

Add it to apt.conf:
# echo 'APT::Get::Only-Source "1";' >> /etc/apt/apt.conf

Anyway, without the “--only-source” should be equivalent according to
my reading of apt-get(8).  So I believe this constitutes a bug.

>
>>I don't know where you got the idea to use the “src:” prefix, but that
>>is not a documented syntax.
>
> … oh. Well, almost all other Debian tools I use support it, and I
> probably just mistook apt for doing the same.

[Maybe wishlist item.]

>>To avoid the mapping you should use “--only-source”, which is implicit
>>when a version is specified, so indeed something is afoul here.
>
> Ah okay. Thanks for the quick response and the possible workaround.

Sure.

Regards


Reply to: