Your message dated Sun, 16 Apr 2006 01:47:11 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#345776: fixed in preload 0.2-5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: preload
Severity: minor
Tags: patch

I get the following error message when installing preload for the first
time:

Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  preload
  0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to
  get 0B/31.6kB of archives.
  After unpacking 176kB of additional disk space will be used.
  Selecting previously deselected package preload.
  (Reading database ... 136104 files and directories currently
  installed.) Unpacking preload (from .../preload_0.2-4_i386.deb) ...
  Setting up preload (0.2-4) ...
  /var/lib/dpkg/info/preload.postinst: line 25: [: =: unary operator
  expected Starting preload: preload.

This is caused by missing quotes around a variable:

 case "$1" in
     configure)

         # This was supposed to go to /var/lib/preload/
         # (rm this after etch=stable?)
         if [ $2 = '0.2-1' ] ; then
             rm /var/cache/preload.state || true
         fi
         ;;

 variable $2 is empty when the package is installed for the first time,
 hence the error message.

Tiny little patch:

diff -ur preload-0.2/debian/postinst preload-0.2.new/debian/postinst
--- preload-0.2/debian/postinst 2006-01-03 00:14:02.000000000 +0100
+++ preload-0.2.new/debian/postinst     2006-01-03 00:17:46.000000000
+0100
@@ -22,7 +22,7 @@
 
      # This was supposed to go to /var/lib/preload/
      # (rm this after etch=stable?)
-    if [ $2 = '0.2-1' ] ; then
+    if [ "$2" = '0.2-1' ] ; then
        rm /var/cache/preload.state || true
     fi
     ;;


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)


--- End Message ---
--- Begin Message ---
Source: preload
Source-Version: 0.2-5

We believe that the bug you reported is fixed in the latest version of
preload, which is due to be installed in the Debian FTP archive:

preload_0.2-5.diff.gz
  to pool/main/p/preload/preload_0.2-5.diff.gz
preload_0.2-5.dsc
  to pool/main/p/preload/preload_0.2-5.dsc
preload_0.2-5_i386.deb
  to pool/main/p/preload/preload_0.2-5_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Kari Pahula <[EMAIL PROTECTED]> (supplier of updated preload package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 14 Apr 2006 15:04:21 +0300
Source: preload
Binary: preload
Architecture: source i386
Version: 0.2-5
Distribution: unstable
Urgency: low
Maintainer: Kari Pahula <[EMAIL PROTECTED]>
Changed-By: Kari Pahula <[EMAIL PROTECTED]>
Description: 
 preload    - an adaptive readahead daemon
Closes: 345776 362582
Changes: 
 preload (0.2-5) unstable; urgency=low
 .
   * Quote $2 in postinst (Closes: #345776)
   * Add more information to debian/copyright file (Closes: #362582)
   * rm depends: sysv-rc | file-rc (silly me).
   * Upload sponsored by Petter Reinholdtsen.
Files: 
 801a0f671c85948caa153d2667e0c547 565 misc optional preload_0.2-5.dsc
 5f0ee68219b6b8cc9c8b04390f1a68cc 4664 misc optional preload_0.2-5.diff.gz
 d253dab4d7773a8e6cf842881657eb94 33120 misc optional preload_0.2-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEQgKJ20zMSyow1ykRAkJ8AKDZb4soIXHcuP3vw1oSvZZGb7M6ngCfRneT
kWD0wwrtPjO0MyjjpiQH3Y8=
=THhJ
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to