Cannot update from 2.5.5 to 2.6.10


#1

Please attach the eos-diagnostic log file for any Endless OS problems, and a screenshot or camera image of the error message itself.

To generate an eos-diagnostic file:

  1. Open the application called ‘Terminal’. You can search for it by typing into the search bar on the desktop.
  2. In the Terminal, type the command: eos-diagnostics
  3. The above command will create a file with the information of your system (example: eos-diagnostic-160614_111731_UTC + 0100.txt); Send us this file so we can analyze it and seek a possible solution

#2

eos-diagnostic-181217_163633_UTC-0600.txt (1.7 MB)

jerry@endless:~$ rm -f eos-upgrade-eos2-to-eos3
jerry@endless:~$ wget https://raw.githubusercontent.com/endlessm/eos-customer-support/master/eos-upgrade-eos2-to-eos3
–2018-12-17 16:51:33-- https://raw.githubusercontent.com/endlessm/eos-customer-support/master/eos-upgrade-eos2-to-eos3
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.184.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.184.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 11821 (12K) [text/plain]
Saving to: ‘eos-upgrade-eos2-to-eos3’

100%[======================================>] 11,821 --.-K/s in 0.001s

2018-12-17 16:51:34 (18.5 MB/s) - ‘eos-upgrade-eos2-to-eos3’ saved [11821/11821]
jerry@endless:~$ chmod +x eos-upgrade-eos2-to-eos3
jerry@endless:~$ sudo ./eos-upgrade-eos2-to-eos3
[sudo] password for jerry:
This script only works with Endless OS version 2.6.10
Please update the OS and try again

When I try to update: Endless 2.5.5 - Update Failed


#3
Dec 17 15:50:48 endless eos-autoupdater[21053]: ** Message: EOS updater state is: 1
Dec 17 15:50:48 endless eos-autoupdater[21053]: ** Message: EOS updater state is: 3
Dec 17 15:50:48 endless eos-autoupdater[21053]: ** Message: EOS updater state is: 2
Dec 17 15:50:48 endless eos-autoupdater[21053]: EOS updater error (code:1): GPG verification enabled, but no signatures found (use gpg-verify=false in remote config to disable)
Dec 17 15:50:48 endless systemd[1]: eos-autoupdater.service: main process exited, code=exited, status=1/FAILURE
Dec 17 15:50:48 endless systemd[1]: Unit eos-autoupdater.service entered failed state.

Please could you attach the file /ostree/repo/config here?


#4

Here is /ostree/repo/config:

[core]
repo_version=1
mode=bare

[remote “eos”]
url=http://endless:upgtnFSxLoDfUJnt@ostree.endlessm.com/ostree/eos-i386
branches=eos2/i386;


#5

Here is /ostree/repo/config:

[core]
repo_version=1
mode=bare

[remote “eos”]
url=http://endless:upgtnFSxLoDfUJnt@ostree.endlessm.com/ostree/eos-i386
branches=eos2/i386;


#6

Is there any other information that I can post that will help with this?

I would really like to get my Endless One up to the latest version.


#7

Hi @pentacon, it’s possible you’ve run into an obscure (now fixed fixed) bug where ostree caches some invalid files and that stops it from updating. Try running sudo rm /ostree/repo/tmp/cache/summaries/* and then retry the update from the Settings -> Details. If that fails, get a new diagnostics file and attach it, and also show us show the output of md5sum /usr/share/ostree/trusted.gpg.d/eos-ostree-keyring.gpg.


#8

erry@endless:~$ sudo rm /ostree/repo/tmp/cache/summaries/*
[sudo] password for jerry:
rm: cannot remove ‘/ostree/repo/tmp/cache/summaries/*’: No such file or directory
jerry@endless:~$ cd /ostree/repo/tmp/cache/summaries/
bash: cd: /ostree/repo/tmp/cache/summaries/: No such file or directory
jerry@endless:~$ cd /ostree/repo/tmp/cache
bash: cd: /ostree/repo/tmp/cache: No such file or directory
jerry@endless:~$ cd /ostree/repo/tmp
jerry@endless:/ostree/repo/tmp$ dir
tmpobjects-1c30a62b-01e9-421b-96c8-f33ac8d8d898
jerry@endless:/ostree/repo/tmp$


#9

jerry@endless:/ostree/repo/tmp$ md5sum /usr/share/ostree/trusted.gpg.d/eos-ostree-keyring.gpg
6ac0853b45b19099f135500cd4ea6e6c /usr/share/ostree/trusted.gpg.d/eos-ostree-keyring.gpg
jerry@endless:/ostree/repo/tmp$


#10

eos-diagnostic-190103_190158_UTC-0600.txt (578.8 KB)


#11

jerry@endless:~$ eos-updater-ctl poll
jerry@endless:~$ eos-updater-ctl
======= Properties =======
State: Error
CurrentID: ‘57893bb4bb12c89e4ae49f4216c6422babe38a3e21ad6fa9527ca19f2454c2ff’
DownloadSize: int64 0
DownloadedBytes: int64 0
ErrorCode: uint32 1
ErrorMessage: ‘GPG verification enabled, but no signatures found (use gpg-verify=false in remote config to disable)’
FullDownloadSize: int64 0
FullUnpackedSize: int64 0
UnpackedSize: int64 0
UpdateID: ‘’
UpdateLabel: ‘’
UpdateMessage: ‘’


#12

I have attached and listed the items requested, what else can I do?


#13

Are there any other ideas on getting my Endless to update to 2.6 so I may then get to 3.xx?


#14

Sorry for the long silence. Actually, I don’t think those cache files are present in the version of ostree in eos2.5.x.

Could you try running this:

sudo ostree admin update --verbose 2>&1 | tee ostree-admin-update.log

Then attaching the resulting file, ostree-admin-update.log, to this thread.


closed #15