package matchbox-window-manager 1.2-2ubuntu2 failed to install/upgrade: le sous-processus pre-removal script a retourn? une erreur de sortie d'?tat 2

Bug #272450 reported by David RAMEY
46
This bug affects 3 people
Affects Status Importance Assigned to Milestone
matchbox-window-manager (Ubuntu)
Fix Released
Medium
Emmet Hikory

Bug Description

Binary package hint: matchbox-window-manager

Package removal crash

:: Workaround ::
Edit /var/lib/dpkg/info/matchbox-window-manager.prerm and add "#!/bin/sh" as the top line.

Description: Ubuntu intrepid (development branch)
Release: 8.10

matchbox-window-manager 1.2-2ubuntu2 (intrepid)

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 8.10
ErrorMessage: le sous-processus pre-removal script a retourné une erreur de sortie d'état 2
Package: matchbox-window-manager 1.2-2ubuntu2
SourcePackage: matchbox-window-manager
Title: package matchbox-window-manager 1.2-2ubuntu2 failed to install/upgrade: le sous-processus pre-removal script a retourné une erreur de sortie d'état 2
Uname: Linux 2.6.27-3-generic i686

Revision history for this message
David RAMEY (david-ramey) wrote :
Revision history for this message
Erik Meitner (e.meitner) wrote :

I think this may be the same bug I found:
sudo dpkg -P matchbox-window-manager
(Reading database ... 399785 files and directories currently installed.)
Removing matchbox-window-manager ...
dpkg (subprocess): unable to execute pre-removal script: Exec format error
dpkg: error processing matchbox-window-manager (--purge):
 subprocess pre-removal script returned error exit status 2
Errors were encountered while processing:
 matchbox-window-manager

I edited /var/lib/dpkg/info/matchbox-window-manager.prerm and added the needed "#!/bin/sh" as the top line.

apt-cache policy matchbox-window-manager
matchbox-window-manager:
  Installed: (none)
  Candidate: 1.2-2ubuntu2
  Version table:
     1.2-2ubuntu2 0
        500 http://us.archive.ubuntu.com intrepid/universe Packages

Revision history for this message
Daniele (rizzo-dani) wrote :

The same here:
Ubuntu 8.10 Intrepid
kernel 2.6.27-7-generic-i686

solved like Erik suggested

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Confirmed in Intrepid

black:~# apt-cache policy matchbox-window-manager
matchbox-window-manager:
  Installed: (none)
  Candidate: 1.2-2ubuntu2
  Version table:
     1.2-2ubuntu2 0
        500 ftp://ftp.free.fr intrepid/universe Packages

Changed in matchbox-window-manager:
importance: Undecided → Medium
status: New → Triaged
description: updated
Revision history for this message
Bastiaan Wakkie (bwakkie) wrote :

thank you... solved my problem in 9.04a1

Revision history for this message
TheEfrit (theefrit) wrote :

Confirmed bug and fix in Intrepid Ibex 8.10 UMPC Edition - lpia architecture-

Revision history for this message
kernel_script (kernelscript) wrote :

Same bug here when uninstalling Ubuntu MID and some of it's major dependencies.

Solved with Erik Meitner ti.

Thank you Erik.

Revision history for this message
kernel_script (kernelscript) wrote :

I forgot to say, sorry:

Ubuntu 8.10

Luke Faraone (lfaraone)
Changed in matchbox-window-manager:
importance: Medium → High
Emmet Hikory (persia)
Changed in matchbox-window-manager:
assignee: nobody → persia
importance: High → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package matchbox-window-manager - 1.2-3ubuntu2

---------------
matchbox-window-manager (1.2-3ubuntu2) jaunty; urgency=low

  * Add interpreter to prerm (LP: #272450)

 -- Emmet Hikory <email address hidden> Sun, 25 Jan 2009 01:41:55 +0900

Changed in matchbox-window-manager:
status: Triaged → Fix Released
Revision history for this message
Ramaddan (ramaddan) wrote :

Hi,

I'm using Intrepid on one of my machines and had this problem, and the problem got fixed by following the directions by David Ramey, thanks.

Will the package with the fix be placed in the repoes?

Revision history for this message
Emmet Hikory (persia) wrote :

It is unlikely the fix will be applied to intrepid, except perhaps in combination with another fix to intrepid.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.