[Reportbug-maint] Bug#628463: Bug#628463: reportbug: --src option says "No package specified; stopping."
Lionel Elie Mamane
lionel at mamane.lu
Tue Aug 16 05:05:42 UTC 2011
On Tue, Aug 16, 2011 at 01:43:41AM +0200, Sandro Tosi wrote:
> On Sun, May 29, 2011 at 10:00, Lionel Elie Mamane <lionel at mamane.lu> wrote:
>> retitle 628463 --src and non-existing package name: error message wrong/confusing
>> On Sun, May 29, 2011 at 09:13:26AM +0200, Lionel Elie Mamane wrote:
>>> $ reportbug --source linux-2.6
>>> No package specified; stopping.
>>> But I _did_ specify a source package, namely "linux-2.6".
>> (...) I did an "apt-get update" and this fixed the
>> problem. Which means that really the problem is that the error message
>> is just plain wrong/confusing. It should says something like "no such
>> source package linux-2.6".
> could you confirm you don't have a 'deb-src' line in
> /etc/apt/sources.list ?
I have a deb-src line in /etc/apt/sources.list and the modification
timestamp of the file says it has not changed since 12 May,
i.e. before the initial bug report. I might have forgotten to run
"apt-get update" after adding that line in the past, but I would find
that unlikely; that line probably has been there for (much) longer
than my last upgrade. Maybe it had failed to download for some reason
at my last update.
> if you don't have any deb-src, Sources lists are not there and
> reportbug fails (ok, with a confusing msg, we'll see to fix it).
I had retitled the bug in that direction: an "apt-get update" fixed my
issue, so the only remaining issue is the confusing message.
--
Lionel
More information about the Reportbug-maint
mailing list