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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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