I'd like to upgrade Ubuntu to 22.04, but I get the following error:
The upgrade has aborted. The upgrade needs a total of 11,4 G free
space on disk '/'. Please free at least an additional 2 817 M of disk
space on '/'. Empty your trash and remove temporary packages of
former installations using 'sudo apt-get clean'.
I did all this, and more, but I still need to somehow get 3 GB of disk space on '/'. When I removed this much in my '~' folder, it didn't seem to matter, i.e. somehow '~' does not seem to use disk space on '/' and thus freeing disk space here won't matter for my update.
I tried to use the tool gparted
for this, but this confirms that already all of my disk space is for Ubuntu (and I cannot seem to partition further than that, like giving more to '/' and less to '~').
My question is: how to make it so Ubuntu uses some of my free disk space from '~', because I cannot free more from '/'?
EDIT: requested output of df -h
df: /root/.cache/doc: Operation not permitted
Filesystem Size Used Avail Use% Mounted on
udev 7,6G 0 7,6G 0% /dev
tmpfs 1,6G 19M 1,6G 2% /run
/dev/mapper/crypt-root 46G 36G 8,1G 82% /
tmpfs 7,7G 0 7,7G 0% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 7,7G 0 7,7G 0% /sys/fs/cgroup
/dev/loop4 56M 56M 0 100% /snap/core18/2560
/dev/loop6 114M 114M 0 100% /snap/core/13425
/dev/loop8 83M 83M 0 100% /snap/discord/141
/dev/loop7 64M 64M 0 100% /snap/core20/1623
/dev/loop1 128K 128K 0 100% /snap/bare/5
/dev/loop9 71M 71M 0 100% /snap/core22/188
/dev/loop10 23M 23M 0 100% /snap/dm-tools/164
/dev/loop17 165M 165M 0 100% /snap/gnome-3-28-1804/161
/dev/loop19 141M 141M 0 100% /snap/skype/226
/dev/loop22 92M 92M 0 100% /snap/gtk-common-themes/1535
/dev/loop23 347M 347M 0 100% /snap/gnome-3-38-2004/115
/dev/loop24 128K 128K 0 100% /snap/leagueoflegends/65
/dev/loop25 346M 346M 0 100% /snap/telegram-desktop/4116
/dev/loop28 251M 251M 0 100% /snap/zoom-client/170
/dev/loop32 219M 219M 0 100% /snap/gnome-3-34-1804/77
/dev/loop36 261M 261M 0 100% /snap/kde-frameworks-5-core18/32
/dev/sda1 921M 116M 742M 14% /boot
/dev/mapper/crypt-home 418G 56G 341G 15% /home
/dev/mapper/crypt-tmp 2,7G 31M 2,5G 2% /tmp
tmpfs 1,6G 152K 1,6G 1% /run/user/1001
/dev/loop37 46M 46M 0 100% /snap/snap-store/592
/dev/loop29 143M 143M 0 100% /snap/chromium/2082
/dev/loop0 104M 104M 0 100% /snap/julia/51
EDIT2: screenshot of gparted
df -h
(use the edit button)