Skip to content

[Bug]: Bottles incorrectly reports successful installation when a dependency fails to install #4820

Closed

Description

Describe the bug

When installing a dependency from the dependencies list, if the installation fails, Bottles still displays "dependency_name installed". Additionally, it moves the failed dependency to the bottom of the list, making it harder to locate. The app should instead inform the user of the failure.

To Reproduce

  1. Go to the dependencies of any bottle.
  2. Install a dependency that will fail (dotnet35 at the moment of writing this).

Package

Flatpak from Flathub

Distribution

Arch Linux

Debugging Information

Official Package: true
Version: '67.3'
DE/WM: gnome
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/share/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: null
        discrete: null
    Vulkan: true
Kernel:
    Type: Linux
    Version: 6.18.51-1-lts
Disk:
    Total: 8355123200
    Free: 8353607680
RAM:
    MemTotal: 15.6GiB
    MemAvailable: 11.8GiB
Bottles_envs: null

Troubleshooting Logs

Additional context

No response

Activity

  1. philipzae commented on Sep 30, 2026

    @philipzae

    Yes this is a major problem and bottles should do some type of check after running the installer file to confirm that the installation was successful, so its easy to catch failed installation when they are run, especially when the installers are run silently so users have some idea that the error happened.

  2. added a commit that references this issue on Oct 21, 2026
    fb05bab
  3. mirkobrombin commented on Oct 26, 2026

    @mirkobrombin
    Member

    A failed dependency installer now stops the installation and is no longer recorded as installed. This also applies when a prerequisite fails.

    Available in main and the latest cpak build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions