On 2018-08-20 15:46, jdd@dodin.org wrote:
Le 20/08/2018 à 15:37, Knurpht-openSUSE a écrit :
If the install is >8GB there's more installed than just icewm. What you can do, is remove previous kernels, and some huge packages ( Libreoffice f.e. ).
I already removed all kde*, gnome*, gtk*. Replaced Firefox by Chromium (not sure it's better).
it's an upgrade of upgrade... so may be there are some lost files
LibreOffice is very commonly installed by several patterns, but it makes sense to remove it on small test/rescue partitions. Check for it. Big. There is no sort by size, though. Let me see... cer@Telcontar:~> rpm --querytags | grep -i size ARCHIVESIZE FILESIZES LONGARCHIVESIZE LONGFILESIZES LONGSIGSIZE LONGSIZE SIGSIZE SIZE cer@Telcontar:~> rpm -q -a --queryformat "%{SIZE}\t%{INSTALLTIME:day} \ %{BUILDTIME:day}\t %{SIZE}\t %{ARCHIVESIZE}\t %{FILESIZES}\t %{LONGARCHIVESIZE}\t %{LONGFILESIZES}\t %{LONGSIZE}\t %-30{NAME}\t%15{VERSION}-%-7{RELEASE}\t%{arch} \ %25{VENDOR}%25{PACKAGER} == %{DISTRIBUTION} %{DISTTAG}\n" | sort | cut --fields="2-" | tee rpmlist | less -S end of list: SIZE ARCHIVESIZE FILESIZES LONGARCHIVESIZE LONGFILESIZES LONGSIZE Sun Apr 22 2018 Mon Apr 09 2018 999007 1010372 6448 1010372 6448 999007 yast2-users 3.2.15-2.6.1 x86_64 Mon Feb 05 2018 Tue May 09 2017 9991449 10083300 4096 10083300 4096 9991449 geda-doc 1.8.2-6.4 noarch Mon Feb 05 2018 Thu May 18 2017 999528 1001044 18 1001044 18 999528 libgdata22 0.17.5-3.4 x86_64 Mon Feb 05 2018 M on Jul 17 2017 999640 1002456 892272 1002456 892272 999640 hexchat 2.12.0-3.3 x86_64 The sort is somehow failing - alphabetical sort? Ah, use "--numeric-sort" rpm -q -a --queryformat "%{SIZE}\t%{INSTALLTIME:day} \ %{BUILDTIME:day}\t %{SIZE}\t %{ARCHIVESIZE}\t %{FILESIZES}\t %{LONGARCHIVESIZE}\t %{LONGFILESIZES}\t %{LONGSIZE}\t %-30{NAME}\t%15{VERSION}-%-7{RELEASE}\t%{arch} \ %25{VENDOR}%25{PACKAGER} == %{DISTRIBUTION} %{DISTTAG}\n" | sort --numeric-sort | cut --fields="2-" | tee rpmlist | less -S Fri May 25 2018 Wed May 23 2018 561589670 564219600 4096 564219600 4096 561589670 lazarus 1.8.4-19.1 x86_64 Thu Jun 28 2018 Mon Jun 18 2018 575009182 582428936 4096 582428936 4096 575009182 kernel-source 4.4.138-59.1 noarch Mon Aug 06 2018 Thu Jul 19 2018 575078184 582498068 4096 582498068 4096 575078184 kernel-source 4.4.140-62.2 noarch Mon Feb 05 2018 Fri Apr 07 2017 954341469 955523444 4096 955523444 4096 954341469 kicad-library 4.0.6-1.1 noarch Thu Jun 14 2018 Tue Jun 27 2017 2034836747 2049380832 4096 2049380832 4096 2034836747 FlightGear-data 2017.1.2-2.1 noarch YES! This is much better. I'm unsure which size token to choose, though. We want installed size. Select one, then use it like this: rpm -q -a --queryformat "%{***************}\t%{INSTALLTIME:day} \ %{BUILDTIME:day}\t %{***********}\t %-30{NAME}\t%15{VERSION}-%-7{RELEASE}\t%{arch} \ %25{VENDOR}%25{PACKAGER} == %{DISTRIBUTION} %{DISTTAG}\n" | sort | cut --fields="2-" | tee rpmlist | less -S Alternatively: rpm -q -a --queryformat "%{INSTALLTIME};%{INSTALLTIME:day};%{BUILDTIME:day}; \ %{ARCHIVESIZE};%{FILESIZES};%{LONGARCHIVESIZE};%{LONGFILESIZES};%{LONGSIZE}; \ %{NAME};%{VERSION}-%-7{RELEASE};%{arch}; \ %{VENDOR};%{PACKAGER};%{DISTRIBUTION};%{DISTTAG}\n" \ | sort | cut --fields="2-" --delimiter=\; \ | tee rpmlist.csv | less -S This generates a csv file that can be imported to calc, then sorted at will. HTH :-)) -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)