Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Bug]: Uninstall inbuilt installers not uninstalling

Open codevski opened this issue 1 year ago • 4 comments

Describe the bug

Fresh installs both flatpak and repository (AUR) install results with the same behaviour. Trying to uninstall a program (epic game store from the inbuilt installers for example) but fails to uninstall. journal shows the following

Sep 17 16:27:59 archlinux com.usebottles.bottles.desktop[75047]: 16:27:59 (INFO) Using Wine Uninstaller -- get_uuid Sep 17 16:27:59 archlinux com.usebottles.bottles.desktop[78666]: esync: up and running. Sep 17 16:27:59 archlinux com.usebottles.bottles.desktop[78666]: wine: RLIMIT_NICE is <= 20, unable to use setpriority safely Sep 17 16:27:59 archlinux com.usebottles.bottles.desktop[78668]: 002c:err:wineboot:process_run_key Error running cmd L"C:\windows\system32\winemenubuilder.exe -r" (2).

To Reproduce

  • Install bottles (either flatpak or AUR repo)
  • Create bottle (gaming)
  • Select installers
  • Select epic game store
  • After install click the 3 dots and hit uninstall
  • Disappears for a second but returns

journalctl -f shows the follwing:

Sep 17 16:27:59 archlinux com.usebottles.bottles.desktop[75047]: 16:27:59 (INFO) Using Wine Uninstaller -- get_uuid 
Sep 17 16:27:59 archlinux com.usebottles.bottles.desktop[78666]: esync: up and running.
Sep 17 16:27:59 archlinux com.usebottles.bottles.desktop[78666]: wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
Sep 17 16:27:59 archlinux com.usebottles.bottles.desktop[78668]: 002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -r" (2).

Package

Other, unofficial package

Distribution

Arch Linux

Troubleshooting Logs

Version: 2022.8.28-brescia-2
Display:
    X.org: true
    X.org (port): :1
    Wayland: false
Graphics:
    vendors:
        nvidia:
            vendor: nvidia
            envs:
                __NV_PRIME_RENDER_OFFLOAD: '1'
                __GLX_VENDOR_LIBRARY_NAME: nvidia
                __VK_LAYER_NV_optimus: NVIDIA_only
            icd: /usr/share/vulkan/icd.d/nvidia_icd.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 5.19.9-arch1-1
Distro:
    Name: Arch Linux
    Version: Unknown
Disk:
    Total: 1023671271424
    Free: 611022852096
RAM:
    MemTotal: 31.3GiB
    MemAvailable: 25.5GiB
Bottles_envs: null
Tools and Libraries:
    cabextract: true
    p7zip: true
    patool: true
    glibc_min: '2.36'
    icoextract: true
    pefile: true
    orjson: true
    markdown: true
    ImageMagick: true
    FVS: true
    xdpyinfo: true

Display Protocol

X11

Display Backend used by Bottles

X11

Additional context

Just to verify this I tried it both with flatpak flatpak install bottles and via AUR they both produce the same issue.

codevski avatar Sep 17 '22 06:09 codevski

This is beacuase epic was not installed. The uninstaller fails to remove it because the files doesn't exists. Merging with #129

mirkobrombin avatar Sep 17 '22 07:09 mirkobrombin

It's 100% installed I can still open it and use the product. I'll get a video up when I get a chance just working on side projects.

codevski avatar Sep 17 '22 08:09 codevski

@mirkobrombin Kooha-09-17-2022-19-33-24.webm

I'm fine if there is a clean manual way to uninstall applications as a workaround but if I can't uninstall these installers then I may have to just wait on a fix.

Host: Kernel: 5.19.9-arch1-1 DE: GNOME 42.4

Happy to give any more information / logs if required

codevski avatar Sep 17 '22 09:09 codevski

I misunderstood the issue

mirkobrombin avatar Sep 17 '22 09:09 mirkobrombin