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

Bug#1002605: `apt-get source calendar' downloads the wrong package



Quoting Stéphane Glondu (2021-12-25 13:36:48)
> `apt-get source calendar' downloads the bsdmainutils source package
> instead of calendar. I suspect this is because bsdmainutils is the
> source package of the calendar binary package.
> 
> I think `apt-get source $FOO' should try to download $FOO if $FOO
> exists as a source package, and only after fallback to downloading the
> source package of $FOO if it exists only as a binary package.

I agree and I cannot remember a single time when (in scripts or when running
apt manually) I wanted 'apt-get source' or 'apt-cache showsrc' to interpret the
package name as a binary package and not a source package. Because of that I
have

APT::Get::Only-Source "true";

in my system-wide apt config. I've never looked back.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature


Reply to: