Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Installation & Upgrades
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Installation & Upgrades
For questions about upgrading and installation of your new Ubuntu OS.

 
Thread Tools Display Modes
Old April 27th, 2007   #1
Thingymebob
Way Too Much Ubuntu
 
Thingymebob's Avatar
 
Join Date: Aug 2006
Location: 20,000 structs inside C
Beans: 316
Ubuntu 9.04 Jaunty Jackalope
Send a message via ICQ to Thingymebob Send a message via AIM to Thingymebob Send a message via MSN to Thingymebob Send a message via Yahoo to Thingymebob Send a message via Skype™ to Thingymebob
Can't remove VMware-player

So I attempted installing vmware player for no particular reason (just to mess around with) and got the following error

Code:
Starting VMware services:
   Virtual machine monitor                                             done
   Virtual ethernet                                                    done
   Bridged networking on /dev/vmnet0                                  failed
   Host-only networking on /dev/vmnet1 (background)                    done
   Host-only networking on /dev/vmnet8 (background)                    done
   NAT service on /dev/vmnet8                                         failed
invoke-rc.d: initscript vmware-player, action "start" failed.
dpkg: error processing vmware-player (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 vmware-player
E: Sub-process /usr/bin/dpkg returned an error code (1)
I know the issue is something to do with the the madwifi driver etc.... But to be honest, I 'aint that fussed about it and don't want to be messing around with the driver source so decided to just remove it.

When attempting to remove VMware-player I get the following error:
Code:
Stopping VMware services:
   Virtual machine monitor                                             done
   Bridged networking on /dev/vmnet0                                   done
   DHCP server on /dev/vmnet1                                          done
   Host-only networking on /dev/vmnet1                                 done
   DHCP server on /dev/vmnet8                                          done
   NAT service on /dev/vmnet8                                          done
   Host-only networking on /dev/vmnet8                                 done
   Virtual ethernet                                                   failed
invoke-rc.d: initscript vmware-player, action "stop" failed.
dpkg: error processing vmware-player (--remove):
 subprocess pre-removal script returned error exit status 1
Starting VMware services:
   Virtual machine monitor                                             done
   Virtual ethernet                                                    done
   Bridged networking on /dev/vmnet0                                  failed
   Host-only networking on /dev/vmnet1 (background)                    done
   Host-only networking on /dev/vmnet8 (background)                    done
   NAT service on /dev/vmnet8                                          done
invoke-rc.d: initscript vmware-player, action "start" failed.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 vmware-player
E: Sub-process /usr/bin/dpkg returned an error code (1)
Anyone any ideas of a solution as i'm tired of going through the whole vmware-player install every time I use apt.

Last edited by Thingymebob; May 5th, 2007 at 06:33 PM..
Thingymebob is online now   Reply With Quote
Old April 28th, 2007   #2
zvacet
I Ubuntu, Therefore, I Am
 
Join Date: Mar 2006
Beans: 6,633
Re: Can't remove VMware-player

Code:
sudo apt-get remove --purge program_name
program_name =exact vmplayer name

if this don´t work delete vmplayer folder in etc
zvacet is offline   Reply With Quote
Old May 1st, 2007   #3
Thingymebob
Way Too Much Ubuntu
 
Thingymebob's Avatar
 
Join Date: Aug 2006
Location: 20,000 structs inside C
Beans: 316
Ubuntu 9.04 Jaunty Jackalope
Send a message via ICQ to Thingymebob Send a message via AIM to Thingymebob Send a message via MSN to Thingymebob Send a message via Yahoo to Thingymebob Send a message via Skype™ to Thingymebob
Re: Can't remove VMware-player

apt-get remove --purge fails in the same way as plain apt-get remove, haven't attempted deleting folder in etc yet although from KyleYankans response I'm guessing this isn't going to work either.
Thingymebob is online now   Reply With Quote
Old April 28th, 2007   #4
skillet
First Cup of Ubuntu
 
Join Date: Jul 2006
Beans: 11
Ubuntu 7.10 Gutsy Gibbon
Send a message via ICQ to skillet Send a message via AIM to skillet Send a message via MSN to skillet Send a message via Yahoo to skillet
Re: Can't remove VMware-player

I'm having the same problem... I've been reading about some uninstall script? but I cant find it anywhere on my system. its supposed to be in /usr/bin
skillet is offline   Reply With Quote
Old April 30th, 2007   #5
KyleYankan
5 Cups of Ubuntu
 
Join Date: Apr 2007
Beans: 23
Re: Can't remove VMware-player

I'm getting a similair error. I tried this:

Code:
kyle@Brandy:/$ sudo apt-get remove --purge vmware-player
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  vmware-player*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 32.1MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 159406 files and directories currently installed.)
Removing vmware-player ...
/etc/init.d/vmware-player: 175: vmware_product_name: not found
Warning: Unable to find 's main database /etc/vmware/locations.

