[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



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…

>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.

>Anyway, this should only be a temporary problem and happens in
>either of two rare situations:
>- a binary package moves from one source to another; and
>- a source package is newer than the correspondingly available
>  binary or source package.

The second situation is actually my default case… it’s what I use
apt-get source for all day.

>Both of which have happened to you at the same time, though you do
>have quite a mixture of repositories in your sources.list.

I can reduce it to just debian-ports unstable+unreleased binary plus
debian source, that’d not be an issue.

>It has exposed what may be a real bug in apt-get's selection of source
>packages when given --only-source and a version.

When not given --only-source but a version.

>> I think the selection mechanism is mapping the binary→source name
>> too early.
>
>That is documented

Hrm, okay.

>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.

Goodnight,
//mirabilos
-- 
I want one of these. They cost 720 € though… good they don’t have the HD hole,
which indicates 3½″ floppies with double capacity… still. A tad too much, atm.
‣ http://www.floppytable.com/floppytable-images-1.html


Reply to: