Update fail. Use Endless OS 3.3.19


#8
  1. Open the application called ‘Terminal’
  2. In this application run the command:

sudo grub-editenv - create

  1. Restart your computer and try to update again

#9

I ran the command but nothing happened.
After reboot nothing happened too.


#10

@wjt @ramcq Could help?


#11

here is screenshot when i try to run the command


#12

You have a Flatpak package installed from the gnome remote, but you don’t have the gnome remote configured. I think this is a bug in an OS script which switches various packages from the gnome remote to flathub.

===================
= Flatpak remotes =
===================
eos-apps     Endless Applications    https://ostree.endlessm.com/ostree/eos-apps  -             1        system 
eos-runtimes Endless OS and Runtimes https://ostree.endlessm.com/ostree/eos-amd64 -             1        system 
eos-sdk      Endless Runtime and SDK https://ostree.endlessm.com/ostree/eos-sdk   -             1        system 
flathub      Flathub                 https://dl.flathub.org/repo/                 -             1        system

====================
= Flatpak runtimes =
====================
...
org.gnome.Platform/x86_64/3.28                        gnome        919a927d133a  ?               1,3 ГБ     system 
...

Мар 05 22:23:18 endless eos-updater[908]: Fetch: failed to pull necessary new flatpaks for update: Remote "gnome" not found
Мар 05 22:23:18 endless eos-updater[908]: Changing to error state: org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code1, 1, Remote "gnome" not found

Please run the following commands:

rm -f eos-update-flatpak-repos
wget https://raw.githubusercontent.com/endlessm/eos-boot-helper/135cc5c10a1731475aa8323b576bf6beec936789/eos-update-flatpak-repos
chmod +x eos-update-flatpak-repos
sudo ./eos-update-flatpak-repos

(This fetches and runs a new version of the buggy OS script, in which I’ve tried to fix your problem.) Then collect a new eos-diagnostics file, and post it here.

Finally, try updating your system again.


#13

eos-diagnostic-190313_204343_UTC 0200.txt (655,8 КБ)


#14

hi.
i have tried to update os again but the update fail again.

I have attached a new eos-diagnostic file in a previous message


#15

hi.
Is there any solution?


closed #16

opened #17

#18

Did you try running the script I provided? What was the output?

(Sorry for the extremely long time before replying.)


#19

Hi.
Unfortunately, your script didn’t help me.

Is there any solution?
Waiting for your answer.
Thanks.


#20

Hi. I still have the same problem. i stuck on version 3.3.19. i have tried all the methods mentioned above but nothing help me.
is there any solution?


#21

Can you please:
1.) Open a Terminal and enter journalctl -f -u eos-updater
2.) Open another Terminal and enter eos-updater-ctl update
3.) Paste the output from (1) here


#22

