Bug#599290: reportbug: tells that package does not exist even when it exists

2011-01-02 Thread Sandro Tosi
retitle 599290 consider using apt-cache instead of dpkg --status
severity 599290 wishlist
thanks

On Wed, Dec 29, 2010 at 14:10, Michal Čihař  wrote:
> Hi
>
> Dne Mon, 27 Dec 2010 22:05:19 +0100
> Sandro Tosi  napsal(a):
>
>> mh, you can probably looking at what's teh status of
>> /var/lib/dpkg/available and /var/lib/dpkg/status in regards to
>> nanoblogger-extra, maybe also the Packages file of apt, but it
>> shouldn't matter in this case.
>
> It's not listed in neither dpkg databases, so dpkg is right. I have no
> idea how these databases should be udpated from apt, but the problem
> seems to be in this.
>
>> Anyhow, I'm less inclined to consider this report as a bug in
>> reportbug, but let's see how deep we go :)
>
> Indeed, at most it is wishlist to use apt cache, but feel free to close.

Converted in a wishlist bug, let's see in some time :)

Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#599290: reportbug: tells that package does not exist even when it exists

2010-12-27 Thread Sandro Tosi
Hi Michal,

On Mon, Dec 27, 2010 at 14:15, Michal Čihař  wrote:
> Hi
>
> Dne Mon, 27 Dec 2010 00:15:27 +0100
> Sandro Tosi  napsal(a):
>
>> Hello Michal,
>>
>> On Wed, Oct 6, 2010 at 15:01, Michal Čihař  wrote:
>> > $ reportbug wnpp
>> ...
>> > 3 RFA  This is a `Request for Adoption'. Due to lack of time, resources, 
>> > interest or something similar, the
>> ...
>> > Choose the request type: 3
>> > Please enter the package name: nanoblogger-extra
>> > Checking status database...
>> > This package doesn't appear to exist; continue? [y|N|?]? n
>>
>> this check is implemented calling
>>
>> $ dpkg --status nanoblogger-extra
>>
>> does this command work fine for you?
>
> Indeed it fails:
>
> Package `nanoblogger-extra' is not installed and no info is available.
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
>
> Clearly I have no idea why it does not say anything about it,

indeed, also because it works fine here :S

$ dpkg -s nanoblogger-extra
Package: nanoblogger-extra
Status: unknown ok not-installed
Priority: optional
Section: web

> but would
> not be better to use apt-cache instead?

well, that's an interesting question, but I don't have an answer about
it yet. Currently there's no plane to migrate away from "plain" dpkg
for packages querying.

>> Also, are you able to still replicate this bug? only with
>> nanoblogger-extra or also with other packages?
>
> This did happen only with nanoblogger-extra and not for
> nanoblogger which I RFAed at same time. I can still reproduce this
> issue on one of my systems.

mh, you can probably looking at what's teh status of
/var/lib/dpkg/available and /var/lib/dpkg/status in regards to
nanoblogger-extra, maybe also the Packages file of apt, but it
shouldn't matter in this case.

Anyhow, I'm less inclined to consider this report as a bug in
reportbug, but let's see how deep we go :)

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#599290: reportbug: tells that package does not exist even when it exists

2010-12-27 Thread Michal Čihař
Hi

Dne Mon, 27 Dec 2010 00:15:27 +0100
Sandro Tosi  napsal(a):

> Hello Michal,
> 
> On Wed, Oct 6, 2010 at 15:01, Michal Čihař  wrote:
> > $ reportbug wnpp
> ...
> > 3 RFA  This is a `Request for Adoption'. Due to lack of time, resources, 
> > interest or something similar, the
> ...
> > Choose the request type: 3
> > Please enter the package name: nanoblogger-extra
> > Checking status database...
> > This package doesn't appear to exist; continue? [y|N|?]? n
> 
> this check is implemented calling
> 
> $ dpkg --status nanoblogger-extra
> 
> does this command work fine for you?

Indeed it fails:

Package `nanoblogger-extra' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.

Clearly I have no idea why it does not say anything about it, but would
not be better to use apt-cache instead?

> Also, are you able to still replicate this bug? only with
> nanoblogger-extra or also with other packages?

This did happen only with nanoblogger-extra and not for
nanoblogger which I RFAed at same time. I can still reproduce this
issue on one of my systems.

-- 
Michal Čihař | http://cihar.com | http://blog.cihar.com


signature.asc
Description: PGP signature


Bug#599290: reportbug: tells that package does not exist even when it exists

2010-12-26 Thread Sandro Tosi
Hello Michal,

On Wed, Oct 6, 2010 at 15:01, Michal Čihař  wrote:
> $ reportbug wnpp
...
> 3 RFA  This is a `Request for Adoption'. Due to lack of time, resources, 
> interest or something similar, the
...
> Choose the request type: 3
> Please enter the package name: nanoblogger-extra
> Checking status database...
> This package doesn't appear to exist; continue? [y|N|?]? n

this check is implemented calling

$ dpkg --status nanoblogger-extra

does this command work fine for you?

Also, are you able to still replicate this bug? only with
nanoblogger-extra or also with other packages?

Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#599290: reportbug: tells that package does not exist even when it exists

2010-10-06 Thread Michal Čihař
Package: reportbug
Version: 4.12.6
Severity: normal

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

I was trying to file a RFA bug for nanoblogger-extra, however reportbug
complains "This package doesn't appear to exist" (and does not fill in
template).

What I did:

/---
$ reportbug wnpp
*** Welcome to reportbug.  Use ? for help at prompts. ***
Detected character set: UTF-8
Please change your locale if this is incorrect.

Using '"Michal Čihař" ' as your from address.
Getting status for wnpp...
Will send report to Debian (per lsb_release).
What sort of request is this? (If none of these things mean anything to you, or 
you are trying to report a bug in
an existing package, please press Enter to exit reportbug.)

1 ITP  This is an `Intent To Package'. Please submit a package description 
along with copyright and URL in such a
   report.
