I’m trying to free up some space to install the new OS but I failed. I found a post that I followed but it didn’t work well. Now I have this message when I use this:
sudo ostree admin undeploy 1
error: Out of range deployment index 1, expected < 1
I’m completely newbie with linux so if you submit an answer. Please make it clear
this should output something like the snippet below, which shows your current ostree deployments:
* eos eb9f7ea30402acd57d61f2876bddca5f31572ed67f064f71a001b58cc50d4e1e.0
Version: 3.6.1~beta2
origin refspec: eos:os/eos/amd64/eos3a
GPG: Signature made Mon 08 Jul 2019 04:11:09 PM CEST using RSA key ID FCF17B17F1F8E157
GPG: Good signature from “EOS Flatpak Signing Key 1 maintainers@endlessm.com”
eos 2c3260ce0be170070cc5cb1fd13a60121f6cd83fe7c3ef97dc0ad71b4ecf2410.0 (rollback)
Version: 3.6.1~beta1
origin refspec: eos:os/eos/amd64/eos3a
GPG: Signature made Mon 24 Jun 2019 07:09:20 PM CEST using RSA key ID FCF17B17F1F8E157
GPG: Good signature from “EOS Flatpak Signing Key 1 maintainers@endlessm.com”
The indexing begins from 0, so if you want to delete the 2nd deployment, run:
This is what I got:
eos 69a7e41d355e97c2e3ec6e2fe5c9f772130fcd2a624ce3216f9947b5406e4473.0
Version: 3.5.4
origin refspec: eos:os/eos/amd64/eos3a
GPG: Signature made 2019. jan. 11., péntek, 00:09:59 CET using RSA key ID 9E08D8DABA02FC46
GPG: BAD signature from "EOS OSTree Signing Key 1 maintainers@endlessm.com
The device which has EOS installed is 16 GB in size from what i see. Do you have installed EOS to a USB Stick? If yes: I would highly recommend using a larger one, as i don’t think you can free up the necessary space to update to the next release. In the update process you essential get a new copy of the operating systems base files which are then switched to on the next reboot.
So, even if you are going to undeploy your previous installation, there’s a time where you need the space for two installations.
I installed on a SSD(256gb). I use dual OS so my main partition is for a win10. I created this small partition to Endless. I need only the basic apps so I chose this small portion.
Actually this 16gb is occupied by EOS earlier updates -I guess- . If I could delete those old files, I can update a system, could I?
Old updates should be visible using ostree admin status, but this shows only one installation in your case, so this will not bring us further. Do you have any personal files on the installation which you can move temporarily to another location?
To find the size of a entire directory tree, use du --max-depth=1 -h / and work through it.
I do not have any personal files. I ran du --max-depth=1 -h / but all of the rows come with “access denied” and “library is not readable” I do not copy the whole beacuse it is quite long.
It begins:
du: a következő könyvtár nem olvasható: ‘/sys/kernel/debug’: Engedély megtagadva
du: a következő könyvtár nem olvasható: ‘/sys/fs/pstore’: Engedély megtagadva
du: a következő könyvtár nem olvasható: ‘/sys/fs/bpf’: Engedély megtagadva
du: a következő könyvtár nem olvasható: ‘/sys/fs/fuse/connections/8388609’: Engedély megtagadva
0 /sys
4,0K /srv
45M /boot
4,0K /mnt
…
and ends:
du: a következő könyvtár nem olvasható: ‘/sysroot/home/shared’: Engedély megtagadva
12G /sysroot
237G /
I deleted the OS. I reinstalled (3.6.1) and when I boot it, it opens the emergency shell. Whatever I do, doesn’t work. Need to restart, but the outcome is still the same
I deleted the system and reinstalled on a bigger partition (32gb) it solved my issue. Also, the emergency shell issue at booting is solved. It happened due to a missing log. Thank you for your support