admin@endless:~$ journalctl -f -u eos-updater
– Logs begin at Sun 2019-06-09 15:17:49 EEST. –
Июн 09 15:17:54 endless systemd[1]: Starting Endless OS Updater…
Июн 09 15:17:54 endless eos-updater[909]: Acquired a message bus connection
Июн 09 15:17:54 endless eos-updater[909]: Changing to state Ready
Июн 09 15:17:54 endless eos-updater[909]: Exporting objects
Июн 09 15:17:54 endless eos-updater[909]: Acquired the name com.endlessm.Updater
Июн 09 15:17:54 endless systemd[1]: Started Endless OS Updater.
Июн 09 15:25:49 endless eos-updater[909]: Changing to state Polling
Июн 09 15:25:49 endless eos-updater[909]: Using product branch os/eos/amd64/eos3
Июн 09 15:25:50 endless eos-updater[909]: libostree HTTP error from remote eos for https://ostree.endlessm.com/ostree/eos-amd64/objects/70/83275ee04acaf9f19fc070df8132861acb8171d18e2587efbfc06bca7f5ef7.sizes2: Server returned status 404: Not Found
Июн 09 15:25:50 endless eos-updater[909]: libostree pull from ‘eos’ for os/eos/amd64/eos3 complete
security: GPG: commit http: TLS
non-delta: meta: 3 content: 0
transfer: secs: 0 size: 1.7 kB
Июн 09 15:25:50 endless eos-updater[909]: Using product branch os/eos/amd64/eos3
Июн 09 15:25:50 endless eos-updater[909]: Using product branch os/eos/amd64/eos3
Июн 09 15:25:50 endless eos-updater[909]: libostree HTTP error from remote eos for https://ostree.endlessm.com/ostree/eos-amd64/objects/bd/139ca00437571f92aa35126da9e1cad352dd45e24b8c7b58991b09bee936b3.sizes2: Server returned status 404: Not Found
Июн 09 15:25:51 endless eos-updater[909]: libostree HTTP error from remote eos for https://ostree.endlessm.com/ostree/eos-amd64/objects/bd/139ca00437571f92aa35126da9e1cad352dd45e24b8c7b58991b09bee936b3.sig: Server returned status 404: Not Found
Июн 09 15:25:51 endless eos-updater[909]: libostree pull from ‘eos’ for os/eos/amd64/eos3a complete
security: GPG: commit http: TLS
non-delta: meta: 3 content: 0
transfer: secs: 0 size: 569 bytes
Июн 09 15:25:51 endless eos-updater[909]: Error polling for updates using libostree P2P code; falling back to old code: No collection ID set for currently booted deployment.
Июн 09 15:25:51 endless eos-updater[909]: Using product branch os/eos/amd64/eos3
Июн 09 15:25:51 endless eos-updater[909]: libostree HTTP error from remote eos for https://ostree.endlessm.com/ostree/eos-amd64/objects/70/83275ee04acaf9f19fc070df8132861acb8171d18e2587efbfc06bca7f5ef7.sizes2: Server returned status 404: Not Found
Июн 09 15:25:51 endless eos-updater[909]: libostree pull from ‘eos’ for os/eos/amd64/eos3 complete
security: GPG: commit http: TLS
non-delta: meta: 3 content: 0
transfer: secs: 0 size: 1.7 kB
Июн 09 15:25:51 endless eos-updater[909]: Using product branch os/eos/amd64/eos3
Июн 09 15:25:51 endless eos-updater[909]: Using product branch os/eos/amd64/eos3
Июн 09 15:25:51 endless eos-updater[909]: libostree HTTP error from remote eos for https://ostree.endlessm.com/ostree/eos-amd64/objects/bd/139ca00437571f92aa35126da9e1cad352dd45e24b8c7b58991b09bee936b3.sizes2: Server returned status 404: Not Found
Июн 09 15:25:51 endless eos-updater[909]: libostree HTTP error from remote eos for https://ostree.endlessm.com/ostree/eos-amd64/objects/bd/139ca00437571f92aa35126da9e1cad352dd45e24b8c7b58991b09bee936b3.sig: Server returned status 404: Not Found
Июн 09 15:25:51 endless eos-updater[909]: libostree pull from ‘eos’ for os/eos/amd64/eos3a complete
security: GPG: commit http: TLS
non-delta: meta: 3 content: 0
transfer: secs: 0 size: 569 bytes
Июн 09 15:25:51 endless eos-updater[909]: Using product branch os/eos/amd64/eos3
Июн 09 15:25:51 endless eos-updater[909]: Recording metric event 99f48aac-b5a0-426d-95f4-18af7d081c4e: (Acer, Swift SF314-52, os/eos/amd64/eos3a)
Июн 09 15:25:51 endless eos-updater[909]: Changing to state UpdateAvailable
Июн 09 15:25:54 endless eos-updater[909]: Changing to state Fetching
Июн 09 15:25:54 endless eos-updater[909]: Fetch: using old code due to lack of repo finder results
Июн 09 15:25:54 endless eos-updater[909]: Fetch: eos:os/eos/amd64/eos3a resolved to: bd139ca00437571f92aa35126da9e1cad352dd45e24b8c7b58991b09bee936b3
Июн 09 15:25:54 endless eos-updater[909]: libostree HTTP error from remote eos for https://ostree.endlessm.com/ostree/eos-amd64/objects/bd/139ca00437571f92aa35126da9e1cad352dd45e24b8c7b58991b09bee936b3.sizes2: Server returned status 404: Not Found
Июн 09 15:25:54 endless eos-updater[909]: libostree HTTP error from remote eos for https://ostree.endlessm.com/ostree/eos-amd64/objects/bd/139ca00437571f92aa35126da9e1cad352dd45e24b8c7b58991b09bee936b3.sig: Server returned status 404: Not Found
Июн 09 15:25:54 endless eos-updater[909]: libostree pull from ‘eos’ for 0 refs complete
security: GPG: commit http: TLS
non-delta: meta: 3 content: 0
transfer: secs: 0 size: 569 bytes
Июн 09 15:25:54 endless eos-updater[909]: Fetch: pull() completed
Июн 09 15:25:54 endless eos-updater[909]: Fetch: commit bd139ca00437571f92aa35126da9e1cad352dd45e24b8c7b58991b09bee936b3 cached
Июн 09 15:25:54 endless eos-updater[909]: Fetch: finished pulling using old code
Июн 09 15:25:54 endless eos-updater[909]: Fetch: pulling any necessary new flatpaks for this update
Июн 09 15:25:54 endless eos-updater[909]: 50-default.json:
Июн 09 15:25:54 endless eos-updater[909]: All flatpak ref actions that this commit wants to have applied on deployment:
- install (collection-id: com.endlessm.Apps|remote: eos-apps):app/com.endlessm.CompanionAppService/x86_64/eos3
- install (collection-id: com.endlessm.Sdk|remote: eos-sdk):runtime/org.freedesktop.Platform.Icontheme.EndlessOS/x86_64/1.0
- install (collection-id: org.flathub.Stable|remote: flathub):app/org.libreoffice.LibreOffice/x86_64/stable
- uninstall (collection-id: (null)|remote: none):app/com.endlessm.CompanionAppService/x86_64/eos3
- install (collection-id: com.endlessm.Sdk|remote: eos-sdk):app/com.endlessm.CompanionAppService/x86_64/stable
- uninstall (collection-id: (null)|remote: none):app/com.endlessm.EknServices/x86_64/eos3
- uninstall (collection-id: (null)|remote: none):app/com.endlessm.EknServices2/x86_64/stable
- uninstall (collection-id: (null)|remote: none):app/com.endlessm.EknServices3/x86_64/stable
- install (collection-id: com.endlessm.Sdk|remote: eos-sdk):app/com.endlessm.EknServicesMultiplexer/x86_64/stable
Июн 09 15:25:54 endless eos-updater[909]: Action application progresses:
(None)
Июн 09 15:25:54 endless eos-updater[909]: 50-default.json:
Июн 09 15:25:54 endless eos-updater[909]: Flatpak ref actions that need to be prepared while fetching this commit:
- install (collection-id: com.endlessm.Sdk|remote: eos-sdk):runtime/org.freedesktop.Platform.Icontheme.EndlessOS/x86_64/1.0
- install (collection-id: org.flathub.Stable|remote: flathub):app/org.libreoffice.LibreOffice/x86_64/stable
- uninstall (collection-id: (null)|remote: none):app/com.endlessm.CompanionAppService/x86_64/eos3
- install (collection-id: com.endlessm.Sdk|remote: eos-sdk):app/com.endlessm.CompanionAppService/x86_64/stable
- uninstall (collection-id: (null)|remote: none):app/com.endlessm.EknServices/x86_64/eos3
- uninstall (collection-id: (null)|remote: none):app/com.endlessm.EknServices2/x86_64/stable
- uninstall (collection-id: (null)|remote: none):app/com.endlessm.EknServices3/x86_64/stable
- install (collection-id: com.endlessm.Sdk|remote: eos-sdk):app/com.endlessm.EknServicesMultiplexer/x86_64/stable
Июн 09 15:25:56 endless eos-updater[909]: Remote none did not have a summary cache or app/com.endlessm.CompanionAppService/x86_64/eos3 was not found in it, assuming that app/com.endlessm.CompanionAppService/x86_64/eos3 does not have a runtime
Июн 09 15:25:56 endless eos-updater[909]: Remote none did not have a summary cache or app/com.endlessm.EknServices/x86_64/eos3 was not found in it, assuming that app/com.endlessm.EknServices/x86_64/eos3 does not have a runtime
Июн 09 15:25:56 endless eos-updater[909]: Remote none did not have a summary cache or app/com.endlessm.EknServices2/x86_64/stable was not found in it, assuming that app/com.endlessm.EknServices2/x86_64/stable does not have a runtime
Июн 09 15:25:56 endless eos-updater[909]: Remote none did not have a summary cache or app/com.endlessm.EknServices3/x86_64/stable was not found in it, assuming that app/com.endlessm.EknServices3/x86_64/stable does not have a runtime
Июн 09 15:25:56 endless eos-updater[909]: Looking up flatpak remote name for collection ID com.endlessm.Sdk
Июн 09 15:25:56 endless eos-updater[909]: Failed to find a remote name for collection ID com.endlessm.Sdk: Could not find remote with collection ID ‘com.endlessm.Sdk’
Июн 09 15:25:56 endless eos-updater[909]: Looking up flatpak remote name for collection ID org.flathub.Stable
Июн 09 15:25:56 endless eos-updater[909]: Failed to find a remote name for collection ID org.flathub.Stable: Could not find remote with collection ID ‘org.flathub.Stable’
Июн 09 15:25:57 endless eos-updater[909]: libostree HTTP error from remote eos-sdk for https://ostree.endlessm.com/ostree/eos-sdk/objects/bd/9e6224cee41ae096e736e919009ce5dd6304676265d27b49d6274d5dd76834.sizes2: Server returned status 404: Not Found
Июн 09 15:25:58 endless eos-updater[909]: libostree HTTP error from remote eos-sdk for https://ostree.endlessm.com/ostree/eos-sdk/objects/bd/9e6224cee41ae096e736e919009ce5dd6304676265d27b49d6274d5dd76834.sig: Server returned status 404: Not Found
Июн 09 15:25:58 endless eos-updater[909]: libostree pull from ‘eos-sdk’ for runtime/org.freedesktop.Platform.Icontheme.EndlessOS/x86_64/1.0 complete
security: GPG: summary+commit http: TLS
non-delta: meta: 3 content: 0
transfer: secs: 1 size: 568 bytes
Июн 09 15:25:58 endless eos-updater[909]: libostree HTTP error from remote eos-sdk for https://ostree.endlessm.com/ostree/eos-sdk/objects/bd/9e6224cee41ae096e736e919009ce5dd6304676265d27b49d6274d5dd76834.sizes2: Server returned status 404: Not Found
Июн 09 15:25:58 endless eos-updater[909]: libostree HTTP error from remote eos-sdk for https://ostree.endlessm.com/ostree/eos-sdk/objects/bd/9e6224cee41ae096e736e919009ce5dd6304676265d27b49d6274d5dd76834.sig: Server returned status 404: Not Found
Июн 09 15:25:58 endless eos-updater[909]: libostree pull from ‘eos-sdk’ for runtime/org.freedesktop.Platform.Icontheme.EndlessOS/x86_64/1.0 complete
security: GPG: summary+commit http: TLS
non-delta: meta: 3 content: 0
transfer: secs: 0 size: 568 bytes
Июн 09 15:25:58 endless eos-updater[909]: flathub:runtime/org.freedesktop.Platform.html5-codecs/x86_64/18.08 already installed, updating to most recent version instead
Июн 09 15:25:58 endless eos-updater[909]: flathub:runtime/org.freedesktop.Platform.html5-codecs/x86_64/18.08 has no updates either, nothing to do
Июн 09 15:25:58 endless eos-updater[909]: flathub:runtime/org.freedesktop.Platform.Locale/x86_64/18.08 already installed, updating to most recent version instead
Июн 09 15:25:58 endless eos-updater[909]: flathub:runtime/org.freedesktop.Platform.Locale/x86_64/18.08 has no updates either, nothing to do
Июн 09 15:25:58 endless eos-updater[909]: flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/18.08 already installed, updating to most recent version instead
Июн 09 15:25:58 endless eos-updater[909]: flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/18.08 has no updates either, nothing to do
Июн 09 15:25:58 endless eos-updater[909]: flathub:runtime/org.freedesktop.Platform/x86_64/18.08 already installed, updating to most recent version instead
Июн 09 15:25:58 endless eos-updater[909]: flathub:runtime/org.freedesktop.Platform/x86_64/18.08 has no updates either, nothing to do
Июн 09 15:25:58 endless eos-updater[909]: flathub:runtime/org.libreoffice.LibreOffice.Locale/x86_64/stable already installed, updating to most recent version instead
Июн 09 15:25:58 endless eos-updater[909]: flathub:runtime/org.libreoffice.LibreOffice.Locale/x86_64/stable has no updates either, nothing to do
Июн 09 15:25:59 endless eos-updater[909]: libostree HTTP error from remote flathub for https://dl.flathub.org/repo/objects/e7/871dca5a2cb83475ba20c6b357b5b2d94b1e66760d7be2eb0e42fe13f15b7c.sizes2: Server returned status 404: Not Found
Июн 09 15:25:59 endless eos-updater[909]: libostree HTTP error from remote flathub for https://dl.flathub.org/repo/objects/e7/871dca5a2cb83475ba20c6b357b5b2d94b1e66760d7be2eb0e42fe13f15b7c.sig: Server returned status 404: Not Found
Июн 09 15:25:59 endless eos-updater[909]: libostree pull from ‘flathub’ for app/org.libreoffice.LibreOffice/x86_64/stable complete
security: GPG: summary+commit http: TLS
non-delta: meta: 3 content: 0
transfer: secs: 0 size: 569 bytes
Июн 09 15:26:00 endless eos-updater[909]: flathub:runtime/org.gnome.Platform.Locale/x86_64/3.28 already installed, updating to most recent version instead
Июн 09 15:26:00 endless eos-updater[909]: flathub:runtime/org.gnome.Platform.Locale/x86_64/3.28 has no updates either, nothing to do
Июн 09 15:26:00 endless eos-updater[909]: flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/1.6 already installed, updating to most recent version instead
Июн 09 15:26:00 endless eos-updater[909]: flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/1.6 has no updates either, nothing to do
Июн 09 15:26:00 endless eos-updater[909]: eos-sdk:runtime/com.endlessm.CompanionAppService.Locale/x86_64/stable already installed, updating to most recent version instead
Июн 09 15:26:00 endless eos-updater[909]: eos-sdk:runtime/com.endlessm.CompanionAppService.Locale/x86_64/stable has no updates either, nothing to do
Июн 09 15:26:00 endless eos-updater[909]: flathub:runtime/org.gnome.Platform/x86_64/3.28 already installed, updating to most recent version instead
Июн 09 15:26:00 endless eos-updater[909]: Fetch: failed to pull necessary new flatpaks for update: Remote “gnome” not found
Июн 09 15:26:00 endless eos-updater[909]: Changing to error state: org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code1, 1, Remote “gnome” not found


