Public bug reported:

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

** Affects: gdebi (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
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