VMware Workstation Missing after failed update

Ok, first of all to get started....

[[email protected] Documents]$ inxi -Faz
System:
  Kernel: 5.15.87-1-lts arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
    root=UUID=486c73c2-5563-4c69-9874-e2de0a74f848 rw [email protected]
    quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    systemd.unified_cgroup_hierarchy=1
    resume=UUID=f029951c-d709-4801-85a6-60d222f980bc loglevel=3 ibt=off
  Desktop: Xfce v: 4.18.0 tk: Gtk v: 3.24.35 info: xfce4-panel wm: xfwm
    v: 4.18.0 vt: 7 dm: LightDM v: 1.32.0 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME B250M-C v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 0404
    date: 12/28/2016
CPU:
  Info: model: Intel Core i3-7100 bits: 64 type: MT MCP arch: Kaby Lake
    gen: core 7 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 9 microcode: 0xF0
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
    L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
    L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 3796 high: 3900 min/max: 800/3900 scaling:
    driver: intel_pstate governor: performance cores: 1: 3720 2: 3900 3: 3900
    4: 3665 bogomips: 31199
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel HD Graphics 630 vendor: ASUSTeK driver: i915 v: kernel
    arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: HDMI-A-3
    empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:5912
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.6 compositor: xfwm v: 4.18.0 driver: X:
    loaded: intel unloaded: modesetting alternate: fbdev,vesa dri: i965
    gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: HDMI-A-3 mapped: HDMI3 model: Acer G247HYL serial: <filter>
    built: 2016 res: 1920x1080 hz: 60 dpi: 92 gamma: 1.2
    size: 530x300mm (20.87x11.81") diag: 604mm (23.8") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  API: OpenGL Message: Unable to show GL data. Required tool glxinfo
    missing.
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a2f0
    class-ID: 0403
  Sound API: ALSA v: k5.15.87-1-lts running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.64 running: yes
Network:
  Device-1: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15b8 class-ID: 0200
  IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel 82571EB/82571GB Gigabit Ethernet D0/D1
    vendor: Hewlett-Packard NC360T Dual Port Server driver: e1000e v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 4 port: e020 bus-ID: 01:00.0
    chip-ID: 8086:105e class-ID: 0200
  IF: enp1s0f0 state: down mac: <filter>
  Device-3: Intel 82571EB/82571GB Gigabit Ethernet D0/D1
    vendor: Hewlett-Packard NC360T Dual Port Server driver: e1000e v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 4 port: e000 bus-ID: 01:00.1
    chip-ID: 8086:105e class-ID: 0200
  IF: enp1s0f1 state: down mac: <filter>
