apport-retrace wrongly installs older dbgsyms
Bug #309208 reported by
C de-Avillez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
Binary package hint: apport
While I was running apport-retrace I notice that even after finding (and stating) that a specific ddeb was from a previous release than needed, apport-retrace would still try to install it. This results in a broken package situation, forcing manual cleanup.
Looking at the code, it seems we are missing a 'continue' in a loop, after the wrong version is found. The attached patch seems to correct this.
Changed in apport: | |
status: | New → Confirmed |
To post a comment you must log in.
example run without the patch:
hggdh@xango2: /var/crash $ sudo apport-retrace -o test.err _usr_lib_ xscreensaver_ busyspheres. 1000.crash rc1~dfsg- 3ubuntu1 is available text-dbgsym not available rc1~dfsg- 3ubuntu1 is available /var/crash $
WARNING: package libselinux1-dbgsym not available
WARNING: package libgcc1-dbgsym not available
WARNING: libgd2-noxpm version None required, but 2.0.36~
WARNING: package whiptail-dbgsym not available
WARNING: package libdb4.7-dbgsym not available
WARNING: package libgdbm3-dbgsym not available
WARNING: package gcc-4.3-base-dbgsym not available
WARNING: package sed-dbgsym not available
WARNING: package libdjvulibre-
WARNING: package libnewt0.52-dbgsym not available
WARNING: libgnutls26-dbgsym version 2.4.2-4 required, but 2.4.1-1build1 is available
WARNING: package libuuid1-dbgsym not available
WARNING: package libbz2-1.0-dbgsym not available
WARNING: package libcomerr2-dbgsym not available
WARNING: package libdb4.6-dbgsym not available
WARNING: package libxml2-dbgsym not available
WARNING: package debianutils-dbgsym not available
WARNING: package perl-base-dbgsym not available
WARNING: libgd2-noxpm-dbgsym version None required, but 2.0.36~
WARNING: package perl-dbgsym not available
dpkg : des problèmes de dépendances empêchent la configuration de libgnutls26-dbgsym :
libgnutls26-dbgsym dépend de libgnutls26 (= 2.4.1-1build1) ; cependant :
La version de libgnutls26 sur le système est 2.4.2-4.
dpkg : erreur de traitement de libgnutls26-dbgsym (--configure) :
problèmes de dépendances - laissé non configuré
Des erreurs ont été rencontrées pendant l'exécution :
libgnutls26-dbgsym
Error: Could not install all archives. If you use this tool on a production system, it is recommended to use the -u option. See --help for details.
hggdh@xango2: