Skip to content
New issue

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

offline mode #92

Closed
dezren39 opened this issue Nov 3, 2024 · 2 comments
Closed

offline mode #92

dezren39 opened this issue Nov 3, 2024 · 2 comments

Comments

@dezren39
Copy link

dezren39 commented Nov 3, 2024

hi!

i realized that when i tried to rebuild in offline mode this module fails. i had thought it was because i have updateOnActivation, but i see now that even just having the module imported causes failure. i wish there was a good way to allow rebuild during offline. (i declaratively manage my wireless, i need to build in order to get wifi usually. i can scan and set it up imperatively but i would rather not.) my thought is that it should definitely fail if you are trying to install a new flatpak. i would think it would be nice to also have an update option for allowing skipping update onActivation when offline. (not sure if it's better to default to failing or skipping update, i just think it makes sense to be an option either way.)

@dezren39
Copy link
Author

dezren39 commented Nov 3, 2024

warning: the following units failed: flatpak-managed-install.service
× flatpak-managed-install.service
     Loaded: loaded (/etc/systemd/system/flatpak-managed-install.service; enabled; preset: ignored)
     Active: failed (Result: exit-code) since Sat 2024-11-02 19:25:03 CDT; 286ms ago
 Invocation: 39744d68daf64c6db582bbd234ad6692
    Process: 23354 ExecStart=/nix/store/l14xa3i5ap6ln07gpb0c0wbc8lgkywd0-flatpak-managed-install (code=exited, status=1/FAILURE)
   Main PID: 23354 (code=exited, status=1/FAILURE)
         IP: 0B in, 0B out
   Mem peak: 4.6M
        CPU: 26ms

Nov 02 19:25:03 amd systemd[1]: Starting flatpak-managed-install.service...
Nov 02 19:25:03 amd l14xa3i5ap6ln07gpb0c0wbc8lgkywd0-flatpak-managed-install[23357]: error: Can't load uri https://dl.flathub.org/repo/flathub.flatpakrepo: While fetching https://dl.flathub.org/repo/flathub.flatpakrepo: [6] Could not resolve hostname
Nov 02 19:25:03 amd systemd[1]: flatpak-managed-install.service: Main process exited, code=exited, status=1/FAILURE
Nov 02 19:25:03 amd systemd[1]: flatpak-managed-install.service: Failed with result 'exit-code'.
Nov 02 19:25:03 amd systemd[1]: Failed to start flatpak-managed-install.service.
warning: error(s) occurred while switching to the new configuration

@dezren39
Copy link
Author

dezren39 commented Nov 3, 2024

Duplicate of #45

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

No branches or pull requests

1 participant