5.2.3 broken via flathub/flatpak

Hi,

who is building and providing the flathub/flatpak packages? I can’t update because of checksum mismatches.

# sudo flatpak update
Looking for updates…


        KENNUNG                             Zweig           Op          Remote           Download
 1. [✗] org.gramps_project.Gramps           stable          u           flathub          10,8 MB / 61,6 MB

Error: Während des Holens von app/org.gramps_project.Gramps/x86_64/stable von der entfernten Quelle flathub:
 opcode close:
 Corrupted file object; checksum
 expected='e8f9e2c0fdf5cdab3a1a8881131714ba9da284edc2ee03e4f69d07500e6d1903'
 actual='cbb1326761042578715fa05cb896fa6e5bcacc003f7b7a0acd1f36b660a9801a'
Updates complete.

The package maintainers are listed in the Gramps Team at:

https://gramps-project.org/wiki/index.php/Team#Package_Maintainers

But a checksum mismatch is worriesome. Maybe the repository has a bad (or malignant) copy of the package?

I don’t know if @S.Mackay is aware of this yet.

1 Like

It is an old flatpak bug that apparently happens when a file gets corrupted during download. Try
flatpak repair
From my google search of “Corrupted file object: checksum flatpak” it appears that sometimes the flatpak repair might work, but usually the corrupted flatpak has to be removed and reinstalled
flatpak remove org.gramps_project.Gramps
flatpak install org.gramps_project.Gramps

2 Likes

Flatpack repair did the job. The error is gone. I apparently caused this issue myself because I made a modification in one of thy Python files in the past. (I added baptism in the order of “next” events when adding a new event to a person because birth, death, burrial is missng baptism for my culture).

It never occured to me that this could have been the issue after trying to understand the error message. It really read as a remote problem… sorry for the trouble.

1 Like