VMware Communities
xdev4556
Contributor
Contributor

How the remove the vmware packages provided by debian.org properly to install them from "linux.iso" ??

i installed them from the debian.org apt source, then i realized that i need to mount linux.iso into the virtual cdrom...

then i installed the debian.org vmware package by "apt-get purge .." and then i re-installed the ones distributed by vmware as described here: VMware Tools in Debian installieren – Thomas-Krenn-Wiki

mount /dev/cdrom /mnt

cp /mnt/VMwareTools-[MY_VERSION].tar.gz /root/

cd /root/

tar xzf VMwareTools-[MY_VERSION].tar.gz

cd vmware-tools-distrib/

./vmware-install.pl -d

Result: Doesn't work... many modues are still existing (vhci, vmnet etc. pp) - which is a lil bit crappy i they don't will be removed by "apt-get purge ... " (and after that also: "apt-get autoremove --purge"

And a service (something like vmware-guestd"..?!??!) is also not running, "ps aux | grep vmware" does only show the grepped entry from "ps" itself - so not REAL vmware process.

So, now the major question:

How to clean / reset ALL (SIMILAR to a freshly installed Debian 9!!), including all that modules vmnet, vmci, whatever?!?


Or maybe it's better to re-install Debian 9 completely fresh to avoid an inconsistent system state. (i do not really trust about that thing!!)

Log here:

user1@debian-parkplatz:~$ su -

Passwort:

root@debian-parkplatz:~# cd vmware-tools/vmware-tools-distrib

root@debian-parkplatz:~/vmware-tools/vmware-tools-distrib# ./vmware-install.pl -d

The installer has detected an existing installation of open-vm-tools packages

on this system and will not attempt to remove and replace these user-space

applications. It is recommended to use the open-vm-tools packages provided by

the operating system. If you do not want to use the existing installation of

open-vm-tools packages and use VMware Tools, you must uninstall the

open-vm-tools packages and re-run this installer.

The packages that need to be removed are:

open-vm-tools

Packages must be removed with the --purge option.

The installer will next check if there are any missing kernel drivers. Type yes

if you want to do this, otherwise type no [yes]

INPUT: [yes]  default

Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

In which directory do you want to install the binary files?

[/usr/bin]

INPUT: [/usr/bin]  default

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?

[/etc]

INPUT: [/etc]  default

What is the directory that contains the init scripts?

[/etc/init.d]

INPUT: [/etc/init.d]  default

In which directory do you want to install the daemon files?

[/usr/sbin]

INPUT: [/usr/sbin]  default

In which directory do you want to install the library files?

[/usr/lib/vmware-tools]

INPUT: [/usr/lib/vmware-tools]  default

The path "/usr/lib/vmware-tools" does not exist currently. This program is

going to create it, including needed parent directories. Is this what you want?

[yes]

INPUT: [yes]  default

In which directory do you want to install the documentation files?

[/usr/share/doc/vmware-tools]

INPUT: [/usr/share/doc/vmware-tools]  default

The path "/usr/share/doc/vmware-tools" does not exist currently. This program

is going to create it, including needed parent directories. Is this what you

want? [yes]

INPUT: [yes]  default

The installation of VMware Tools 10.3.21 build-14772444 for Linux completed

successfully. You can decide to remove this software from your system at any

time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by

invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want

this program to invoke the command for you now? [yes]

INPUT: [yes]  default

You have chosen to install VMware Tools on top of an open-vm-tools package. 

You will now be given the option to replace some commands provided by

open-vm-tools.  Please note that if you replace any commands at this time and

later remove VMware Tools, it may be necessary to re-install the open-vm-tools.

WARNING:  It appears your system is missing the required /usr/bin/vmhgfs-fuse

Initializing...

Making sure services for VMware Tools are stopped.

Stopping VMware Tools services in the virtual machine:

   VMware User Agent (vmware-user):                                    done

   Unmounting HGFS shares:                                             done

   Guest filesystem driver:                                            done

The module vmci has already been installed on this system by another installer

or package and will not be modified by this installer.

The module vsock has already been installed on this system by another installer

or package and will not be modified by this installer.

The module vmxnet3 has already been installed on this system by another

installer or package and will not be modified by this installer.

The module pvscsi has already been installed on this system by another

installer or package and will not be modified by this installer.

The module vmmemctl has already been installed on this system by another

installer or package and will not be modified by this installer.

The VMware Host-Guest Filesystem allows for shared folders between the host OS

and the guest OS in a Fusion or Workstation virtual environment.  Do you wish

to enable this feature? [yes]

INPUT: [yes]  default

The vmxnet driver is no longer supported on kernels 3.3 and greater. Please

upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)

Skipping configuring automatic kernel modules as no drivers were installed by

this installer.

Skipping rebuilding initrd boot image for kernel as no drivers to be included

in boot image were installed by this installer.

The configuration of VMware Tools 10.3.21 build-14772444 for Linux for this

running kernel completed successfully.

Enjoy,

--the VMware team

root@debian-parkplatz:~/vmware-tools/vmware-tools-distrib# service vmware guestd status

vmware: unrecognized service

root@debian-parkplatz:~/vmware-tools/vmware-tools-distrib# service vmware-guestd guestd status

vmware-guestd: unrecognized service

root@debian-parkplatz:~/vmware-tools/vmware-tools-distrib# /etc/vmware-tools

-su: /etc/vmware-tools: Ist ein Verzeichnis

root@debian-parkplatz:~/vmware-tools/vmware-tools-distrib# cd /etc/vmware-tools

root@debian-parkplatz:/etc/vmware-tools# /etc/init.d/vmware stop

-su: /etc/init.d/vmware: Datei oder Verzeichnis nicht gefunden

root@debian-parkplatz:/etc/vmware-tools# ls

config       poweroff-vm-default  vgauth

guestproxy-ssl.conf   poweron-vm-default   vgauth.conf

icu       resume-vm-default    vm-support

installer.sh       scripts    vmware-tools-libraries.conf

locations       statechange.subr    vmware-tools-prelink.conf

manifest.txt       suspend-vm-default   vmware-user.desktop

manifest.txt.shipped  tools.conf

plugins       tools.conf.old


Regards, Jan

Jan
0 Kudos
17 Replies
xdev4556
Contributor
Contributor

Is there a solution for my issue or not??

Regards

Jan
0 Kudos
scott28tt
VMware Employee
VMware Employee

Moderator: You only posted this question in the last couple of hours - this is a community support forum which depends on other users seeing your thread and being able to help.


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos
xdev4556
Contributor
Contributor

OK, then a Linux reinstallation my be the faster way... or do you now a solution, coincidentally? 😉

Regards

Jan
0 Kudos
xdev4556
Contributor
Contributor

Does nobody know something about that issue?

Jan
0 Kudos
continuum
Immortal
Immortal

Have you tried

apt-get purge open-vmware-tools

make sure you specify the correct name of the package ...


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
xdev4556
Contributor
Contributor

`apt-get purge open-vmware-tools

Paketlisten werden gelesen... Fertig

Abhängigkeitsbaum wird aufgebaut.

Statusinformationen werden eingelesen.... Fertig

E: Paket open-vmware-tools kann nicht gefunden werden.

root@debian-parkplatz:~#`

...so it's already uninstalled, but not in a proper way - and i already tried to install the "original" vmware tools - but then i get the differernt error message from the text above. vmci, vmnet whatever modules. the y will not be unistalled properly, because of that i have the conflict / inconsistency when i try to re-install with original vmware package.

So problem is still unsolved.

Jan
0 Kudos
continuum
Immortal
Immortal

You did not check the correct name !!!

I looked it up and the package is called open-vm-tools


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
xdev4556
Contributor
Contributor

Nothing to uninstall:

root@debian-parkplatz:~# apt-get purge open-vm-tools

Paketlisten werden gelesen... Fertig

Abhängigkeitsbaum wird aufgebaut.

Statusinformationen werden eingelesen.... Fertig

Die folgenden Pakete werden ENTFERNT:

  open-vm-tools*

0 aktualisiert, 0 neu installiert, 1 zu entfernen und 0 nicht aktualisiert.

Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.

Möchten Sie fortfahren? [J/n] j

(Lese Datenbank ... 161914 Dateien und Verzeichnisse sind derzeit installiert.)

Löschen der Konfigurationsdateien von open-vm-tools (2:10.1.5-5055683-4+deb9u2) ...

dpkg: Warnung: Während Entfernens von open-vm-tools ist Verzeichnis »/etc/vmware-tools« nicht leer, wird daher nicht gelöscht

Trigger für systemd (232-25+deb9u12) werden verarbeitet ...

root@debian-parkplatz:~#

Jan
0 Kudos
RobMuller
Contributor
Contributor

try

sudo apt-get purge open-vm-tools

0 Kudos
xdev4556
Contributor
Contributor

im root. always.

Jan
0 Kudos
RobMuller
Contributor
Contributor

Jan,

in that case try to install/reinstall, and ppurge afterwards.

the previous uninstall may have left some artifacts

apt-get reinstall open-vm-tools

apt-get purge open-vm-tools

hope this helps,

Rob

0 Kudos
xdev4556
Contributor
Contributor

ok thx, will look about it.

Jan
0 Kudos
xdev4556
Contributor
Contributor

"apt-get reinstall ... "

-> `reinstall` does not exist, it says me "Ungültige Option reinstall" which means "Invalid Option reinstall" ...

Jan
0 Kudos
xdev4556
Contributor
Contributor

Conclusion:

Maybe it's better to avoid the vmware tools (whatever which version, the original from vmware installation or the "alternative" from linux os apt servers... especially if you use it as a server with SSH.

Not-using is sometimes also a solution! 😉

Jan
0 Kudos
RobMuller
Contributor
Contributor

Jan,

how quaint.

on mu system:

pi@RPi-Rob-usb:~ $ apt-get --help

apt 1.8.2.1 (armhf)

Usage: apt-get [options] command

       apt-get [options] install|remove pkg1 [pkg2 ...]

       apt-get [options] source pkg1 [pkg2 ...]

apt-get is a command line interface for retrieval of packages

and information about them from authenticated sources and

for installation, upgrade and removal of packages together

with their dependencies.

Most used commands:

  update - Retrieve new lists of packages

  upgrade - Perform an upgrade

  install - Install new packages (pkg is libc6 not libc6.deb)

  reinstall - Reinstall packages (pkg is libc6 not libc6.deb)

  remove - Remove packages

  purge - Remove packages and config files

  autoremove - Remove automatically all unused packages

  dist-upgrade - Distribution upgrade, see apt-get(8)

  dselect-upgrade - Follow dselect selections

  build-dep - Configure build-dependencies for source packages

  clean - Erase downloaded archive files

  autoclean - Erase old downloaded archive files

  check - Verify that there are no broken dependencies

  source - Download source archives

  download - Download the binary package into the current directory

  changelog - Download and display the changelog for the given package

See apt-get(8) for more information about the available commands.

Configuration options and syntax is detailed in apt.conf(5).

Information about how to configure sources can be found in sources.list(5).

Package and version choices can be expressed via apt_preferences(5).

Security details are available in apt-secure(8).

                                        This APT has Super Cow Powers.

regards,

Rob

0 Kudos
xdev4556
Contributor
Contributor

i use debian 9

Jan
0 Kudos
xdev4556
Contributor
Contributor

Problem seems to be too complex for that forum, right...?

Jan
0 Kudos