gdebi crashed with TypeError in checkBreaksExistingPackages()

Bug #537228 reported by Alex Valavanis on 2010-03-11
90
This bug affects 18 people
Affects Status Importance Assigned to Milestone
gdebi (Ubuntu)
Low
Michael Vogt
Nominated for Lucid by Daniel J Blueman

Bug Description

Binary package hint: gdebi

Trying to install a home made deb (attached). As I'm new to packaging, there's a good chance that there's an error in the diff. However, gdebi should tell me about the problem gracefully rather than crashing!

ProblemType: Crash
Architecture: i386
Date: Thu Mar 11 09:38:18 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/gdebi
InterpreterPath: /usr/bin/python2.6
Package: gdebi-core 0.6.0
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/gdebi inkscape_0.47.0-2ubuntu1_i386.deb
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_GB.utf8
 LANGUAGE=en_GB:en
ProcVersionSignature: Ubuntu 2.6.32-16.24-generic
PythonArgs: ['/usr/bin/gdebi', 'inkscape_0.47.0-2ubuntu1_i386.deb']
SourcePackage: gdebi
Title: gdebi crashed with TypeError in checkBreaksExistingPackages()
Uname: Linux 2.6.32-16-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Alex Valavanis (valavanisalex) wrote :
visibility: private → public
tags: removed: need-duplicate-check
musiclover (musiclover-t) wrote :

When I tried install the "plymouth_0.8.1-1ubuntu1_i386.deb", the gdebi crashed. I got "plymouth_0.8.1-1ubuntu1_i386.deb" from https://launchpad.net/ubuntu/+source/plymouth/0.8.1-1ubuntu1/+build/1583777 .

gdebi crash while installing the package codelite_2.5.2.4031-ubuntu0_i386.deb from http://sourceforge.net/projects/codelite/files/Releases/codelite-2.5/codelite_2.5.2.4031-ubuntu0_i386.deb/download

Sam Devol (support-samdevol) wrote :

gdebi crash while installing widelands-data_15~rc2-1_all.deb. i386 Lucid b2.

Gary Cordery (tailzer42) wrote :

gdebi crashed whilst trying to install xmltv fix's inc libxmltv-perl_0.5.56+cvs20100328-1_all.deb
xmltv-gui_0.5.56+cvs20100328-1_all.deb
xmltv-util_0.5.56+cvs20100328-1_all.deb
xmltv_0.5.56+cvs20100328-1_all.deb

defrok (btd-recordings) wrote :

Chrashed while trying to install tuxguitar-1.2-ubuntu-amd64.deb
Ubuntu 10.4 Lucid Beta 2

When installing the eagle-data deb [1], gdebi crashed.

[1] http://ftp.debian.org/debian/pool/non-free/e/eagle/eagle-data_5.9.0-1_all.deb

Changed in gdebi (Ubuntu):
status: New → Confirmed

testcase:
$ sudo apt-get install eagle
$ wget http://ftp.debian.org/debian/pool/non-free/e/eagle/eagle-data_5.9.0-1_all.deb
$ gdebi eagle-data_5.9.0-1_all.deb
 -> message stating that eagle-data 5.9.0 will break eagle 5.7.0 should be received
 -> without attached fixes, we get crash

SRU justification:
 - motivation: without fix, users installing a package via GDebi which will break dependencies, will not know why the package can't be installed, since GDebi will crash in this case
 - intrusiveness: the fix is minimal (one-line of code) which affects only the code invoked when packages can't be installed due to dependency breakage
 - potential collateral: none, as there are no child or shared packages of this

Sebastien Bacher (seb128) wrote :

Thank you for your work there, Michael could you review the change?

Changed in gdebi (Ubuntu):
assignee: nobody → Michael Vogt (mvo)
importance: Undecided → Low
Luca Falavigna (dktrkranz) wrote :

This is fixed in 0.6.1, starting from Maverick.

Michael Vogt (mvo) wrote :

Thanks for your bugreport and the patch. I uploaded a fix for this into lucid proposed. testing/feedback in bug #591470 is much apreciated.

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

Other bug subscribers