We're getting this error because we're shell-quoting a filename even
though it's not ever going through a shell.  (We're now using
subprocess.Popen instead of os.system or similar.)  The attached
trivial patch fixes the bug.

John
=== modified file 'piuparts.py'
--- piuparts.py	2007-02-15 08:38:13 +0000
+++ piuparts.py	2007-02-15 08:54:23 +0000
@@ -555,7 +555,6 @@
             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"] + tmp_files, ignore_errors=True)
             self.run(["apt-get", "-yf", "--no-remove", "install"])
             self.run(["apt-get", "clean"])

Reply via email to