Drives:
  Local Storage: total: 2.27 TiB used: 1.76 TiB (77.2%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: HD501LJ
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 1.5 Gb/s
    type: N/A serial: <filter> rev: 0-12 scheme: MBR
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD10EARS-00Y5B1 size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 3.0 Gb/s type: N/A serial: <filter> rev: 0A80
    scheme: MBR
  ID-3: /dev/sdc maj-min: 8:32 type: USB vendor: Western Digital
    model: WD10JPLX-00MBPT0 size: 931.51 GiB block-size: physical: 4096 B
    logical: 512 B type: HDD rpm: 7200 serial: <filter> scheme: MBR
Partition:
  ID-1: / raw-size: 396.9 GiB size: 396.9 GiB (100.00%)
    used: 367.03 GiB (92.5%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 584 KiB (0.1%) fs: vfat dev: /dev/sda3 maj-min: 8:3
  ID-3: /home raw-size: 396.9 GiB size: 396.9 GiB (100.00%)
    used: 367.03 GiB (92.5%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 396.9 GiB size: 396.9 GiB (100.00%)
    used: 367.03 GiB (92.5%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 396.9 GiB size: 396.9 GiB (100.00%)
    used: 367.03 GiB (92.5%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 23.36 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 68.36 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sda1 maj-min: 8:1
Sensors:
  System Temperatures: cpu: 42.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 306 Uptime: 1h 41m wakeups: 0 Memory: 23.36 GiB
  used: 7.83 GiB (33.5%) Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: 1920
  pm: pacman pkgs: 1918 libs: 412 tools: pamac,paru,trizen,yay pm: flatpak
  pkgs: 2 Shell: Bash v: 5.1.16 running-in: xfce4-terminal inxi: 3.3.24
[[email protected] Documents]$ 

So this is what my problem is...about 2 weeks ago I did your typical daily updates. During one of the update sessions, it got stuck then right after I had a power outage. It was updating VMware Workstation 17 on my system (which was the last update it sat on while it was stuck). Now I go to use VMware Workstation and I notice that for some reason, it got stripped off my system. I figured it would be ok, so I try to reinstall it and I get this...

[[email protected] ~]$ cd Documents
[[email protected] Documents]$ chmod +x VMware*.bundle
[[email protected] Documents]$ sudo ./VMware*.bundle
[sudo] password for fenris:         
Extracting VMware Installer...done.
An unknown error occurred during installation.  Please check the
installation log at /var/log/vmware-installer for more information.

If anyone wants to know what the log looks like, here it is...

[2023-01-15 00:12:40,725] 
[2023-01-15 00:12:40,733] 
[2023-01-15 00:12:40,733] Installer running.
[2023-01-15 00:12:40,733] Command Line Arguments:
[2023-01-15 00:12:40,733] ['/tmp/vmis.8y1Bi4/install/vmware-installer/vmware-installer.py', '--set-setting', 'vmware-installer', 'libconf', '', '--install-component', '/tmp/vmis.8y1Bi4/install/vmware-installer', '--install-bundle', '/home/fenris/Documents/./VMware-Workstation-Full-17.0.0-20800274.x86_64.bundle', '']
[2023-01-15 00:12:40,764] System installer version is: 3.1.0.20800274
[2023-01-15 00:12:40,764] Running installer version is: 3.1.0.20800274
[2023-01-15 00:12:40,764] Opening database file /etc/vmware-installer/database
[2023-01-15 00:12:40,931] Uncaught exception in installer:
Traceback (most recent call last):
  File "/tmp/vmis.8y1Bi4/install/vmware-installer/vmware-installer.py", line 694, in <module>
    main(options)
  File "/tmp/vmis.8y1Bi4/install/vmware-installer/vmware-installer.py", line 536, in main
    txn.Install(options.installComponent,
  File "/tmp/vmis.8y1Bi4/install/vmware-installer/vmis/core/transaction.py", line 610, in Install
    resolveResults = Resolve(common.repository.available, common.repository.installed, [], db.database)
  File "/tmp/vmis.8y1Bi4/install/vmware-installer/vmis/core/dependency.py", line 1421, in Resolve
    positiveGraph.constructLinks(installed)
  File "/tmp/vmis.8y1Bi4/install/vmware-installer/vmis/core/dependency.py", line 367, in constructLinks
    for dependency in node.component.dependencies:
  File "/tmp/vmis.8y1Bi4/install/vmware-installer/vmis/core/component.py", line 489, in _getDependencies
    deps = db.database.components.GetDependencies(self._uid)
  File "/tmp/vmis.8y1Bi4/install/vmware-installer/vmis/db.py", line 706, in GetDependencies
    cur = self._db.execute('SELECT dependency FROM component_dependencies WHERE component_id=?',
  File "/tmp/vmis.8y1Bi4/install/vmware-installer/vmis/db.py", line 233, in execute
    return self._db.execute(query, args)
sqlite3.OperationalError: no such table: component_dependencies

I have no idea how to fix this, so I figured before I do anything to make this problem worse, I will come on here looking for some assistance.

Thank you!

Where did you install vmware-workstation from (AUR package?), and how? Also, how are you updating the system?
This should be done with:

garuda-update 

Or if you use AUR packages:

garuda-update -a

Maybe try reinstalling with:

paru wmware-workstation 

And keep it up to date as above.
PS:
We use garuda-inxi instead of inxi -Faz or the like

4 Likes

Well, most of the time I get my updates with that add/remove software program, it pops up a shield in my system tray when updates are ready. This is what I was doing when the update manager crashed on me. Sometimes I open up a terminal window and do sudo pacman -Syu

How I installed it was just download VMware Workstation 17 from VMware's site, just get the bundle file and then I followed these instructions....

They worked before when I first installed Garuda when version 15 was out. Also the paru command wont let me reinstall it, it just shows me endless screens of source code, then it won't do anything so you got to break out of it :slightly_frowning_face:

After the paru command you are provided with a preview of the PKGBUILD. Exit with button q and confirm installation.

3 Likes

Do not use add/remove software (pamac) use only the teminal,
a Garuda Linux Tool makes your life easier, just type

update

(or garuda-update) in terminal. Or make an alias. :smiley:

Check for more comfort

BTW, it's in chaotic-aur, and AUR

2 Likes

It looks like you have installed vmware manually. Don't do this. Updates will constantly break it.

You need to first uninstall the manual vmware you installed and then install vmware-workstation from the AUR. That uses a dkms module that won't be constantly broken when you update the system.

2 Likes

After the paru command you are provided with a preview of the PKGBUILD. Exit with button q and confirm installation.

This is what I get....

:: Proceed with installation? [Y/n]: 
fetching devel info...
==> Making package: vmware-workstation 17.0.0-3 (Sun 15 Jan 2023 07:53:17 AM)
==> Retrieving sources...
  -> Downloading VMware-Workstation-Full-17.0.0-20800274.x86_64.bundle...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  513M  100  513M    0     0   603k      0  0:14:32  0:14:32 --:--:--  593k
  -> Found vmware-bootstrap
  -> Found vmware-vix-bootstrap
  -> Found config
  -> Found configure-initscript.sh
  -> Found vmware-environment.sh
  -> Found vmware-networks-configuration.service
  -> Found vmware-networks.service
  -> Found vmware-usbarbitrator.service
  -> Found vmware-networks.path
  -> Found vmware-usbarbitrator.path
  -> Found dkms.conf.in
  -> Found Makefile
  -> Found vmmon.patch
  -> Found vmnet.patch
==> Validating source files with sha256sums...
    VMware-Workstation-Full-17.0.0-20800274.x86_64.bundle ... Passed
    vmware-bootstrap ... Passed
    vmware-vix-bootstrap ... Passed
    config ... Passed
    configure-initscript.sh ... Passed
    vmware-environment.sh ... Passed
    vmware-networks-configuration.service ... Passed
    vmware-networks.service ... Passed
    vmware-usbarbitrator.service ... Passed
    vmware-networks.path ... Passed
    vmware-usbarbitrator.path ... Passed
    dkms.conf.in ... Passed
    Makefile ... Passed
    vmmon.patch ... Passed
    vmnet.patch ... Passed
==> Making package: vmware-workstation 17.0.0-3 (Sun 15 Jan 2023 08:07:51 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found VMware-Workstation-Full-17.0.0-20800274.x86_64.bundle
  -> Found vmware-bootstrap
  -> Found vmware-vix-bootstrap
  -> Found config
  -> Found configure-initscript.sh
  -> Found vmware-environment.sh
  -> Found vmware-networks-configuration.service
  -> Found vmware-networks.service
  -> Found vmware-usbarbitrator.service
  -> Found vmware-networks.path
  -> Found vmware-usbarbitrator.path
  -> Found dkms.conf.in
  -> Found Makefile
  -> Found vmmon.patch
  -> Found vmnet.patch
==> Validating source files with sha256sums...
    VMware-Workstation-Full-17.0.0-20800274.x86_64.bundle ... Passed
    vmware-bootstrap ... Passed
    vmware-vix-bootstrap ... Passed
    config ... Passed
    configure-initscript.sh ... Passed
    vmware-environment.sh ... Passed
    vmware-networks-configuration.service ... Passed
    vmware-networks.service ... Passed
    vmware-usbarbitrator.service ... Passed
    vmware-networks.path ... Passed
    vmware-usbarbitrator.path ... Passed
    dkms.conf.in ... Passed
    Makefile ... Passed
    vmmon.patch ... Passed
    vmnet.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Starting prepare()...
Extracting VMware Installer...done.
==> Sources are ready.
vmware-workstation-17.0.0-3: parsing pkg list...
==> Making package: vmware-workstation 17.0.0-3 (Sun 15 Jan 2023 08:10:43 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Entering fakeroot environment...
==> Starting package()...
==> Patching vmmon module for DKMS
patching file Makefile
==> Patching vmnet module for DKMS
patching file Makefile
patching file vnet.h
patching file vnetEvent.c
patching file vnetUserListener.c
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "vmware-workstation"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
error: could not open file /var/lib/pacman/local/vmware-workstation-17.0.0-3/desc: No such file or directory
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: vmware-workstation 17.0.0-3 (Sun 15 Jan 2023 08:11:36 AM)
==> Cleaning up...
[sudo] password for fenris:         
loading packages...
warning: vmware-workstation-17.0.0-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
error: could not open file /var/lib/pacman/local/vmware-workstation-17.0.0-3/desc: No such file or directory
warning: could not fully load metadata for package vmware-workstation-17.0.0-3
error: failed to prepare transaction (invalid or corrupted package)
[[email protected] Documents]$ 

It looks like you have installed vmware manually. Don't do this. Updates will constantly break it.

You need to first uninstall the manual vmware you installed and then install vmware-workstation from the AUR. That uses a dkms module that won't be constantly broken when you update the system.

How would I do this?

The vmware bundle you downloaded has a remove or uninstall flag. Check by running it with --help.

Once it is fully removed, you can use paru -S vmware-workstation then manually load the kernel modules or just reboot.

Did you install the AUR package and then run the manual install over the top of it? That is probably a mess.

Once it is fully removed, you can use paru -S vmware-workstation then manually load the kernel modules or just reboot.

This is what I get after doing sudo pacman -Rs vmware-workstation

vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xml/dom/__init__.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xml/dom/domreg.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xml/dom/expatbuilder.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xml/dom/minicompat.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xml/dom/minidom.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xml/dom/pulldom.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xml/dom/xmlbuilder.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xml/etree/ElementInclude.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xml/etree/ElementPath.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xml/etree/ElementTree.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xml/etree/__init__.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xml/etree/cElementTree.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xml/parsers/__init__.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xml/parsers/expat.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xml/sax/__init__.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xml/sax/_exceptions.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xml/sax/expatreader.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xml/sax/handler.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xml/sax/saxutils.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xml/sax/xmlreader.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xmlrpc/__init__.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xmlrpc/client.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/xmlrpc/server.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/zipapp.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/zipfile.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/zipimport.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/zoneinfo/__init__.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/zoneinfo/_common.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/zoneinfo/_tzpath.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/lib/zoneinfo/_zoneinfo.py exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/python/libpython3.10.so.1.0 exists in filesystem
vmware-workstation: /usr/lib/vmware-installer/3.1.0/sopython/libpy310.so exists in filesystem
Errors occurred, no packages were upgraded.
[[email protected] Documents]$ 

That looks like you didn't fully uninstall it.

I'm having trouble getting rid of it

Did you uninstall using the bundle file you downloaded from vmware?

I can't seem to get rid of it, I don't know how to do that

Did you try what I described above?

I have been showing you what I have been doing every step of the way, so yes

Well, I don't see where you ran the uninstall by using the downloaded vmware bundle.....

1 Like

I can't seem to access any commands with the bundle file, I tried sudo pacman -R, which got rid of most. Then I tried the vmware-uninstall which is not there. So --help is not so helpful

Do you have a vmware bundle file in your downloads?

yes I do, and in all honestly, I'm beginning to wonder if I even installed vmware workstation in that manner to begin with. Maybe I might have installed it another way and forgot