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

Bug#249383: apt-get source should try source packages first or warn about ambiguity



Matt Zimmerman <mdz@debian.org> writes:

> On Mon, May 17, 2004 at 07:57:35AM +0200, Goswin Brederlow wrote:
>
>> trying to build all packages for amd64 I found this little problem:
>> 
>> Package: libstrscan-ruby1.6
>> Source: libstrscan-ruby
>> 
>> Package: libstrscan-ruby
>> Source: ruby-defaults (1.8.1-3)
>> 
>> That looks a bit odd but technically there is nothing wrong with
>> it. The problem now it running
>> 
>> apt-get source libstrscan-ruby
>> 
>> I would expect it to fetch the libstrscan-ruby source
>> (libstrscan-ruby1.6 binary) and only failing that check the binary
>> package libstrscan-ruby for the source name (ruby-defaults).
>> 
>> A warning that libstrscan-ruby is ambigious might be nice also.
>
> I believe the search functionality is currently such that this would require
> two separate searches, which seems excessive considering the small benefit.
>
> FWIW, you can use --only-source to force the behaviour you want in this
> case.
>
> -- 
>  - mdz

Will the --only-source also apply for "apt-get build-dep" ot only for
"source" as the manpage says?

MfG
        Goswin



Reply to: