Cannot upgrade from trisquel mini 9 to 10 due not enough space

2 respuestas [Último envío]
nparafe

I am a member!

Desconectado/a
se unió: 10/20/2020

Any thoughts about how to free space?

-----

$ sudo apt-get clean

-----

$ sudo do-release-upgrade

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done

Calculating the changes

Calculating the changes

Not enough free disk space

The upgrade has aborted. The upgrade needs a total of 4981 M free
space on disk '/'. Please free at least an additional 387 M of disk
space on '/'. Empty your trash and remove temporary packages of
former installations using 'sudo apt-get clean'.

Restoring original system state

Aborting

-----------

$sudo df -H

Filesystem Size Used Avail Use% Mounted on
udev 4,2G 0 4,2G 0% /dev
tmpfs 832M 1,5M 831M 1% /run
/dev/mapper/trisquel--vg-root 15G 9,4G 4,6G 68% /
tmpfs 4,2G 0 4,2G 0% /dev/shm
tmpfs 5,3M 4,1k 5,3M 1% /run/lock
tmpfs 4,2G 0 4,2G 0% /sys/fs/cgroup
/dev/mapper/trisquel--vg-home 482G 22G 461G 5% /home
tmpfs 832M 13k 832M 1% /run/user/1000

------
uname -a
Linux ThinkPad-X230 4.15.0-166-generic #174+9.0trisquel9 SMP Tue Jan 4 16:18:09 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

-----

dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d;/^linux-\(headers\|image\)/!d'
linux-headers-4.15.0-161
linux-headers-4.15.0-161-generic
linux-image-4.15.0-161-generic

-----

dpkg-query -Wf '${Installed-Size}\t${db:Status-Abbrev} ${Package}\n' | grep 'ii ' | sort -n | tail -n 20
26253 ii mesa-va-drivers
27483 ii libflite1
28421 ii vim-runtime
28851 ii fonts-nanum
31008 ii app-install-data
31075 ii libicu60
36183 ii mesa-vdpau-drivers
42160 ii ibus
55140 ii libwebkit2gtk-4.0-37
62781 ii linux-modules-4.15.0-161-generic
62814 ii linux-modules-4.15.0-166-generic
72359 ii libllvm10
74480 ii linux-headers-4.15.0-161
74503 ii linux-headers-4.15.0-166
89836 ii fonts-noto-cjk
176330 ii linux-modules-extra-4.15.0-161-generic
176352 ii linux-modules-extra-4.15.0-166-generic
223227 ii abrowser
243263 ii libgl1-mesa-dri

nparafe

I am a member!

Desconectado/a
se unió: 10/20/2020

OK....
So removing guix using the instructions at the bottom of the page https://www.ubuntubuzz.com/2021/04/lets-try-guix.html solved it

When the upgrade script continue I found this: https://trisquel.info/en/forum/upgrading-trisquel-mini-9-10-installs-trisquelmate-packages

andyprough
Desconectado/a
se unió: 02/12/2015

In the future, you can also invoke the Guix garbage collection to reclaim space: https://guix.gnu.org/en/manual/devel/en/html_node/Invoking-guix-gc.html#Invoking-guix-gc