Package: piuparts
Version: 0.19-1
Severity: normal
Tags: patch

I've found the problem because I use the new '~' char in the version
number.

The problem is an attempt to delete a shellquoted filename into the
install_package_files function.

You can found a simle patch attached.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)

Versions of packages piuparts depends on:
ii  apt                        0.6.45        Advanced front-end for dpkg
ii  debootstrap                0.3.3         Bootstrap a basic Debian system
ii  lsof                       4.77.dfsg.1-3 List open files
ii  python                     2.4.3-11      An interactive high-level object-o

piuparts recommends no packages.

-- no debconf information

-- 
---------------------------------------------------------------------
|    Marco Nenciarini    | Debian/GNU Linux Developer - Plug Member |
| [EMAIL PROTECTED] | http://www.prato.linux.it/~mnencia       |
---------------------------------------------------------------------
Key fingerprint = FED9 69C7 9E67 21F5 7D95  5270 6864 730D F095 E5E4

--- piuparts.orig       2006-09-10 17:22:21.000000000 +0200
+++ piuparts    2006-09-10 17:23:11.000000000 +0200
@@ -535,8 +535,7 @@
             self.copy_files(filenames, "tmp")
             tmp_files = [os.path.basename(a) for a in filenames]
             tmp_files = [os.path.join("tmp", name) for name in tmp_files]
-            tmp_files = [shellquote(x) for x in tmp_files]
-            self.run("dpkg -i " + " ".join(tmp_files), ignore_errors=True)
+            self.run("dpkg -i " + " ".join([shellquote(x) for x in 
tmp_files]), ignore_errors=True)
             self.run("apt-get -yf --no-remove install")
             self.run("apt-get clean")
             remove_files([os.path.join(self.name, name) 

Attachment: signature.asc
Description: Digital signature

Reply via email to