Uninstall package: error code 2

Asked by Willem Van Besien

I want to uninstall the package "3dxware". When I do this (with Synaptic package manager), I get this:
E: 3dxware: subproces installed pre-removal script gaf een foutwaarde 2 terug
(error code 2)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu synaptic Edit question
Assignee:
No assignee Edit question
Solved by:
Soul-Sing
Solved:
Last query:
Last reply:
Revision history for this message
Willem Van Besien (willem-vanbesien) said :
#1

When I try to remove the package in a terminal window, I get this error message:
sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Soul-Sing (soulzing) said :
#2

gksudo nautilus

navigate to /usr/bin/dpkg/info
remove via the search-option: 3dxware

close nautilus
sudo apt-get update

Revision history for this message
Soul-Sing (soulzing) said :
#3

of: sudo dpkg --remove --force-remove-reinstreq naam-van-het-pakket

Revision history for this message
Willem Van Besien (willem-vanbesien) said :
#4

Thank you for the answer. Your first solution does not work for me, because I don't have the folder "dpkg" on that location.
Your second solution gives the same error:

sudo dpkg --remove --force-remove-reinstreq 3dxware

(Database inlezen ... 159369 bestanden en mappen geïnstalleerd.)
3dxware wordt verwijderd ...
.: 14: Can't open /lib/init/mount-functions.sh
invoke-rc.d: initscript 3dxware, action "stop" failed.
dpkg: fout bij afhandelen van 3dxware (--remove):
 subproces installed pre-removal script gaf een foutwaarde 2 terug
update-rc.d: warning: /etc/init.d/3dxware missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
.: 14: Can't open /lib/init/mount-functions.sh
invoke-rc.d: initscript 3dxware, action "start" failed.
dpkg: fout tijdens opruimen:
 subproces installed post-installation script gaf een foutwaarde 2 terug
Fouten gevonden tijdens behandelen van:
 3dxware

Revision history for this message
Best Soul-Sing (soulzing) said :
#5

gksudo nautilus

navigate to /var/lib/dpkg/info
remove via the search-option: 3dxware

close nautilus
sudo apt-get update

sorry....

Revision history for this message
Willem Van Besien (willem-vanbesien) said :
#6

Thanks leoquant, that solved my question.