invoke-rc.d: initscript vmware-player, action "stop" failed.
dpkg: error processing vmware-player (--purge):
 subprocess pre-removal script returned error exit status 1
/etc/init.d/vmware-player: 175: vmware_product_name: not found
Warning: Unable to find 's main database /etc/vmware/locations.

invoke-rc.d: initscript vmware-player, action "start" failed.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 vmware-player
E: Sub-process /usr/bin/dpkg returned an error code (1)
kyle@Brandy:/$ sudo apt-get remove --force --purge vmware-player
E: Command line option --force is not understood
Then removed /etc/vmware as root, ran the above command and got the same result.
KyleYankan is offline   Reply With Quote
Old May 1st, 2007   #6
Thingymebob
Way Too Much Ubuntu
 
Thingymebob's Avatar
 
Join Date: Aug 2006
Location: 20,000 structs inside C
Beans: 316
Ubuntu 9.04 Jaunty Jackalope
Send a message via ICQ to Thingymebob Send a message via AIM to Thingymebob Send a message via MSN to Thingymebob Send a message via Yahoo to Thingymebob Send a message via Skype™ to Thingymebob
Talking Re: Can't remove VMware-player

Should have tried this sooner, sorry everyone!
Reboot in single user (Recovery Mode)
Code:
apt-get remove vmware-player
and it disappears quite happily
Thingymebob is online now   Reply With Quote
Old May 15th, 2007   #7
speakman
First Cup of Ubuntu
 
Join Date: Apr 2007
Beans: 12
Re: Can't remove VMware-player

Or just:
Code:
sudo killall vmnet-natd
And then:
Code:
sudo apt-get remove --purge vmware-player
Did it for me...
speakman is offline   Reply With Quote
Old May 26th, 2007   #8
greew
5 Cups of Ubuntu
 
Join Date: Oct 2006
Beans: 29
Re: Can't remove VMware-player

Quote:
Originally Posted by speakman View Post
Or just:
Code:
sudo killall vmnet-natd
And then:
Code:
sudo apt-get remove --purge vmware-player
Did it for me...
Yeah.. this did the trick! Thanks a lot!
greew is offline   Reply With Quote
Old June 2nd, 2007   #9
codeslicer
A Carafe of Ubuntu
 
Join Date: Apr 2007
Beans: 82
Hardy Heron (Ubuntu Development)
Smile Re: Can't remove VMware-player

Quote:
Originally Posted by speakman View Post
Or just:
Code:
sudo killall vmnet-natd
And then:
Code:
sudo apt-get remove --purge vmware-player
Did it for me...
Thanks!
codeslicer is offline   Reply With Quote
Old June 13th, 2007   #10
skibum58
First Cup of Ubuntu
 
Join Date: Jun 2007
Beans: 6
Re: Can't remove VMware-player

Slightly off the thread point, I wanted to keep my functioning VMPlayer (ver. 1, from the Applications | Add/Remove menu). However, every time I wanted to install something else, it would trigger an attempted re-install of the player. I would decline every overwrite request, and the player kept funtioning (thank God), but it was a growing annoyance.

I found the solution at:
https://bugs.launchpad.net/ubuntu/+s...957/comments/8
and
https://bugs.launchpad.net/ubuntu/+s...yer/+bug/57957

I'm still pretty nooby, and it's not for the faint of heart, but it worked to solve my
"VMWare Player half installed state" problem. It involved finding and turning off the script which was triggering the installation routine.

It got that way because I botched a couple of VMPlayer installs, including ver. 1 and the ver.2 tarball from VMWare, before I got it working (hint - using the "Run from Terminal" option if you get Ver.1, when you're setting up your link to the executable, works for me.).

A similar approach may be necessary for other offending scripts which keep triggering whatever program is it that's running in Applications | Add/Remove (aptitude?).

Old Skibum
skibum58 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:32 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry