Gdebi crashes while trying to install a deb package, TypeError: not enough arguments for format string
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdebi |
Fix Released
|
Medium
|
Unassigned | ||
gdebi (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Lucid |
Fix Released
|
Medium
|
Unassigned |
Bug Description
TEST CASE:
1. test if gdebi keeps working after the upgrade
(a more sophisticated testcase would be good, but we need a link to a package that triggers the crash).
The following issue is now fixed in Maverick but affects Lucid.
Backporting the entirety of gdebi 0.6.1 from Maverick won't do, but the fix is a fairly simple one-line (one character!) change in lp:gdebi, revision 314. I picked that revision specifically and pushed it to lp:~dylanmccall/ubuntu/lucid/gdebi/bug-591470
This bug creates a crash that makes some packages impossible for our users to install without resorting to a terminal. For example, in directing a user to install the proposed libusb package to fix a printer problem, I found that I could not give him easy directions with gdebi because it crashed upon opening the package. The issue can definitely harm the experience for our end users, and it will be especially troublesome going forwards as developers running newer systems will not recognize that packages they are sending to Lucid users will create this crash.
There is, unfortunately, some regression potential because this is a string change. There are 40 translations based on (and, themselves, containing) the offending string:
https:/
Thankfully, we can change those really easily (a simple script would do it, though even doing it by brute force wouldn't take _too_ long). The only thing is I expect this would need some work to be timed right :)
Original bug report follows…
-----
gdebi crashes when I try to install the package: liferea-
This happens on a fully up-to-date Lucid x64 installation. Even if there's something wrong with the package, it would be nice if gdebi would give some useful output instead of crashing. Here's the trace:
michael@
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/
if not self._deb.
File "/usr/lib/
if not self.checkBreak
File "/usr/lib/
'depversion' : dep.version}
TypeError: not enough arguments for format string
Let me know if there's any more information that I can provide.
Related branches
- Michael Vogt: Approve
-
Diff: 628 lines (+80/-50)26 files modifiedGDebi/DebPackage.py (+1/-1)
debian/changelog (+7/-0)
po/bn.po (+3/-2)
po/ca.po (+3/-2)
po/cs.po (+3/-2)
po/da.po (+3/-2)
po/de.po (+3/-2)
po/es.po (+3/-3)
po/fi.po (+3/-2)
po/fr.po (+3/-2)
po/gdebi.pot (+3/-2)
po/hr.po (+3/-2)
po/hu.po (+3/-2)
po/id.po (+3/-2)
po/it.po (+3/-2)
po/ko.po (+3/-2)
po/ku.po (+3/-2)
po/nl.po (+3/-2)
po/pl.po (+3/-2)
po/pt.po (+3/-2)
po/pt_BR.po (+3/-2)
po/ru.po (+3/-2)
po/sk.po (+3/-2)
po/sr.po (+3/-2)
po/sv.po (+3/-2)
po/tr.po (+3/-2)
security vulnerability: | yes → no |
visibility: | private → public |
description: | updated |
description: | updated |
description: | updated |
Changed in gdebi (Ubuntu): | |
status: | Fix Released → Confirmed |
status: | Confirmed → Fix Released |
tags: |
added: verification-done removed: verification-needed |
tags: | added: testcase |
Fixed in 0.6.1