Index: smart/backends/slack/pm.py
===================================================================
--- smart/backends/slack/pm.py	(revision 701)
+++ smart/backends/slack/pm.py	(working copy)
@@ -64,7 +64,7 @@
             prog.setSubDone(pkg)
             prog.show()
             if status != 0:
-                iface.warning(_("Got status %d installing %s:") % (status, pkg))
+                iface.warning(_("Got status %(status)d installing %(pkg)s:") % (status, pkg))
                 iface.warning(output)
             else:
                 iface.debug(_("Installing %s:") % pkg)
@@ -78,7 +78,7 @@
             prog.setSubDone(pkg)
             prog.show()
             if status != 0:
-                iface.warning(_("Got status %d upgrading %s:") % (status, pkg))
+                iface.warning(_("Got status %(status)d upgrading %(pkg)s:") % (status, pkg))
                 iface.warning(output)
             else:
                 iface.debug(_("Upgrading %s:") % pkg)
@@ -92,7 +92,7 @@
             prog.setSubDone(pkg)
             prog.show()
             if status != 0:
-                iface.warning(_("Got status %d removing %s:") % (status, pkg))
+                iface.warning(_("Got status %(status)d removing %(pkg)s:") % (status, pkg))
                 iface.warning(output)
             else:
                 iface.debug(_("Removing %s:") % pkg)
Index: smart/backends/rpm/pm.py
===================================================================
--- smart/backends/rpm/pm.py	(revision 701)
+++ smart/backends/rpm/pm.py	(working copy)
@@ -283,7 +283,7 @@
         if what == rpm.RPMCALLBACK_INST_OPEN_FILE:
             info, path = infopath
             pkgstr = str(info.getPackage())
-            iface.debug(_("Processing %s in %s") % (pkgstr, path))
+            iface.debug(_("Processing %(pkgstr)s in %(path)s") % (pkgstr, path))
             self.topic = _("Output from %s:") % pkgstr
             self.fd = os.open(path, os.O_RDONLY)
             setCloseOnExec(self.fd)
Index: smart/transaction.py
===================================================================
--- smart/transaction.py	(revision 701)
+++ smart/transaction.py	(working copy)
@@ -954,7 +954,7 @@
                         break
                     else:
                         iface.debug(_("Unsatisfied dependency: "
-                                      "%s requires %s") % (pkg, req))
+                                      "%(pkg)s requires %(req)s") % (pkg, req))
                         raise StopIteration
                 for cnf in pkg.conflicts:
                     for prv in cnf.providedby:
@@ -963,7 +963,7 @@
                                 continue
                             if isinst(prvpkg):
                                 iface.debug(_("Unsatisfied dependency: "
-                                              "%s conflicts with %s")
+                                              "%(pkg)s conflicts with %(prvpkg)s")
                                             % (pkg, prvpkg))
                                 raise StopIteration
                 for prv in pkg.provides:
@@ -973,7 +973,7 @@
                                 continue
                             if isinst(cnfpkg):
                                 iface.debug(_("Unsatisfied dependency: "
-                                              "%s conflicts with %s")
+                                              "%(cnfpkg)s conflicts with %(pkg)s")
                                             % (cnfpkg, pkg))
                                 raise StopIteration
                 # Check packages with the same name that can't
@@ -982,7 +982,7 @@
                 for namepkg in namepkgs:
                     if (isinst(namepkg) and namepkg is not pkg
                         and not pkg.coexists(namepkg)):
-                        iface.debug(_("Package %s can't coexist with %s") %
+                        iface.debug(_("Package %(namepkg)s can't coexist with %(pkg)s") %
                                     (namepkg, pkg))
                         raise StopIteration
             except StopIteration:
@@ -1263,8 +1263,8 @@
 
                     # Should we care about this?
                     if needed:
-                        raise Error, _("No providers for '%s', "
-                                       "required by '%s'") % (req, reqpkg)
+                        raise Error, _("No providers for '%(req)s', "
+                                       "required by '%(reqpkg)s'") % (req, reqpkg)
 
         # Check upgrading/downgrading packages.
         relpkgs = [upgpkg for prv in pkg.provides
@@ -1363,8 +1363,8 @@
             # Should we really care about it?
             if (self._forcerequires or
                 isinstance(req, PreRequires)):
-                raise Error, _("No providers for '%s', "
-                               "required by '%s'") % (req, pkg)
+                raise Error, _("No providers for '%(req)s', "
+                               "required by '%(pkg)s'") % (req, pkg)
 
         cnfpkgs = [prvpkg for cnf in pkg.conflicts
                           for prv in cnf.providedby
@@ -1379,7 +1379,7 @@
             if (subset.get(cnfpkg) is INSTALL or
                 cnfpkg.installed and subset.get(cnfpkg) is not REMOVE):
                 if cnfpkg not in set:
-                    raise Error, _("Can't remove %s, which conflicts with %s")\
+                    raise Error, _("Can't remove %(cnfpkg)s, which conflicts with %(pkg)s")\
                                  % (cnfpkg, pkg)
                 if set[cnfpkg] is INSTALL:
                     self.exclude(subset, cnfpkg, locked)
@@ -1728,7 +1728,7 @@
                 if not report:
                     return False
                 problems = True
-                iface.info(_("Unsatisfied dependency: %s requires %s") %
+                iface.info(_("Unsatisfied dependency: %(pkg)s requires %(req)s") %
                            (pkg, req))
 
         if not pkg.installed:
@@ -1744,7 +1744,7 @@
                             return False
                         problems = True
                         iface.info(_("Unsatisfied dependency: "
-                                     "%s conflicts with %s") % (pkg, prvpkg))
+                                     "%(pkg)s conflicts with %(prvpkg)s") % (pkg, prvpkg))
 
         namepkgs = cache.getPackages(pkg.name)
         for namepkg in namepkgs:
@@ -1757,7 +1757,7 @@
                     if not report:
                         return False
                     problems = True
-                    iface.info(_("Package %s can't coexist with %s") %
+                    iface.info(_("Package %(namepkg)s can't coexist with %(pkg)s") %
                                (namepkg, pkg))
 
     return not problems