#23

Please try:

sudo bash
systemctl stop eos-updater
ostree admin set-origin eos https://ostree.endlessm.com/ostree/eos-amd64  os/eos/amd64/eos3a
systemctl start eos-updater
eos-updater-ctl update

This should ensure that your system looks at the correct location for updates and will push you to the current version - 3.5.9 at the moment, 3.6.0 soon.


#24

admin@endless:~$ sudo bash
root@endless:~# systemctl stop eos-updater
root@endless:~# ostree admin set-origin eos https://ostree.endlessm.com/ostree/eos-amd64 os/eos/amd64/eos3a
root@endless:~# systemctl start eos-updater
root@endless:~# eos-updater-ctl update
Changed state to Polling
Changed state to UpdateAvailable
======= Properties =======
State: Polling
CurrentID: ‘7083275ee04acaf9f19fc070df8132861acb8171d18e2587efbfc06bca7f5ef7’
DownloadSize: int64 0
DownloadedBytes: int64 0
ErrorCode: uint32 0
ErrorMessage: ‘’
ErrorName: ‘’
FullDownloadSize: int64 0
FullUnpackedSize: int64 0
OriginalRefspec: ‘’
UnpackedSize: int64 0
UpdateID: ‘’
UpdateLabel: ‘’
UpdateMessage: ‘’
UpdateRefspec: ‘’

