Your message dated Mon, 07 May 2007 18:02:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#393530: fixed in apt-move 4.2.27-1
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: apt-move
Version: 4.2.24-1.1

Hi,
  openoffice.org packages use (in violation of chapter 5.6.12 of Debian
policy, see
http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version)
version number 2.0.4~rc3-1 and 2.0.4-1, hoping that 2.0.4~rc3 is below
2.0.4 - which surprisingly is for apt and dpkg, but not for apt-move. 

  Perhaps this should be reported as openoffice's policy violation, but
as damage was already done it would be nice if apt-move's
/usr/share/apt-move/cmpversion.awk could be modified so it orders
2.0.4~rc3 below 2.0.4.  Currently apt-move just downloads openoffice
packages & tarballs (of version 2.0.4) and then throws them away because
repository already contains "newer" (2.0.4~rc3) version.

  I've used hack below to teach apt-move how to order openoffice, but it
most probably fails for lot of other corner cases.  Perhaps spawning 
dpkg --compare-versions is right thing to do.  Hack below is definitely
not OK for world wide use, it may eat your repository...

                                        Thanks,
                                                Petr Vandrovec


--- cmpversion.awk      2002-10-28 23:59:41.000000000 -0800
+++ /usr/share/apt-move/cmpversion.awk  2006-10-16 10:20:17.000000000 -0700
@@ -26,8 +26,14 @@
                n = 1
                while (m < i && n < j) {
                        p = substr(a, m, 1)
+                       if (p == "~") {
+                               p = "!"
+                       }
                        q = substr(b, n, 1)
-                       d = (q ~ /[A-Za-z]/) - (p ~ /[A-Za-z]/)
+                       if (q == "~") {
+                               q = "!";
+                       }
+                       d = (p ~ /[A-Za-z]/) - (q ~ /[A-Za-z]/)
                        if (d) {
                                return d
                        }
@@ -71,6 +77,18 @@
                l -= j - 1
        }
 
+       if (k <= 0) {
+               a = "0";
+       }
+       if (l <= 0) {
+               b = "0";
+       }
+       a = substr(a, 1, 1);
+       b = substr(b, 1, 1);
+       d = (b ~ /~/) - (a ~ /~/);
+       if (d) {
+               return d;
+       }
        return (k > 0) - (l > 0)
 }
 


--- End Message ---
--- Begin Message ---
Source: apt-move
Source-Version: 4.2.27-1

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

apt-move_4.2.27-1.diff.gz
  to pool/main/a/apt-move/apt-move_4.2.27-1.diff.gz
apt-move_4.2.27-1.dsc
  to pool/main/a/apt-move/apt-move_4.2.27-1.dsc
apt-move_4.2.27-1_i386.deb
  to pool/main/a/apt-move/apt-move_4.2.27-1_i386.deb
apt-move_4.2.27.orig.tar.gz
  to pool/main/a/apt-move/apt-move_4.2.27.orig.tar.gz



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.
Chuan-kai Lin <[EMAIL PROTECTED]> (supplier of updated apt-move 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: Mon,  7 May 2007 10:34:13 -0700
Source: apt-move
Binary: apt-move
Architecture: source i386
Version: 4.2.27-1
Distribution: unstable
Urgency: low
Maintainer: Chuan-kai Lin <[EMAIL PROTECTED]>
Changed-By: Chuan-kai Lin <[EMAIL PROTECTED]>
Description: 
 apt-move   - Maintain Debian packages in a package pool
Closes: 320827 393530
Changes: 
 apt-move (4.2.27-1) unstable; urgency=low
 .
   * New upstream release (closes: #393530, #320827)
Files: 
 122430103d9b2c5eea12c94183c2f1b5 609 admin optional apt-move_4.2.27-1.dsc
 201d0fb501627a3e07d718bc62704706 46000 admin optional 
apt-move_4.2.27.orig.tar.gz
 bf7dcb08a73f90a1310e8a7e9705f9f7 8303 admin optional apt-move_4.2.27-1.diff.gz
 3531ab9adaf1c260446a5710a0cef368 49498 admin optional 
apt-move_4.2.27-1_i386.deb

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

iD8DBQFGP2Y+qq7AEt0PYmgRAhJeAJ4+ciRleCPPqHAB2MLB+uykzF5pgACgtZyE
gByhR9syxLiw8jx7rkbbp5Q=
=WbmJ
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to