[Reportbug-maint] Bug#628463: Bug#628463: reportbug: --src option says "No package specified; stopping."
morph at debian.org
Mon Aug 15 23:43:41 UTC 2011
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 noticed that "reportbug linux-2.6" said "no such binary OR SOURCE
> package linux-2.6". So 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 ? --src needs the Sources package list in order
to retrieve package information; 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).
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
More information about the Reportbug-maint