Package should not install over existing tar installation

Bug #47538 reported by Patrice Vetsel
40
Affects Status Importance Assigned to Milestone
vmware-player (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Paramétrage de vmware-player (1.0.1-3) ...
Now configuring VMware Player. (This may take some time...)
Configuring a bridged network for vmnet0.

Configuring a NAT network for vmnet8.

Probing for an unused private subnet (this can take some time)...

The subnet 192.168.76.0/255.255.255.0 appears to be unused.

The file /etc/vmware/vmnet8/dhcpd/dhcpd.conf that this program was about to
install already exists. Overwrite? [yes]

The file /etc/vmware/vmnet8/dhcpd/dhcpd.leases that this program was about to
install already exists. Overwrite? [yes]

The file /etc/vmware/vmnet8/dhcpd/dhcpd.leases~ that this program was about to
install already exists. Overwrite? [yes]

The file /etc/vmware/vmnet8/nat/nat.conf that this program was about to install
already exists. Overwrite? [yes]

Configuring a host-only network for vmnet1.

Probing for an unused private subnet (this can take some time)...

The subnet 192.168.111.0/255.255.255.0 appears to be unused.

The file /etc/vmware/vmnet1/dhcpd/dhcpd.conf that this program was about to
install already exists. Overwrite? [yes]

The file /etc/vmware/vmnet1/dhcpd/dhcpd.leases that this program was about to
install already exists. Overwrite? [yes]

The file /etc/vmware/vmnet1/dhcpd/dhcpd.leases~ that this program was about to
install already exists. Overwrite? [yes]

Starting VMware services:
   Virtual machine monitor failed
   Virtual ethernet failed
Module vmnet is not loaded. Please verify that it is loaded before
running this script.

invoke-rc.d: initscript vmware-player, action "start" failed.
dpkg : erreur de traitement de vmware-player (--configure) :
 le sous-processus post-installation script a retourné une erreur de sortie d'état 1
Paramétrage de exiftran (2.01-1.4ubuntu1) ...
Des erreurs ont été rencontrées pendant l'exécution :
 vmware-player
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
ClemensBier (clemensbier) wrote :

I can confirm this bug.

I use the k7 kernel modules.

Revision history for this message
ClemensBier (clemensbier) wrote :

I resolved the issue for me (and hopefully for the others).

I had a standalone installation of the vmware-player already installed before. During my first installation with the ubuntu packages I tried to keep my old config files in /etc/vmware. Wiping the old configs and a fresh reinstall of the Ubuntu vmware-player package solves the problem.

Changed in vmware-player:
status: Unconfirmed → Confirmed
Revision history for this message
VMware Build Team (vmware-builds) wrote :

I've opened a bug in VMware's internal bug tracking system. There are several problems with installing the .deb packages over a previous tar installation. The VMwarePlayer deb should detect and deal with a previous tar install. I'll change he bug summary to reflect this.

Revision history for this message
Simon Schmidig (schmidig) wrote : Re: VMwarePlayer deb package doesn't handle installing over VMwarePlayer tar installation

I can confirm it. Kernel i686, K8

Revision history for this message
Danny Staple (danny-orionrobots) wrote :

I can confirm this on Dapper.

Revision history for this message
Andrew Clunis (orospakr) wrote :

This bug is *still* here, and it is now January 2007.

Revision history for this message
Andrew Clunis (orospakr) wrote :

I should note that this can occur if you install vmware-player and then add it back again, never having touched a vmware tarball on this machine.

Jay Camp (jayc)
Changed in vmware-player:
status: Confirmed → Fix Committed
Revision history for this message
Kyle Mathews (mathews-kyle) wrote :

I spent a few frustrated hours with this issue. What eventually fixed things for me is ClemensBier comment. I just removed everything under the /etc/vmware folder and reinstalled vmware-player and things worked perfectly.

Revision history for this message
Wrath (wrath-allofyoumustdie) wrote :

I had this same issue, still do sort of.

I did as said and delted the entire /etc/vmware folder, synaptic still showed vmware player, so I clicked reinstall and now I can at least add/remove programs without havingt o show the details terminal and without having to answer "y" to a series of questions, twice, before it works. Now I just get a pop up error about the dpkg file but that I can just click close and ignore it.

This problem really is annoying though.

Changed in vmware-player:
status: Fix Committed → Confirmed
Revision history for this message
Murray Cumming (murrayc) wrote :

Here's an English version of the installation error, for google:

murrayc@murrayc-laptop:~$ sudo apt-get install vmware-player
Reading package lists... Done
Building dependency tree
Reading state information... Done
vmware-player is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up vmware-player (1.0.2-2) ...
Now configuring VMware Player. (This may take some time...)
Configuring a bridged network for vmnet0.

Configuring a NAT network for vmnet8.

Probing for an unused private subnet (this can take some time)...

The subnet 172.16.188.0/255.255.255.0 appears to be unused.

The file /etc/vmware/vmnet8/dhcpd/dhcpd.conf that this program was about to
install already exists. Overwrite? [yes]

The file /etc/vmware/vmnet8/dhcpd/dhcpd.leases that this program was about to
install already exists. Overwrite? [yes]

The file /etc/vmware/vmnet8/dhcpd/dhcpd.leases~ that this program was about to
install already exists. Overwrite? [yes]

The file /etc/vmware/vmnet8/nat/nat.conf that this program was about to install
already exists. Overwrite? [yes]

Configuring a host-only network for vmnet1.

Probing for an unused private subnet (this can take some time)...

The subnet 192.168.229.0/255.255.255.0 appears to be unused.

The file /etc/vmware/vmnet1/dhcpd/dhcpd.conf that this program was about to
install already exists. Overwrite? [yes]

The file /etc/vmware/vmnet1/dhcpd/dhcpd.leases that this program was about to
install already exists. Overwrite? [yes]

The file /etc/vmware/vmnet1/dhcpd/dhcpd.leases~ that this program was about to
install already exists. Overwrite? [yes]

Starting VMware services:
   Virtual machine monitor done
   Virtual ethernet done
VMware Player is installed, but it has not been (correctly) configured
for the running kernel. To (re-)configure it, invoke the
following command: /usr/bin/vmware-config.pl.

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)
murrayc@murrayc-laptop:~$

