Debian bug report logs - #1532
no revision number with repair
Package: repair; Reported by: Erick Branderhorst <branderhorst@fgg.eur.nl>; 28 days old.
Message received at debian-bugs:
From elmail.co.uk!richard Tue Oct 3 03:30:25 1995
Return-Path: <richard@elmail.co.uk>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0t04cC-0005ooC; Tue, 3 Oct 95 03:30 PDT
Received: from muskogee.elmail.co.uk by pixar.com with SMTP id AA14851
(5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Tue, 3 Oct 1995 03:29:52 -0700
Received: by muskogee.elmail.co.uk
id <m0t04cb-00033DC@muskogee.elmail.co.uk>
(Debian /\oo/\ Smail3.1.29.1 #29.33); Tue, 3 Oct 95 11:30 BST
From: Richard Kettlewell <richard@elmail.co.uk>
Message-Id: <cMsh3o4j72@muskogee.elmail.co.uk>
Date: Tue, 3 Oct 95 11:30:48 +0100 (BST)
To: Erick Branderhorst <branderhorst@fgg.eur.nl>, debian-bugs@Pixar.com
Subject: Re: Bug#1532: no revision number with repair
In-Reply-To: <9510031009.AA24185@mailgate.eur.nl>
References: <9510031009.AA24185@mailgate.eur.nl>
Erick Branderhorst writes:
>Repair seems to be searching in the file /var/lib/dpkg/available to
>find some info about the specific package. It however never seems to
>find the debian revision number. I took a quick look in the script
>and it seems to search for a sequence "package_revision". In the
>/var/lib/dpkg/available the keyword "revision" is used. In the
>control file of a package the keyword "package_revision" (case
>insensitive) should be used. Some inconsequence is spotted
>here. Perhaps this is a bug? in dpkg.
The next version of repair, which isn't quite ready yet, calls dpkg to
find information about the package rather than make assumptions about
the format of internal databases; I'll check that it looks for the
right field name tonight.
There are one or two other things that need to be resolved before I
upload it.
Thanks for taking the time to have a look at it!
--
Richard Kettlewell richard@uk.geeks.org http://www.elmail.co.uk/staff/richard/
Acknowledgement sent to Richard Kettlewell <richard@elmail.co.uk>
:
Extra info received and forwarded.
Full text available.
Information forwarded to debian-devel@pixar.com
:
Bug#1532
; Package repair
.
Full text available.
Message received at debian-bugs:
From fgg.eur.nl!branderhorst Tue Oct 3 03:10:06 1995
Return-Path: <branderhorst@fgg.eur.nl>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0t04IX-000GveC; Tue, 3 Oct 95 03:10 PDT
Received: from mailgate.eur.nl by pixar.com with SMTP id AA14714
(5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Tue, 3 Oct 1995 03:09:41 -0700
Received: from hp750.fgg.eur.nl by mailgate.eur.nl (4.1/SMI-4.1)
id AA24185; Tue, 3 Oct 95 11:09:52 +0100
Message-Id: <9510031009.AA24185@mailgate.eur.nl>
Received: by hp750.fgg.eur.nl
(1.38.193.4/16.2) id AA13141; Tue, 3 Oct 1995 11:12:53 +0100
From: Erick Branderhorst <branderhorst@fgg.eur.nl>
Subject: no revision number with repair
To: debian-bugs@pixar.com
Date: Tue, 3 Oct 95 11:12:52 MET
Mailer: Elm [revision: 70.85]
Package: repair
Version: 0.1-1 (last "1" by hand)
Libc: libc.so.4.6.27
Kernel etc: Linux morris 1.2.10 #1 Tue Jun 13 18:37:28 EST 1995 i486
Reporter: repair 0.1
Subject: Repair doesn't give debian revision
Repair seems to be searching in the file /var/lib/dpkg/available to
find some info about the specific package. It however never seems to
find the debian revision number. I took a quick look in the script and
it seems to search for a sequence "package_revision". In the
/var/lib/dpkg/available the keyword "revision" is used. In the control
file of a package the keyword "package_revision" (case insensitive)
should be used. Some inconsequence is spotted here. Perhaps this is a
bug? in dpkg.
Example:
$ dpkg --status repair
Package: repair
Status: install ok installed
Maintainer: Richard Kettlewell <richard@elmail.co.uk>
Version: 0.1
Revision: 1
===========
Conffiles:
/etc/repair.conf 1e16d01eb63e9955ba61692321457a20
Description: Report bugs in Debian
Repair asks users to describe problems encountered and submits bug
reports either to a local administrator or to the debian-bugs
submission address.
$ dpkg --info /root/debian/repair.deb
old debian package, version 0.939000.
size 6709 bytes: control archive= 1149, main archive= 5546.
1655 bytes, 75 lines * bug #!/usr/bin/perl
17 bytes, 1 lines conffiles
290 bytes, 8 lines control
Package: repair
Version: 0.1
Package_Revision: 1
====================
Maintainer: Richard Kettlewell <richard@elmail.co.uk>
Description: Report bugs in Debian
Repair asks users to describe problems encountered and submits bug
reports either to a local administrator or to the debian-bugs
submission address.
The next few lines are found in /var/lib/dpkg/available
Package: repair
Maintainer: Richard Kettlewell <richard@elmail.co.uk>
Version: 0.1
Revision: 1
===========
Description: Report bugs in Debian
Repair asks users to describe problems encountered and submits bug
reports either to a local administrator or to the debian-bugs
submission address.
Erick
Acknowledgement sent to Erick Branderhorst <branderhorst@fgg.eur.nl>
:
New bug report received and forwarded.
Full text available.
Report forwarded to debian-devel@pixar.com
:
Bug#1532
; Package repair
.
Full text available.
Ian Jackson /
iwj10@thor.cam.ac.uk,
with the debian-bugs tracking mechanism