irda-utils unusable and unremovable after upgrade from intrepid to jaunty

Bug #393191 reported by BlackHawk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
irda-utils (Ubuntu)
New
Undecided
Unassigned

Bug Description

Yesterday I upgraded Ubuntu from Intrepid to Jaunty, but something went wrong during the installation and a message appeared which said, that the upgrade was successful, but there was an error with irda-utils, which couldn't be updated. First I didn't worry, because I don't need this package and installed it quite a time ago but never used it. Then I realized the error was far more harmful than I expected: all further package installations went wrong, because aptitude tried to solve the problem with irda-utils, which, again, returned an error and aborted the installation of the packages, I wanted to install.

As I said I don't use this package and wanted to remove it (sorry for the german, I added a translation after the original output):

marco@marco:~$ sudo apt-get remove irda-utils
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-Informationen ein... Fertig
Die folgenden Pakete werden ENTFERNT:
  irda-utils
0 aktualisiert, 0 neu installiert, 1 zu entfernen und 0 nicht aktualisiert.
4 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 336kB Plattenplatz freigegeben.
Möchten Sie fortfahren [J/n]? j
dpkg: Fehler beim Bearbeiten von irda-utils (--remove):
 Paket ist in einem sehr schlechten inkonsistenten Zustand - Sie sollten
 es erneut installieren, bevor Sie es zu entfernen versuchen.
Fehler traten auf beim Bearbeiten von:
 irda-utils
E: Sub-process /usr/bin/dpkg returned an error code (1)

TRANSLATION:
...
dpkg: error while processing irda-utils (--remove):
package is in a very bad inconsistent state - you should reinstall it before removing it
errors occured while processsing:
  irda-utils
...

I followed the suggestion and tried to reinstall irda-utils:

marco@marco:~$ sudo apt-get install --reinstall irda-utils
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-Informationen ein... Fertig
Vorgeschlagene Pakete:
  libgsmme1c102 liblinc1 obexftp
Die folgenden Pakete werden aktualisiert:
  irda-utils
1 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
4 nicht vollständig installiert oder entfernt.
Es müssen noch 0B von 89,4kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 0B Plattenplatz zusätzlich benutzt.
Vorkonfiguration der Pakete ...
Wähle vormals abgewähltes Paket irda-utils.
(Lese Datenbank ... 230594 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereiten zum Ersetzen von irda-utils 0.9.18-8.1ubuntu1 (durch .../irda-utils_0.9.18-8.1ubuntu1.1_i386.deb) ...
/etc/default/irda-utils: line 2: irda: command not found
invoke-rc.d: initscript irda-utils, action "stop" failed.
dpkg: Warnung - altes pre-removal-Skript wurde mit Fehler-Status 127 beendet
dpkg - probiere stattdessen Skript aus dem neuen Paket ...
/etc/default/irda-utils: line 2: irda: command not found
invoke-rc.d: initscript irda-utils, action "stop" failed.
dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/irda-utils_0.9.18-8.1ubuntu1.1_i386.deb (--unpack):
 Unterprozess neues pre-removal-Skript gab den Fehlerwert 127 zurück
/etc/default/irda-utils: line 2: irda: command not found
invoke-rc.d: initscript irda-utils, action "start" failed.
dpkg: Fehler beim Aufräumen:
 Unterprozess post-installation script gab den Fehlerwert 127 zurück
Fehler traten auf beim Bearbeiten von:
 /var/cache/apt/archives/irda-utils_0.9.18-8.1ubuntu1.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

TRANSLATION:
...
dpkg: warning - old pre-removal-script exited with error code 127
dpkg - try script from the new package instead
...
dpkg: error while processing /var/cache/apt/archive/irda-utils_0.9.18-8.1ubuntu1.1_i386.deb (--unpack):
  sub-process new pre-removal script returned error code 127
...
dpkg: error while tidying up
  sub-process post-installation script returned error code 127
errors occured while processing:
  /var/cache/apt/archives/irda-utils_0.9.18-8.1ubuntu1.1_i386.deb

The current version I have installed and the candidate:

irda-utils:
  Installiert: 0.9.18-8.1ubuntu1
  Kandidat: 0.9.18-8.1ubuntu1.1
  Versions-Tabelle:
     0.9.18-8.1ubuntu1.1 0
        500 http://de.archive.ubuntu.com jaunty-updates/main Packages
 *** 0.9.18-8.1ubuntu1 0
        500 http://de.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

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.