Revision history for this message
Xtreme (vamshi2508) wrote :

common nobody has the solution to this problem ???

Revision history for this message
Jazz (ydeg71) wrote :

After much cursing, I'm slowly making progress while trying to install this sucker. Removing everything in the /etc/vmware dir seemed to just mess things up for Adept. Plus, it didn't work here, so I don't recommend it.

Here's my recipe so far:

1) Using the Adept Manager, install the vmware-player-kernel-modules package to match your kernel's release and build (in my case, these were version 2.6.17-12).¹ If you get stuck with Adept Manager to the point where it doesn't let you install stuff, enter "dpkg --configure -a" in your terminal.² ³

2) Possibly unneeded, issue a "dpkg --configure -a"² ³.

3) Load some needed kernel modules by issuing these commands²:
modprobe vmmon
modprobe vmnet
modprobe bridge

4) Install or reinstall the vmware-player package issuing: "apt-get install vmware-player"². Answer "yes" (or just press Return) to all questions.

These are the results on my machine:

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

As you see, there are still errors (namely on bridged networking and NAT) but I still don't know if they affect services that I need. The program starts OK, I haven't tried to load any VM so far. Will keep you posted if I encounter more problems.

Notes:

¹ To find out your kernel's release/build numbers, issue "uname -a" in your terminal.
² All terminal commands given here must be issued as root.
³ Ignore the errors returned here, if any.

Revision history for this message
kubuntu_user (anibalmorales) wrote :

Followed instructions by Jazz above. It works, and I played some virtual machines. Clearly there something very broken with this package. Please fix!!!

On another subject, each time I run it, it tells me of a newer version and requests to go to their website. I will
wait for the new .deb package. Can I disable this message?

Revision history for this message
Phillip Susi (psusi) wrote :

This package has been removed from Ubuntu. Closing all related bugs.

Changed in vmware-player (Ubuntu):
status: Confirmed → Invalid
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.