2 OThe package has been `Orphaned'. It needs a new maintainer as soon as 
possible.
3 RFA  This is a `Request for Adoption'. Due to lack of time, resources, 
interest or something similar, the
   current maintainer is asking for someone else to maintain this package. 
They will maintain it in the
   meantime, but perhaps not in the best possible way. In short: the 
package needs a new maintainer.
4 RFH  This is a `Request For Help'. The current maintainer wants to continue 
to maintain this package, but they
   needs some help to do this, because their time is limited or the package 
is quite big and needs several
   maintainers.
5 RFP  This is a `Request For Package'. You have found an interesting piece of 
software and would like someone
   else to maintain it for Debian. Please submit a package description 
along with copyright and URL in such a
   report.

Choose the request type: 3
Please enter the package name: nanoblogger-extra
Checking status database...
This package doesn't appear to exist; continue? [y|N|?]? n
\---

While the package seems to be perfectly existing:
/---
$ apt-cache show nanoblogger-extra
Package: nanoblogger-extra
Priority: optional
Section: web
Installed-Size: 476
Maintainer: Michal Čihař 
Architecture: all
Version: 3.4.2-1
Depends: nanoblogger
Suggests: fortune
Filename: pool/main/n/nanoblogger-extra/nanoblogger-extra_3.4.2-1_all.deb
Size: 64754
MD5sum: d6998d93fb576cff2777f2f3257edf8c
SHA1: d91fa3458f491a97053ba55412539848e266
SHA256: b2803b4d553a0b63140cf20a527efd2e561230286d0289aba334af658062df9a
Description-cs: Pluginy pro Nanoblogger
 NanoBlogger je malý program pro tvorbu weblogu napsaný v bashi. K vytváření
 webových stránek používá unixové nástroje jako je cat, grep a sed. Program
 se ovládá přímo z příkazové řádky a podporuje kategorie, rok, měsíc, den
 a přihlášení. Je vytvořen modulárně, pružně a nezávisle na externí databázi.
 .
 Tento balíček obsahuje přídavné moduly a překlady tohoto webového stroje.
Homepage: http://nanoblogger.sourceforge.net/
Tag: implemented-in::shell, interface::commandline, interface::shell, 
role::plugin, role::program, scope::utility, use::editing, 
use::text-formatting, web::blog, web::cms, works-with::text, 
works-with-format::html, works-with-format::xml

$ apt-cache showsrc nanoblogger-extra
Package: nanoblogger-extra
Binary: nanoblogger-extra
Version: 3.4.2-1
Priority: optional
Section: web
Maintainer: Michal Čihař 
Build-Depends: debhelper (>= 7.0.0)
Architecture: all
Standards-Version: 3.8.4
Format: 3.0 (quilt)
Directory: pool/main/n/nanoblogger-extra
Files:
 febe6cc1f6613839e72f84cb55153e1b 1224 nanoblogger-extra_3.4.2-1.dsc
 87fd0a60169e9a810aa616979447c243 66006 nanoblogger-extra_3.4.2.orig.tar.gz
 2cf280d24f69a8428f6241a2032e59ec 3069 nanoblogger-extra_3.4.2-1.debian.tar.gz
Homepage: http://nanoblogger.sourceforge.net/
Vcs-Browser: http://viewsvn.cihar.com/debian-nanoblogger-extra/trunk
Vcs-Svn: svn://svn.cihar.com/debian-nanoblogger-extra/trunk
Checksums-Sha1: 
 0424eade29a3f9ad039cf5e682848a5e3a47ec9c 66006 
nanoblogger-extra_3.4.2.orig.tar.gz
 e41e51260d8101b3ef9b65997afd8c98834a13ce 3069 
nanoblogger-extra_3.4.2-1.debian.tar.gz
Checksums-Sha256: 
 4e9f8952c41e5aff5d9926060ec68a26bb2e2615b35d34bc90b2b7f61e4ca5df 66006 
nanoblogger-extra_3.4.2.orig.tar.gz
 ecc13aef80a793d8890577aa59447beefeea81096dec4f5f4e6e4d836d3474e9 3069 
nanoblogger-extra_3.4.2-1.debian.tar.gz

\---

- -- Package-specific info:
** Environment settings:
DEBEMAIL="ni...@debian.org"
DEBFULLNAME="Michal Čihař"
INTERFACE="text"

** /home/mcihar/.reportbugrc:
reportbug_version "2.62"
mode expert
ui text
realname "Michal Čihař"
email "ni...@debian.org"
sign gpg

- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31.14-0.1-default (SMP w/2 CPU cores)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of