[Error] flatpak binded inside distrobox even if flatpak non instaled on host
- Dominant language
- Go
- Stars
- 13k
- Forks
- 541
- Avg merge
- 20h 47m
- Merged PRs (30d)
- 4
Description
Hi developper,
**Describe the bug**
Inside my archbox, need to install flatpak (builddeps for AUR geforcenow-native)
```[davius@Debian davius]$ yay -S flatpak
Sync Explicit (1): flatpak-1:1.16.3-1
résolution des dépendances…
recherche des conflits entre paquets…
Paquet (4) Nouvelle version Changement net
extra/composefs 1.0.8-1 0,15 MiB
extra/libmalcontent 0.13.1-1 0,20 MiB
extra/ostree 2025.7-3 4,37 MiB
extra/flatpak 1:1.16.3-1 7,45 MiB
Taille totale installée : 12,16 MiB
:: Procéder à l’installation ? [O/n]
(4/4) vérification des clés dans le trousseau [######################################################] 100%
(4/4) vérification de l’intégrité des paquets [######################################################] 100%
(4/4) chargement des fichiers des paquets [######################################################] 100%
(4/4) analyse des conflits entre fichiers [######################################################] 100%
erreur : la validation de la transaction a échoué (conflit de fichiers )
flatpak : /usr/bin/flatpak est déjà présent dans le système de fichiers
Des erreurs se sont produites, aucun paquet n’a été mis à jour.
-> error installing repo packages
```
on my debian host :
```davius@Debian:~$ whereis flatpak
flatpak:
[davius@Debian davius]$ whereis flatpak
flatpak: /usr/bin/flatpak
[davius@Debian davius]$ flatpak --version
```
**To Reproduce**
- Create archbox
- Try to install flatpak
- Says that flatpak exists in /usr/bin/flatpak
- But no flatpak on host or box
- Cannot install flatpak as builddeps
**Expected behavior**
- I should install flatpak inside my distrobox, flatpak doesn't have to be bind from outside
**Desktop (please complete the following information):**
- Are you using podman, docker or lilipod?
podman
- Which version or podman, docker or lilipod?
podman version 5.4.2
- Which version of distrobox?
distrobox: 1.8.2.4
- Which host distribution?
Debian 13 Stable
- How did you install distrobox?
Pacstall : https://github.com/pacstall/pacstall-programs/blob/master/packages/distrobox/distrobox.pacscript
**Additional context**
- Manually rm /usr/bin/flatpak and AUR package was installed (geforcenow wasn't working because internet connexion problems due to flatpak inside distrobox without systemd ?)
- Closing the box and reopenit : flatpak still here and the app still launching
- Removed the AUR package : the flatpak was uninstalled. flatpak binary was removed.
- Relaunching the box : the bind /usr/bin/flatpak come back
Contributor guide
Assessment
This issue has not been assessed yet.