Disk Full: Remove unused Packages

Hello everybody,

I use IP Fire since 2018 and it runs stable since then. I ran now into diskspace full issue.

du -h | sort -h

gives me the following top-directories:

107M    ./var/ipfire/backup
115M    ./var/ipfire
130M    ./usr/share
141M    ./lib/firmware/netronome
219M    ./var/lib/clamav
226M    ./usr/lib/locale
286M    ./var/lib
482M    ./var
570M    ./usr/lib
781M    ./lib/firmware
801M    ./usr
855M    ./lib

If I go to /lib/firmware and do a

ls -l

I see a lot of unused packages like:

-rw-r--r--  1 root root  2632620 Jun 29  2018 iwlwifi-9000-pu-b0-jf-b0-33.ucode
-rw-r--r--  1 root root  2678284 Aug 30  2018 iwlwifi-9000-pu-b0-jf-b0-34.ucode
-rw-r--r--  1 root root  2520568 Dec 14  2019 iwlwifi-9000-pu-b0-jf-b0-38.ucode
-rw-r--r--  1 root root  2620464 Dec 14  2019 iwlwifi-9000-pu-b0-jf-b0-41.ucode
-rw-r--r--  1 root root  2543536 Dec 14  2019 iwlwifi-9000-pu-b0-jf-b0-43.ucode
-rw-r--r--  1 root root  1519264 Feb  7 12:51 iwlwifi-9000-pu-b0-jf-b0-46.ucode
-rw-r--r--  1 root root  2637216 Jun 29  2018 iwlwifi-9260-th-b0-jf-b0-33.ucode
-rw-r--r--  1 root root  2678092 Aug 30  2018 iwlwifi-9260-th-b0-jf-b0-34.ucode
-rw-r--r--  1 root root  2521412 Dec 14  2019 iwlwifi-9260-th-b0-jf-b0-38.ucode
-rw-r--r--  1 root root  2620656 Dec 14  2019 iwlwifi-9260-th-b0-jf-b0-41.ucode
-rw-r--r--  1 root root  2558176 Dec 14  2019 iwlwifi-9260-th-b0-jf-b0-43.ucode
-rw-r--r--  1 root root  1490096 Feb  7 12:51 iwlwifi-9260-th-b0-jf-b0-46.ucode

how can I delete thoses unused packages to free some diskspace?

Thanks for any advice
Regards
Frieso

Probably you are using an older partitioning scheme. Even if you manage to trim a bit your system, sooner or later you will have to face the issue again. Better to adopt the new partitioning system now. The easiest way is to backup your settings, do a clean install with the most recent IPFire version and restore your settings.

4 Likes