Changed state to Fetching
Changed state to Error
======= Properties =======
State: Fetching
CurrentID: ‘7083275ee04acaf9f19fc070df8132861acb8171d18e2587efbfc06bca7f5ef7’
DownloadSize: int64 0
DownloadedBytes: int64 569
ErrorCode: uint32 0
ErrorMessage: ‘’
ErrorName: ‘’
FullDownloadSize: int64 1433835620
FullUnpackedSize: int64 3413080197
OriginalRefspec: ‘eos:os/eos/amd64/eos3a’
UnpackedSize: int64 0
UpdateID: ‘bd139ca00437571f92aa35126da9e1cad352dd45e24b8c7b58991b09bee936b3’
UpdateLabel: ‘190511-135626’
UpdateMessage: ‘Built with eos-ostree-builder Release_3.5.8’
UpdateRefspec: ‘eos:os/eos/amd64/eos3a’

Traceback (most recent call last):
File “/usr/bin/eos-updater-ctl”, line 355, in
main()
File “/usr/bin/eos-updater-ctl”, line 351, in main
sys.exit(args.function(**args_dict))
File “/usr/bin/eos-updater-ctl”, line 190, in command_update
apply_result = command_apply(block=True, quiet=quiet)
File “/usr/bin/eos-updater-ctl”, line 177, in command_apply
return command_dbus(‘apply’, block, quiet)
File “/usr/bin/eos-updater-ctl”, line 145, in command_dbus
proxy.call_sync(‘com.endlessm.Updater.’ + function_name, None, 0, -1, None)
GLib.Error: g-io-error-quark: GDBus.Error:com.endlessm.Updater.Error.WrongState: Can’t call Apply() while in state Error (36)


#25

i have tried and nothing changed.
the result is in the previous message.


#26

Please can you provide the output of running the script I provided?

rm -f eos-update-flatpak-repos
https://raw.githubusercontent.com/endlessm/eos-boot-helper/eos3.3/eos-update-flatpak-repos
chmod +x eos-update-flatpak-repos
sudo ./eos-update-flatpak-repos

I know you ran this before, but without knowing what the output was, it’s not really possible to help further. On this thread it did the trick for someone with (what seemed to be) exactly the same problem with the missing gnome remote.


#27

i don’t know how but my os is updated to 3.6.0.
maybe because of i have changed the region and language from Ukraine to other countries.