Skip to content

Conversation

@femdiya
Copy link
Contributor

@femdiya femdiya commented Dec 12, 2025

Problem

Bottles suggestion -when not finding a dependency- is to install the relevant packages via Flatpak. However, two problems remain with the current code (and the command flatpak install --user org.freedesktop.Platform.VulkanLayer.vkBasalt):

  1. Remote (as defined in Flatpak terminology) is not specified.
  2. When specified (via flatpak install --user flathub org.freedesktop.Platform.VulkanLayer.vkBasalt), Flatpak doesn't seem to find flathub at all.

Description

This PR fixes the suggestion given to the user to install dependencies via Flathub.
The only downside is the packages are system-wide installed. Wouldn't be too much of a worry for most users.

Fixes #4245

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

This PR only fixes installation command which guarantees positive console output. Outcome of the installation process isn't relevant to this PR.
Additionally, more documentation is needed for user in order to see what package choice should they make, see the output below:

Before PR:

❯ flatpak install --user org.freedesktop.Platform.VulkanLayer.vkBasalt
Looking for matches…
error: No remote refs found for ‘org.freedesktop.Platform.VulkanLayer.vkBasalt’

After PR:

❯ flatpak install flathub org.freedesktop.Platform.VulkanLayer.vkBasalt
Looking for matches…
Similar refs found for ‘org.freedesktop.Platform.VulkanLayer.vkBasalt’ in remote ‘flathub’ (system):

   1) runtime/org.freedesktop.Platform.VulkanLayer.vkBasalt/x86_64/21.08
   2) runtime/org.freedesktop.Platform.VulkanLayer.vkBasalt/x86_64/22.08
   3) runtime/org.freedesktop.Platform.VulkanLayer.vkBasalt/x86_64/23.08
   4) runtime/org.freedesktop.Platform.VulkanLayer.vkBasalt/x86_64/24.08
   5) runtime/org.freedesktop.Platform.VulkanLayer.vkBasalt/x86_64/25.08
   6) runtime/org.freedesktop.Platform.VulkanLayer.vkBasalt/x86_64/stable

Which do you want to use (0 to abort)? [0-6]:

@mirkobrombin mirkobrombin merged commit 3e7dc5a into bottlesdevs:main Dec 24, 2025
1 check passed
@mirkobrombin
Copy link
Member

Thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Wrong Flatpak install commands

2 participants