Lucas Nussbaum <[EMAIL PROTECTED]> wrote: > With this, apt fails:
> $ apt-cache showsrc qd > Package: qd > Binary: libqd2c2a, libqd-dev > Version: 2.1.200-1 > [...] > Package: kfolding > Binary: kfolding, qd > Version: 1.0.0-rc2-5 As you can see there are two sources that could be what you mean. Do you mean "show me the source qd" => qd, or "show me the source for the binary package qd" => kfolding. If you want to know what the source for a package is then you better use 'apt-cache show qd | grep-dctrl "" -s Package,Version,Source'. (I hate that Source is optional, makes it harder to find source names.) > $ apt-get source qd > Reading package lists... Done > Building dependency tree... Done > Need to get 1024kB of source archives. > Get:1 http://ftp.fr.debian.org unstable/contrib kfolding 1.0.0-rc2-5 (dsc) > [633B] > Get:2 http://ftp.fr.debian.org unstable/contrib kfolding 1.0.0-rc2-5 (tar) > [1004kB] > Get:3 http://ftp.fr.debian.org unstable/contrib kfolding 1.0.0-rc2-5 (diff) > [19.2kB] > Fetched 1024kB in 2s (465kB/s) > $ apt-get source qd=2.1.200-1 > Reading package lists... Done > Building dependency tree... Done > Need to get 769kB of source archives. > Get:1 http://ftp.fr.debian.org unstable/main qd 2.1.200-1 (dsc) [706B] > Get:2 http://ftp.fr.debian.org unstable/main qd 2.1.200-1 (tar) [678kB] > Get:3 http://ftp.fr.debian.org unstable/main qd 2.1.200-1 (diff) [90.3kB] Apt-get source downloads the source for the specified binary package, not the specified source package. If there is no such binary package it falls back to source package to be nice as you can see by specifying the version. If you want source packages then you must use --only-source: [EMAIL PROTECTED]:~/t1% apt-get --only-source source qd Reading package lists... Done Building dependency tree... Done Need to get 769kB of source archives. Get:1 http://ftp.de.debian.org sid/main qd 2.1.200-1 (dsc) [706B] Get:2 http://ftp.de.debian.org sid/main qd 2.1.200-1 (tar) [678kB] Get:3 http://ftp.de.debian.org sid/main qd 2.1.200-1 (diff) [90.3kB] In the initial report you mentioned that sbuild has a problem with confusing names like this. Afaik sbuild solely works on source package name and version and that is always unique. Where do you get a conflict? MfG Goswin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]