upstream graphviz .DEB reproducibly hits SIGABRT in gdebi

Bug #584690 reported by Martin Olsson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdebi (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: gdebi

repro steps:
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

Revision history for this message
Martin Olsson (mnemo) wrote :
Revision history for this message
Martin Olsson (mnemo) wrote :
description: updated
description: updated
description: updated
Revision history for this message
Martin Olsson (mnemo) wrote :

@Michael Vogt, this seems like an important and easy to review bugfix. SRU?

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks Martin and sorry for the late reply. this is SRUed into llucid now and fixed in maverick

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.