Could you add the following patch?
Thanks,
fujiwara
--- pkg/src/modules/client/bootenv.py.orig 2008-11-01 22:28:18.379614385
+0900
+++ pkg/src/modules/client/bootenv.py 2008-11-01 22:47:56.936869885 +0900
@@ -192,8 +192,9 @@ class BootEnv(object):
stdout = file("/dev/null"),
stderr = subprocess.STDOUT)
except OSError, e:
- emsg(_("pkg: A system error %s was caught "
- "executing %s") % (e, " ".join(cmd)))
+ join_cmd = " ".join(cmd)
+ emsg(_("pkg: A system error %(e)s was caught "
+ "executing %(join_cmd)s") % vars())
if ret != 0:
emsg(_("pkg: '%s' failed. \nwith a return
code "
@@ -229,8 +230,9 @@ Reboot when ready to switch to this upda
stdout = file("/dev/null"), \
stderr = subprocess.STDOUT)
except OSError, e:
- emsg(_("pkg: The system error %s was caught "
- "executing %s") % (e, " ".join(cmd)))
+ join_cmd = " ".join(cmd)
+ emsg(_("pkg: The system error %(e)s was caught
"
+ "executing %(join_cmd)s") % vars())
if ret != 0:
emsg(_("pkg: '%s' failed \nwith a return code
"
--- pkg/src/pull.py.orig 2008-11-01 22:49:54.167469792 +0900
+++ pkg/src/pull.py 2008-11-01 23:01:55.689186245 +0900
@@ -149,8 +149,9 @@ def fetch_manifest(server_url, fmri, bas
m, v = versioned_urlopen(server_url, "manifest", [0],
fmri.get_url_path())
except:
- error(_("Unable to download manifest %s from %s") %
- (fmri.get_url_path(), server_url))
+ get_url_path = fmri.get_url_path()
+ error(_("Unable to download manifest %(get_url_path)s from "
+ "%(server_url)s") % vars())
sys.exit(1)
# join pkgname onto basedir. Manifest goes here
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss