Package: reprepro
Version: 3.5.2-6
Severity: normal
Tags: patch

When executing

        reprepro copyfilter <dest> <src> <filter>

one gets ab error message

reprepro: main.c:1252: action_d_y_n_copyfilter: Assertion `argc == 3'
failed.
Aborted

This assertion is false; `argc == 4' would be correct.

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages reprepro depends on:
ii  libarchive1            2.4.17-2          Single library to read/write tar, 
ii  libbz2-1.0             1.0.5-1           high-quality block-sorting file co
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libdb4.6               4.6.21-11         Berkeley v4.6 Database Libraries [
ii  libgpg-error0          1.4-2             library for common error values an
ii  libgpgme11             1.1.6-2           GPGME - GnuPG Made Easy
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages reprepro recommends:
ii  apt                      0.7.20.2+lenny1 Advanced front-end for dpkg

Versions of packages reprepro suggests:
pn  gnupg-agent                   <none>     (no description available)
pn  inoticoming                   <none>     (no description available)

-- no debconf information
--- main.c~	2009-12-02 11:19:04.000000000 +0100
+++ main.c	2009-12-02 11:34:49.000000000 +0100
@@ -1248,9 +1248,9 @@
 ACTION_D(y, n, y, copyfilter) {
 	struct distribution *destination, *source;
 	retvalue result, r;
 
-	assert( argc == 3 );
+	assert( argc == 4 );
 
 	result = distribution_get(alldistributions, argv[1], true, &destination);
 	assert( result != RET_NOTHING );
 	if( RET_WAS_ERROR(result) )

Reply via email to