Unable to update Endless OS: disk is full

Hello,
I am unable to update the EndlessOS in my “egg”, I suspect it’s because the system is running out of space (it says that at every boot), but I don’t know how to free it up.
There are some apps I don’t use, but I don’t know how to remove them…
Here attached is my diagnostic file.
eos-diagnostic-180725_202456_UTC 0200.txt (333,0 KB)

Thanks in advance!

Hi @Ulisse

We are sorry to hear that you are facing this issue.

Thanks for the diagnostic, it seems that you have the 32GB Endless One model.

Please allow us to verify if there is anything we can do in order to free some space, but please consider that this model is divided on 2 disks.

  • The first one of 15GB which is an emmc disk.
  • The second one of 15GB which is an sd card which stores all the encyclopedias.

The one that should be full by now is the first one, if you still have some files saved, please try to erase them and try to update one more time.

Please allow us to come back with you as soon as we have a solution for this.

Best,

Hi,

You’re right that the problem is that you do not have enough disk space to install the update:

lug 25 20:01:59 endless eos-updater[1231]: Fetch: error pulling using old code: Delta requires 2,1 GB free space, but only 784,9 MB available
lug 25 20:01:59 endless eos-updater[1231]: Changing to error state: com.endlessm.Updater.Error.Fetching, 5, Error fetching update: Delta requires 2,1 GB free space, but only 784,9 MB available

Let’s try to find a bit of extra space. Open a Terminal window. First, run this command to erase the backup copy of the previous version of Endless OS (more details here):

sudo ostree admin undeploy 1

Now run the following three commands and send us the output of each one:

df -h /
sudo du -hxd1 /home /var
ostree refs

Ok, command ran, it freed about 650 Mb, here is the output of the other three commands:
paolo@endless:~$ df -h /
File system Dim. Usati Dispon. Uso% Montato su
/dev/mmcblk0p2 15G 13G 1,7G 89% /
paolo@endless:~$ sudo du -hxd1 /home /var
[sudo] password for paolo:
0 /home
9,7M /var/spool
472K /var/roothome
11M /var/tmp
16M /var/cache
2,3M /var/log
30M /var/endless-content
81M /var/lib
1,8M /var/local
8,0K /var/opt
151M /var
paolo@endless:~$ ostree refs
ostree/1/1/0
eos:os/eos/amd64/eos3
local:factory
eos:os/eos/amd64/eos3a
eos:eos2/i386

Still no luck in installing the update…

Interesting. Please try running these commands:

sudo ostree refs --delete local:factory eos:eos2/i386
sudo ostree prune

and post the output here. I hope this will free some space.

The first comma d gives no output, the seconds gave this:
Total objects: 268875
No unreachable objects

Df still shows only 1,6G available on /

That’s surprising: what does ostree refs show you now?

Assuming local:factory and eos:eos2/i386 are not shown in the output of ostree refs, @ramcq tells me you may have more luck by running this:

sudo ostree refs --delete local:factory eos:eos2/i386
sudo ostree prune --refs-only
paolo@endless:~$ ostree refs
ostree/1/1/0
eos:os/eos/amd64/eos3
eos:os/eos/amd64/eos3a
paolo@endless:~$ sudo ostree prune --refs-only
[sudo] password for paolo: 
Total objects: 268875
Deleted 133301 objects, 6,3 GB freed

YAY!!!
Thanks guys, now I think that the update will work!

1 Like