We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flatpak.packages does not handle multiple remotes capable of providing a package
pyinfra @local flatpak.packages org.libreoffice.LibreOffice -yvv
The following error is received:
--> Loading config... --> Loading inventory... --> Connecting to hosts... [@local] Connected --> Preparing operations... --> Preparing operation... [@local] Ready: packages --> Skipping change detection --> Beginning operation run... --> Starting operation: flatpak.packages (org.libreoffice.LibreOffice) [@local] >>> sh -c '! command -v flatpak >/dev/null || flatpak list --columns=application' [@local] Loaded fact flatpak.FlatpakPackages [@local] >>> sh -c 'flatpak install --noninteractive org.libreoffice.LibreOffice' [@local] Remotes found with refs similar to ‘org.libreoffice.LibreOffice’: [@local] [@local] 1) ‘fedora’ (system) [@local] 2) ‘flathub’ (system) [@local] [@local] Which do you want to use (0 to abort)? [0-2]: 0 [@local] error: No remote chosen to resolve matches for ‘org.libreoffice.LibreOffice’ [@local] Error: executed 0 commands --> Disconnecting from hosts... --> pyinfra error: No hosts remaining!
Pyinfra should select one of the remotes itself, prompt the user for it, or make the preferred remote an option on the flatpak.packages command.
uv
uvx pyinfra @local flatpak.packages org.libreoffice.LibreOffice -yvv
pyinfra --support
Platform: Linux-6.14.2-300.fc42.x86_64-x86_64-with-glibc2.41 Release: 6.14.2-300.fc42.x86_64 Machine: x86_64 pyinfra: v3.2 click: v8.1.8 distro: v1.9.0 gevent: v25.4.1 jinja2: v3.1.6 packaging: v25.0 paramiko: v3.5.1 python-dateutil: v2.9.0.post0 pywinrm: v0.5.0 setuptools: v79.0.0 typeguard: v4.4.2 typing-extensions: v4.13.2 Executable: /home/$MY_USERNAME/.local/bin/pyinfra Python: 3.13.3 (CPython, GCC 15.0.1 20250410 (Red Hat 15.0.1-0))
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
flatpak.packages does not handle multiple remotes capable of providing a package
To Reproduce
pyinfra @local flatpak.packages org.libreoffice.LibreOffice -yvv
The following error is received:
Expected behavior
Pyinfra should select one of the remotes itself, prompt the user for it, or make the preferred remote an option on the flatpak.packages command.
Meta
uv
(uvx pyinfra @local flatpak.packages org.libreoffice.LibreOffice -yvv
)pyinfra --support
.The text was updated successfully, but these errors were encountered: