** Patch added: "PATCH: drop extra "i" from fromat string to avoid python 
runtime error"
   http://launchpadlibrarian.net/48981148/gdebi_format_string_bugfix.patch

** Description changed:

  Binary package hint: gdebi
  
  repro steps:
- 1. run "wget -q -O /tmp/a.deb 
http://graphviz.org/pub/graphviz/stable/ubuntu/ub9.04/x86_64/libgraphviz4_2.26.3-1_amd64.deb
 ; gdebi /tmp/a.deb"
+ 1. on x64. run "wget -q -O /tmp/a.deb 
http://graphviz.org/pub/graphviz/stable/ubuntu/ub9.04/x86_64/libgraphviz4_2.26.3-1_amd64.deb
 ; gdebi /tmp/a.deb"
  
  Actual:
  
  Reading package lists... Done
- Building dependency tree        
+ Building dependency tree
  Reading state information... Done
- Building data structures... Done 
-   Traceback (most recent call last):
-   File "/usr/bin/gdebi", line 83, in <module>
-     if not debi.open(args[0]):
-   File "/usr/lib/python2.6/dist-packages/GDebi/GDebiCli.py", line 86, in open
-     if not self._deb.checkDeb():
-   File "/usr/lib/python2.6/dist-packages/GDebi/DebPackage.py", line 368, in 
checkDeb
-     if not self.checkBreaksExistingPackages():
-   File "/usr/lib/python2.6/dist-packages/GDebi/DebPackage.py", line 283, in 
checkBreaksExistingPackages
-     'depversion' : dep.version}
+ Building data structures... Done
+   Traceback (most recent call last):
+   File "/usr/bin/gdebi", line 83, in <module>
+     if not debi.open(args[0]):
+   File "/usr/lib/python2.6/dist-packages/GDebi/GDebiCli.py", line 86, in open
+     if not self._deb.checkDeb():
+   File "/usr/lib/python2.6/dist-packages/GDebi/DebPackage.py", line 368, in 
checkDeb
+     if not self.checkBreaksExistingPackages():
+   File "/usr/lib/python2.6/dist-packages/GDebi/DebPackage.py", line 283, in 
checkBreaksExistingPackages
+     'depversion' : dep.version}
  TypeError: not enough arguments for format string
  
  ----
  
  It's a bug in gdebi, and it's easy to fix. Inside "/usr/lib/python2.6
  /dist-packages/GDebi/DebPackage.py:279", just replace the "%i" with "%"
  in the line that says:
  
-   self._failureString += _("Breaks existing package '%(pkgname)s'
+   self._failureString += _("Breaks existing package '%(pkgname)s'
  dependency %(depname)s (%(deprelation)s %i(depversion)s)") % {
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: gdebi 0.6.0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-22-generic x86_64
  Architecture: amd64
  Date: Sun May 23 20:40:21 2010
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  PackageArchitecture: all
  ProcEnviron:
-  PATH=(custom, user)
-  LANG=en_US.utf8
-  SHELL=/bin/bash
+  PATH=(custom, user)
+  LANG=en_US.utf8
+  SHELL=/bin/bash
  SourcePackage: gdebi

** Description changed:

  Binary package hint: gdebi
  
  repro steps:
- 1. on x64. run "wget -q -O /tmp/a.deb 
http://graphviz.org/pub/graphviz/stable/ubuntu/ub9.04/x86_64/libgraphviz4_2.26.3-1_amd64.deb
 ; gdebi /tmp/a.deb"
+ 1. on x64. install "libgraphviz-dbgsym"
+ 2. run "wget -q -O /tmp/a.deb 
http://graphviz.org/pub/graphviz/stable/ubuntu/ub9.04/x86_64/libgraphviz4_2.26.3-1_amd64.deb
 ; gdebi /tmp/a.deb"
  
  Actual:
  
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Building data structures... Done
    Traceback (most recent call last):
    File "/usr/bin/gdebi", line 83, in <module>
      if not debi.open(args[0]):
    File "/usr/lib/python2.6/dist-packages/GDebi/GDebiCli.py", line 86, in open
      if not self._deb.checkDeb():
    File "/usr/lib/python2.6/dist-packages/GDebi/DebPackage.py", line 368, in 
checkDeb
      if not self.checkBreaksExistingPackages():
    File "/usr/lib/python2.6/dist-packages/GDebi/DebPackage.py", line 283, in 
checkBreaksExistingPackages
      'depversion' : dep.version}
  TypeError: not enough arguments for format string
  
  ----
  
  It's a bug in gdebi, and it's easy to fix. Inside "/usr/lib/python2.6
  /dist-packages/GDebi/DebPackage.py:279", just replace the "%i" with "%"
  in the line that says:
  
    self._failureString += _("Breaks existing package '%(pkgname)s'
  dependency %(depname)s (%(deprelation)s %i(depversion)s)") % {
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: gdebi 0.6.0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-22-generic x86_64
  Architecture: amd64
  Date: Sun May 23 20:40:21 2010
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  SourcePackage: gdebi

** Description changed:

  Binary package hint: gdebi
  
  repro steps:
- 1. on x64. install "libgraphviz-dbgsym"
+ 1. on x64. install "libgraphviz4-dbgsym"
  2. run "wget -q -O /tmp/a.deb 
http://graphviz.org/pub/graphviz/stable/ubuntu/ub9.04/x86_64/libgraphviz4_2.26.3-1_amd64.deb
 ; gdebi /tmp/a.deb"
  
  Actual:
  
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Building data structures... Done
    Traceback (most recent call last):
    File "/usr/bin/gdebi", line 83, in <module>
      if not debi.open(args[0]):
    File "/usr/lib/python2.6/dist-packages/GDebi/GDebiCli.py", line 86, in open
      if not self._deb.checkDeb():
    File "/usr/lib/python2.6/dist-packages/GDebi/DebPackage.py", line 368, in 
checkDeb
      if not self.checkBreaksExistingPackages():
    File "/usr/lib/python2.6/dist-packages/GDebi/DebPackage.py", line 283, in 
checkBreaksExistingPackages
      'depversion' : dep.version}
  TypeError: not enough arguments for format string
  
  ----
  
  It's a bug in gdebi, and it's easy to fix. Inside "/usr/lib/python2.6
  /dist-packages/GDebi/DebPackage.py:279", just replace the "%i" with "%"
  in the line that says:
  
    self._failureString += _("Breaks existing package '%(pkgname)s'
  dependency %(depname)s (%(deprelation)s %i(depversion)s)") % {
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: gdebi 0.6.0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-22-generic x86_64
  Architecture: amd64
  Date: Sun May 23 20:40:21 2010
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  SourcePackage: gdebi

-- 
upstream graphviz .DEB reproducibly hits SIGABRT in gdebi
https://bugs.launchpad.net/bugs/584690
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to