appcenter icon indicating copy to clipboard operation
appcenter copied to clipboard

Update fail to install

Open Imauny opened this issue 2 years ago • 8 comments

In the App Center I clicked on an update and a few seconds later I get this error in the screenshot. Screenshot from 2023-02-11 15 22 24

Imauny avatar Feb 11 '23 20:02 Imauny

I also tried those options the dialog provided. They don't work.

Imauny avatar Feb 11 '23 20:02 Imauny

I ran into this same issue, except the repair dialog was not there.

Then Refreshing I get an entry for system updates. Once those are installed and I have rebooted, I can repair the runtime updates, and all is well.

But this should not really happen in the first place.

rasmus91 avatar Feb 14 '23 08:02 rasmus91

Same for me. Error message:

Aborted due to failure (While pulling runtime/org.freedesktop.Platform.GL.default/x86_64/22.08 from remote freedesktop: Validating dirtree 6e340b9cffb37a989ca544e6bb780a2c78901d3fb33738768511a30617afa01d (/files/etc/debuginfod/): Dir 0 in dirtree: Invalid NULL filename)

spotlesscoder avatar Feb 16 '23 23:02 spotlesscoder

I also see this on a fresh install of elementary OS 7.

The same error also occurs if I attempt the update via the command line:

$ flatpak update
Looking for updates…


        ID                                             Branch            Op            Remote                 Download
 1. [✗] org.freedesktop.Platform.GL.default            22.08             u             freedesktop            35.0 MB / 137.7 MB

Error: Error pulling from repo: While pulling runtime/org.freedesktop.Platform.GL.default/x86_64/22.08 from remote freedesktop: Validating dirtree 6e340b9cffb37a989ca544e6bb780a2c78901d3fb33738768511a30617afa01d (/files/etc/debuginfod/): Dir 0 in dirtree: Invalid NULL filename
Updates complete.
error: There were one or more errors

And as @rasmus91 found, I had to use the Repair option from the update GUI in order to make the error go away.

chriskilding avatar Feb 17 '23 18:02 chriskilding

Run the commands:

sudo flatpak repair
flatpak repair

See https://github.com/elementary/appcenter/issues/1981#issuecomment-1414514763

sauntor avatar Feb 18 '23 14:02 sauntor

Run the commands:

sudo flatpak repair
flatpak repair

See #1981 (comment)

Did not work for me:

[42/44] Verifying appcenter:app/io.elementary.calculator/x86_64/stable…
Marking commit as partial: 829a3f5a2607365d1fa8e6d50f85bf61d82ec0d120ecea0c1fe7f79093f5b0fa
Deleting ref appcenter:app/io.elementary.calculator/x86_64/stable due to invalid objects
[44/44] Verifying appcenter:runtime/org.gnome.Epiphany.Locale/x86_64/stable…
Checking remotes...
Pruning objects
error: No such metadata object 6e340b9cffb37a989ca544e6bb780a2c78901d3fb33738768511a30617afa01d.dirtree
Working on the system installation at /var/lib/flatpak
[32/32] Verifying appcenter:runtime/org.gnome.Epiphany.Locale/x86_64/stable…
Checking remotes...

chtpl avatar Feb 22 '23 08:02 chtpl

Run the commands:

sudo flatpak repair
flatpak repair

See #1981 (comment)

Did not work for me:

[42/44] Verifying appcenter:app/io.elementary.calculator/x86_64/stable…
Marking commit as partial: 829a3f5a2607365d1fa8e6d50f85bf61d82ec0d120ecea0c1fe7f79093f5b0fa
Deleting ref appcenter:app/io.elementary.calculator/x86_64/stable due to invalid objects
[44/44] Verifying appcenter:runtime/org.gnome.Epiphany.Locale/x86_64/stable…
Checking remotes...
Pruning objects
error: No such metadata object 6e340b9cffb37a989ca544e6bb780a2c78901d3fb33738768511a30617afa01d.dirtree
Working on the system installation at /var/lib/flatpak
[32/32] Verifying appcenter:runtime/org.gnome.Epiphany.Locale/x86_64/stable…
Checking remotes...

It's busy working to repaire the runtime, you should wait for a while, maybe take a cup of tea

sauntor avatar Jul 15 '23 12:07 sauntor

I have got the same issue... I've also done the command sudo flatpak repair flatpak repair, wait... nothing happens, decide to restart, and the song remains the same... Screenshot from 2024-01-10 12 04 18

Hugh-Sala avatar Jan 10 '24 18:01 Hugh-Sala