Skip to content

Installation from sideloaded source fails #4361

@MichaelTrip

Description

@MichaelTrip

Linux distribution and version

  • Source machine when creating the flatpak create-usb is Fedora 34.
  • Target machine when installing the flatpak: RHEL 8.4

Flatpak version

  • Source machine: 1.10.2
  • Target machine: 1.8.5

Description of the problem

Note: The target computer is in a offline environment.

When i try to install a flatpak from a sideloaded usb drive by running:

flatpak install --sideload-repo=/run/media/usbstick/flatpaks/.ostree/repo flathub de.ifw_dresden.nagstamon
Looking for remotes
error: No remote refs found simular to 'flathub'

Steps to reproduce

  • Create usb for sideloaded apps: flatpak create-usb /run/media/usbstick/flatpaks
  • Install the flatpak on the target computer which is offline by using: flatpak install --sideload-repo=/run/media/usbstick/flatpaks/.ostree/repo flathub de.ifw_dresden.nagstamon
  • See error message above.

Questions:

Should i install the remote flathub before trying to install from a sideloaded usb stick? I already tried to install the flathub.flatpakrepo file but that didn't work as it was searching for the gpg key and the computer doesn't have a internet connection.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions