Jaunty 64 bit unable to uninstall gmount

Bug #369691 reported by Liberto
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Attempting to uninstall gmountiso. Receive error below. Application does not work after install. Did not see anything after google search in regards to this issue. Same error if I attempt to install. Fresh install of Jaunty 64bit.

x@asus:~$ sudo apt-get remove gmountiso
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  gmountiso
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 180kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 113318 files and directories currently installed.)
Removing gmountiso ...
dpkg (subprocess): unable to execute pre-removal script: Exec format error
dpkg: error processing gmountiso (--remove):
 subprocess pre-removal script returned error exit status 2
dpkg (subprocess): unable to execute post-installation script: Exec format error
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 gmountiso
E: Sub-process /usr/bin/dpkg returned an error code (1)

x@asus:~$ apt-cache policy gmountiso
gmountiso:
  Installed: 0.4-0ubuntu3
  Candidate: 0.4-0ubuntu3
  Version table:
 *** 0.4-0ubuntu3 0
        500 http://us.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

x@asus:~$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04

x@asus:~$ sudo apt-get install gmountiso
Reading package lists... Done
Building dependency tree
Reading state information... Done
gmountiso is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up gmountiso (0.4-0ubuntu3) ...
dpkg (subprocess): unable to execute post-installation script: Exec format error
dpkg: error processing gmountiso (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 gmountiso
E: Sub-process /usr/bin/dpkg returned an error code (1)

jtholmes (jtholmes)
affects: ubuntu → apt (Ubuntu)
Revision history for this message
jtholmes (jtholmes) wrote :

Thank you for reporting this bug

Could you run the following command

sudo apt-get -f install

and then try to remove gmountiso again using
apt-get --purge remove gmountiso

if removal of gmountiso fails again please run the following command

apport-collect 369691

and follow the steps called for to add certain necessary information to
this bug

thank you

Revision history for this message
rafuru (rafael-carrillo) wrote :

Hello

I have same problem right now..

And i can't install any software because first try to remove exaile and i get the next error:

Desinstalando exaile ...
dpkg (subproceso): no se puede ejecutar post-removal script: Error de formato ejecutable
dpkg: error al procesar exaile (--remove):
 el subproceso post-removal script devolvió el código de salida de error 2
Se encontraron errores al procesar:
 exaile
E: Sub-process /usr/bin/dpkg returned an error code (1)

I has send a bug report with apport

Revision history for this message
Liberto (marcusliberto) wrote :

Jtholmes,

Same issue after commands were issued.

root@asus:/home/x# sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up gmountiso (0.4-0ubuntu3) ...
dpkg (subprocess): unable to execute post-installation script: Exec format error
dpkg: error processing gmountiso (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 gmountiso
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@asus:/home/x# apt-get --purge remove gmountiso
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  gmountiso*
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 180kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 133266 files and directories currently installed.)
Removing gmountiso ...
dpkg (subprocess): unable to execute pre-removal script: Exec format error
dpkg: error processing gmountiso (--purge):
 subprocess pre-removal script returned error exit status 2
dpkg (subprocess): unable to execute post-installation script: Exec format error
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 gmountiso
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@asus:/home/x#

Sorry for the delay and many thanks for your quick response!

Revision history for this message
Mitch Towner (kermiac) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 512096, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

affects: apt (Ubuntu) → dpkg (Ubuntu)
Changed in dpkg (Ubuntu):
status: New → Confirmed
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.