flathub / org.freefilesync.FreeFileSync

https://flathub.org/apps/details/org.freefilesync.FreeFileSync
102 stars 19 forks source link

merge beta to master #98

Closed kparal closed 1 year ago

kparal commented 1 year ago

This also switches the tarball source URL back to FFS upstream, instead of a private mirror. It seems that (hopefully) the upstream now works OK with curl downloads, and also Ubuntu-based distros had SSL errors with fedorapeople.org for some reason (#96).

Another change is that p7zip github project was renamed, accommodate.

Related: https://github.com/flathub/org.freefilesync.FreeFileSync/issues/96

flathubbot commented 1 year ago

Started test build 19134

flathubbot commented 1 year ago

Build 19134 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/1764/org.freefilesync.FreeFileSync.flatpakref
Garbulix commented 1 year ago

I've uninstalled and tried to install it again and I again saw this error - see attached log file (there is some polish language but I hope you will understand it anyway).

I've also tested the program - it works okay.

logue.txt

kparal commented 1 year ago

Thanks. I managed to reproduce it again here as well, here's the english version:

$ flatpak install -v flathub-beta org.freefilesync.FreeFileSync
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/kparal/.local/share/flatpak
Looking for matches…
F: Fetching summary index file for remote ‘flathub-beta’
F: Loading https://dl.flathub.org/beta-repo/summary.idx using curl
F: Received 2687 bytes
F: Loaded indexed summary file 46361439ff6425b16a1a11ea5d658f7639f40ee19ab5d2e22a1b1cfd32021eaa from cache for remote ‘flathub-beta’
F: Transaction: install flathub-beta:app/org.freefilesync.FreeFileSync/x86_64/beta[*]
F: Looking for remote metadata updates for flathub-beta
F: marking op install:app/org.freefilesync.FreeFileSync/x86_64/beta resolved to c5236465c55b029330ac96db3c7d99449c360b6ec3e1a402369abb21b66a887b
F: Updating dependency org.gnome.Platform/x86_64/43 of org.freefilesync.FreeFileSync/x86_64/beta
F: Transaction: update flathub:runtime/org.gnome.Platform/x86_64/43[$old]
F: Fetching summary index file for remote ‘flathub’
F: Loading https://dl.flathub.org/repo/summary.idx using curl
F: Received 2737 bytes
F: Loaded indexed summary file 9c15250589acbce4957d3ff4b54b2b039dea3b3b33bea0d0855156c8abd8562e from cache for remote ‘flathub’
F: marking op update:runtime/org.gnome.Platform/x86_64/43 resolved to ff25bb0c5f8225e73b43cf40669f5935f68bbde67b00871e13f6c1261d6dc966
F: Transaction: install/update flathub:runtime/org.gnome.Platform.Locale/x86_64/43[/en]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/22.08[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/22.08-extra[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.VulkanLayer.MangoHud/x86_64/22.08[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/22.08[*]
F: Transaction: install/update flathub:runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0[*]
F: Transaction: install/update flathub-beta:runtime/org.freefilesync.FreeFileSync.Locale/x86_64/beta[/en]
F: marking op install/update:runtime/org.freefilesync.FreeFileSync.Locale/x86_64/beta resolved to e2d22e8ca81b517a9ca2182c6d1e4be33cbea6665438af6599712c5fb97a23bd
F: marking op install/update:runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0 resolved to 435b1135f46af01c742f7680e92a2ca2b63ef7f5cb6b75030caff3cdd80481a9
F: marking op install/update:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/22.08 resolved to 8bec5278a34111936e1a3987fccf5640dcf62c18c1cd23db851d1545ee553f9e
F: marking op install/update:runtime/org.freedesktop.Platform.VulkanLayer.MangoHud/x86_64/22.08 resolved to 8beb6d3ed14951c1b06bfffc0c91527e293a08c689393574ef3bbc73e90f2908
F: marking op install/update:runtime/org.freedesktop.Platform.GL.default/x86_64/22.08-extra resolved to 4c6ff4f8c2418f647a814fd14d8c7500d1de7bfd14f10c192eb96a9f638762cf
F: marking op install/update:runtime/org.freedesktop.Platform.GL.default/x86_64/22.08 resolved to bf66cf0adc4293974c628834984b689549fb0906036f6af7bbc62f4d458d516a
F: marking op install/update:runtime/org.gnome.Platform.Locale/x86_64/43 resolved to fc087c0ae810666d705b0d35338cbc8e57872c349b98e8c3b7060700616d4c45

org.freefilesync.FreeFileSync permissions:
    ipc network pulseaudio  x11 file access [1] dbus access [2]

    [1] host, xdg-run/gvfs, xdg-run/gvfsd
    [2] org.gtk.vfs.*

 1.     org.freefilesync.FreeFileSync.Locale    beta    i   flathub-beta    < 6,2 MB (partial)
 2.     org.freefilesync.FreeFileSync   beta    i   flathub-beta    < 36,0 MB

Proceed with these changes to the system installation? [Y/n]: 
Installing 1/2…
F: Calling system helper: GetRevokefsFd
F: Calling system helper: GetRevokefsFd
F: flatpak_dir_pull: Using commit e2d22e8ca81b517a9ca2182c6d1e4be33cbea6665438af6599712c5fb97a23bd for pull of ref runtime/org.freefilesync.FreeFileSync.Locale/x86_64/beta from remote flathub-beta
Installing 1/2…                        0%  0 bytes/s
Installing 1/2… ████████████████████ 100%
F: Calling system helper: Deploy
Installing 2/2…
F: Calling system helper: GetRevokefsFd
F: Calling system helper: GetRevokefsFd
F: flatpak_dir_pull: Using commit c5236465c55b029330ac96db3c7d99449c360b6ec3e1a402369abb21b66a887b for pull of ref app/org.freefilesync.FreeFileSync/x86_64/beta from remote flathub-beta
Installing 2/2…                        0%  0 bytes/s
Installing 2/2… ██▍                   12%
Installing 2/2… ████                  20%
Installing 2/2… ████                  20%
Installing 2/2… ████▍                 22%  5,6 MB/s
Installing 2/2… ████▍                 22%  5,6 MB/s
F: Loading https://freefilesync.org/download/FreeFileSync_12.0_Linux.tar.gz using curl
Installing 2/2… ████▍                 22%  2,8 MB/s
F: Received 54023 bytes
F: Calling system helper: CancelPull
F: Calling system helper: CancelPull
Error: Wrong size for extra data https://freefilesync.org/download/FreeFileSync_12.0_Linux.tar.gz
error: Failed to install org.freefilesync.FreeFileSync: Wrong size for extra data https://freefilesync.org/download/FreeFileSync_12.0_Linux.tar.gz

Second attempt worked again. I also managed to retrieve the contents of the first failed attempt, by connecting via ssh to a machine in a different location and running:

curl --location --remote-name 'https://freefilesync.org/download/FreeFileSync_12.0_Linux.tar.gz'

The content is here (zipped): error.zip

It's simply the download page served as html. Second attempt always works fine, and the situation resets after some time. It's either a problem of the server or intentional way to break remote downloads. Either way, it seems we're still forced to re-upload the archives somewhere else. I'll try this github project, hopefully that works for Ubuntu users.

flathubbot commented 1 year ago

Started test build 19619

kparal commented 1 year ago

I uploaded the FFS archive here into this Github project, that should hopefully work.

flathubbot commented 1 year ago

Build 19619 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/2250/org.freefilesync.FreeFileSync.flatpakref